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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
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
Timeline
- Published
- Jan 24, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified