{"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-04-16T06:16:35.870355155Z","published":"2017-01-24T21:59:00.180Z","related":["SUSE-SU-2017:0534-1","SUSE-SU-2017:0556-1","SUSE-SU-2017:0568-1"],"references":[{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201702-29"},{"type":"ADVISORY","url":"http://www.debian.org/security/2017/dsa-3783"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/95774"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20180112-0001/"},{"type":"ADVISORY","url":"https://www.tenable.com/security/tns-2017-04"},{"type":"ADVISORY","url":"http://php.net/ChangeLog-5.php"},{"type":"ADVISORY","url":"http://php.net/ChangeLog-7.php"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1037659"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:1296"},{"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":"0"},{"last_affected":"0221e9f827632942225586687a33cfd554860d5e"},{"introduced":"0"},{"last_affected":"5dc92c2117cafc61daaaaa240fd46c3ac33872a4"},{"fixed":"ca46d0acbce55019b970fcd4c1e8a10edfdded93"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"5.6.29"},{"introduced":"7.0.0"},{"fixed":"7.0.15"},{"introduced":"0"},{"last_affected":"7.1.0-NA"},{"introduced":"0"},{"last_affected":"8.0"}]}}],"versions":["POST_64BIT_BRANCH_MERGE","POST_AST_MERGE","POST_PHP7_NSAPI_REMOVAL","POST_PHP7_REMOVALS","POST_PHPNG_MERGE","PRE_64BIT_BRANCH_MERGE","PRE_AST_MERGE","PRE_PHP7_EREG_MYSQL_REMOVALS","PRE_PHP7_NSAPI_REMOVAL","PRE_PHP7_REMOVALS","php-5.6.29","php-5.6.29RC1","php-7.0.15RC1","php-7.1.0","php-7.1.0RC6","php-8.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10159.json","vanir_signatures":[{"signature_type":"Line","source":"https://github.com/php/php-src/commit/ca46d0acbce55019b970fcd4c1e8a10edfdded93","digest":{"threshold":0.9,"line_hashes":["121052452896400164276001498621023313905","262168943274424758961694766712839997290","35360108606078329448889142211054414706","145313471589252137248472230406309010104","314417463545681779499062229029939122698","74004429412006798345526032305741375125","36646184072252867127774558500130006594","331527402370172640660609847974879528962"]},"deprecated":false,"signature_version":"v1","id":"CVE-2016-10159-c6d30f0a","target":{"file":"ext/phar/phar.c"}}],"vanir_signatures_modified":"2026-04-11T03:36:54Z"}}],"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"}]}