php_zip.c in the zip extension in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8 improperly interacts with the unserialize implementation and garbage collection, which allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free and application crash) via crafted serialized data containing a ZipArchive object.
{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "5.5.36"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-alpha1"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-alpha2"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-alpha3"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-beta1"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-beta2"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-beta3"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.0-beta4"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.1"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.2"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.3"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.4"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.5"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.6"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.7"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.8"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.9"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.10"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.11"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.12"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.13"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.14"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.15"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.16"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.17"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.18"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.19"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.20"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.21"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.22"
},
{
"introduced": "0"
},
{
"last_affected": "5.6.23"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.0"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.1"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.2"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.3"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.4"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.5"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.6"
},
{
"introduced": "0"
},
{
"last_affected": "7.0.7"
}
]
}[
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.6.0-alpha4"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "5.6.0-alpha5"
}
]
}
]
[
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2016-5773-0450c870",
"target": {
"file": "ext/zip/php_zip.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"336596916085203698350057541604668175738",
"312605460516307546358655968823750311776",
"202289105112210415793622660399889669894",
"2659789645517324669066205643089415753",
"44597108971789535196204357436920634856",
"23647072536535761014923467067741495308"
]
},
"signature_version": "v1",
"source": "https://github.com/php/php-src/commit/f6aef68089221c5ea047d4a74224ee3deead99a6"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2016-5773-76d74a1e",
"target": {
"file": "ext/zip/php_zip.c",
"function": "PHP_MINIT_FUNCTION"
},
"digest": {
"length": 3706.0,
"function_hash": "119329149946522731800414006082504987445"
},
"signature_version": "v1",
"source": "https://github.com/php/php-src/commit/f6aef68089221c5ea047d4a74224ee3deead99a6"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-5773.json"