Original description
Off-by-one error in the phar_parse_pharfile function in ext/phar/phar.c in PHP before 5.6.30 and 7.0.x before 7.0.15 allows remote attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via a crafted PHAR archive with an alias mismatch.
Affected software
- PHP ≥ 7.0.0 < 7.0.15≥ 7.1.0 < 7.1.1≥ 5.6.0 < 5.6.30 Fixed in: 7.0.15, 7.1.1, 5.6.30 exact match
Details
- Published
- 2017-01-25
- Last modified
- 2024-08-06
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- cve.org/CVE-2016-10160
- nvd.nist.gov/vuln/detail/CVE-2016-10160
- bugs.php.net/bug.php?id=73768
- access.redhat.com/errata/RHSA-2018:1296
- php.net/ChangeLog-5.php
- security.netapp.com/advisory/ntap-20180112-0001/
- github.com/php/php-src/commit/b28b8b2fee6dfa6fcd13305c581bb835689ac3be
- www.tenable.com/security/tns-2017-04
- www.debian.org/security/2017/dsa-3783
- security.gentoo.org/glsa/201702-29
- php.net/ChangeLog-7.php
- www.securitytracker.com/id/1037659
- www.securityfocus.com/bid/95783
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.