CVE-2016-10160
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (7.32%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 7.32% probability · 94th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-193
- Affected
- php/php · netapp/clustered data ontap · debian/debian linux
- Source
- cve@mitre.org
References
- http://php.net/ChangeLog-5.phpRelease Notes, Vendor Advisory
- http://php.net/ChangeLog-7.phpRelease Notes, Vendor Advisory
- http://www.debian.org/security/2017/dsa-3783Third Party Advisory
- http://www.securityfocus.com/bid/95783Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1037659Broken Link, Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:1296Third Party Advisory
- https://bugs.php.net/bug.php?id=73768Issue Tracking, Patch, Vendor Advisory
- https://github.com/php/php-src/commit/b28b8b2fee6dfa6fcd13305c581bb835689ac3beIssue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201702-29Third Party Advisory
- https://security.netapp.com/advisory/ntap-20180112-0001/Third Party Advisory
- https://www.tenable.com/security/tns-2017-04Third Party Advisory
- http://php.net/ChangeLog-5.phpRelease Notes, Vendor Advisory
- http://php.net/ChangeLog-7.phpRelease Notes, Vendor Advisory
- http://www.debian.org/security/2017/dsa-3783Third Party Advisory
- http://www.securityfocus.com/bid/95783Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1037659Broken Link, Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:1296Third Party Advisory
- https://bugs.php.net/bug.php?id=73768Issue Tracking, Patch, Vendor Advisory
- https://github.com/php/php-src/commit/b28b8b2fee6dfa6fcd13305c581bb835689ac3beIssue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201702-29Third Party Advisory
- https://security.netapp.com/advisory/ntap-20180112-0001/Third Party Advisory
- https://www.tenable.com/security/tns-2017-04Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.