Integer overflow in the pharparsepharfile 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.
{
"unresolved_ranges": [
{
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "5.6.29"
},
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.15"
}
],
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"
},
{
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "7.1.0-NA"
}
],
"cpe": "cpe:2.3:a:php:php:7.1.0:-:*:*:*:*:*:*"
},
{
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "8.0"
}
],
"cpe": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
},
{
"source": "DESCRIPTION",
"extracted_events": [
{
"fixed": "5.6.30"
},
{
"introduced": "7.0.x"
},
{
"fixed": "7.0.15"
}
]
}
]
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-10159.json"
[
{
"source": "https://github.com/php/php-src/commit/ca46d0acbce55019b970fcd4c1e8a10edfdded93",
"id": "CVE-2016-10159-c6d30f0a",
"digest": {
"threshold": 0.9,
"line_hashes": [
"121052452896400164276001498621023313905",
"262168943274424758961694766712839997290",
"35360108606078329448889142211054414706",
"145313471589252137248472230406309010104",
"314417463545681779499062229029939122698",
"74004429412006798345526032305741375125",
"36646184072252867127774558500130006594",
"331527402370172640660609847974879528962"
]
},
"target": {
"file": "ext/phar/phar.c"
},
"signature_version": "v1",
"signature_type": "Line",
"deprecated": false
}
]
"2026-05-07T01:42:58Z"