{"id":"CVE-2016-10159","details":"Integer overflow 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 consumption or application crash) via a truncated manifest entry in a PHAR archive.","modified":"2026-07-08T12:42:57.791664Z","published":"2017-01-24T21:59:00.180Z","related":["SUSE-SU-2017:0534-1","SUSE-SU-2017:0556-1","SUSE-SU-2017:0568-1"],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.0"},{"last_affected":"8.0"}],"source":"CPE_STRING","vendor_product":"debian:debian_linux"}]},"references":[{"type":"ADVISORY","url":"http://php.net/ChangeLog-5.php"},{"type":"ADVISORY","url":"http://php.net/ChangeLog-7.php"},{"type":"ADVISORY","url":"http://www.debian.org/security/2017/dsa-3783"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/95774"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1037659"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:1296"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201702-29"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20180112-0001/"},{"type":"ADVISORY","url":"https://www.tenable.com/security/tns-2017-04"},{"type":"REPORT","url":"https://bugs.php.net/bug.php?id=73764"},{"type":"FIX","url":"https://github.com/php/php-src/commit/ca46d0acbce55019b970fcd4c1e8a10edfdded93"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"0"},{"last_affected":"b4e4201c1c18eff67450b7d73ff028b81610e749"},{"introduced":"60fffd296abce5fc071f3c173c25a2696cf683c6"},{"fixed":"cc766d7730bdec064e32f8009154fa672b34ef9b"},{"introduced":"0221e9f827632942225586687a33cfd554860d5e"},{"last_affected":"0221e9f827632942225586687a33cfd554860d5e"},{"fixed":"ca46d0acbce55019b970fcd4c1e8a10edfdded93"}],"database_specific":{"cpe":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","cpe:2.3:a:php:php:7.1.0:-:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"last_affected":"5.6.29"},{"introduced":"7.0.0"},{"fixed":"7.0.15"},{"introduced":"7.1.0-NA"},{"last_affected":"7.1.0-NA"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}}],"versions":["7.1.0-NA","php-7.0.15RC1","php-5.6.29","php-5.6.29RC1","php-7.1.0","POST_PHP7_NSAPI_REMOVAL","PRE_PHP7_NSAPI_REMOVAL","PRE_PHP7_EREG_MYSQL_REMOVALS","PRE_PHP7_REMOVALS","POST_PHP7_REMOVALS","POST_AST_MERGE","PRE_AST_MERGE","POST_64BIT_BRANCH_MERGE","PRE_64BIT_BRANCH_MERGE","POST_PHPNG_MERGE"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10159.json","vanir_signatures_modified":"2026-07-08T12:42:57Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/php/php-src/commit/ca46d0acbce55019b970fcd4c1e8a10edfdded93","target":{"file":"ext/phar/phar.c"},"deprecated":false,"digest":{"line_hashes":["121052452896400164276001498621023313905","262168943274424758961694766712839997290","35360108606078329448889142211054414706","145313471589252137248472230406309010104","314417463545681779499062229029939122698","74004429412006798345526032305741375125","36646184072252867127774558500130006594","331527402370172640660609847974879528962"],"threshold":0.9},"id":"CVE-2016-10159-c6d30f0a","signature_type":"Line"}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}