{"id":"CVE-2016-10160","published":"2017-01-24T21:00:00Z","modified":"2024-08-06T03:14:42Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.07381,"percentile":0.94562,"provenance":"source"},"cwes":[],"references":[{"url":"https://bugs.php.net/bug.php?id=73768","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1296","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20180112-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/php/php-src/commit/b28b8b2fee6dfa6fcd13305c581bb835689ac3be","tags":["x_refsource_CONFIRM"]},{"url":"https://www.tenable.com/security/tns-2017-04","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2017/dsa-3783","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://security.gentoo.org/glsa/201702-29","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://php.net/ChangeLog-7.php","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1037659","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.securityfocus.com/bid/95783","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":18.91}]},"summary":{"text":"The flaw is an off-by-one error in the phar_parse_pharfile function in ext/phar/phar.c, a component of PHP affecting versions before 5.6.30 and the 7.0.x line before 7.0.15.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:56:26Z"},"euvd":{"id":"EUVD-2016-1348","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2016-10159-family-cve-2016-10159","parents":[{"from":"CVE-2016-10159","to":"CVE-2016-10160","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ext/phar/phar.c"],"commits":["https://github.com/php/php-src/commit/ca46d0acbce55019b970fcd4c1e8a10edfdded93","https://github.com/php/php-src/commit/b28b8b2fee6dfa6fcd13305c581bb835689ac3be"],"basis":"shared function","functions":["phar_parse_pharfile"]}]}]}}