CVE-2016-5773
Status: ModifiedCritical (9.8)—
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.
CVSS
- Version: 3.0
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Base score: 9.8
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 9.26%
- Percentile among all scored CVEs: 95
- Score date: 10/18/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (1)
CWEs
- CWE-416
References
- http://github.com/php/php-src/commit/f6aef68089221c5ea047d4a74224ee3deead99a6?w=1
- http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://www.debian.org/security/2016/dsa-3618
- http://www.openwall.com/lists/oss-security/2016/06/23/4
- http://www.securityfocus.com/bid/91397
- https://bugs.php.net/bug.php?id=72434
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
- https://support.apple.com/HT207170
- http://github.com/php/php-src/commit/f6aef68089221c5ea047d4a74224ee3deead99a6?w=1
- http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://www.debian.org/security/2016/dsa-3618
- http://www.openwall.com/lists/oss-security/2016/06/23/4
- http://www.securityfocus.com/bid/91397
- https://bugs.php.net/bug.php?id=72434
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
- https://support.apple.com/HT207170
Raw JSON (NVD)
Show
{
"id": "CVE-2016-5773",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 7.5,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "LOW",
"availabilityImpact": "PARTIAL",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "HIGH",
"obtainAllPrivilege": false,
"exploitabilityScore": 10,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
],
"cvssMetricV30": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.0",
"baseScore": 9.8,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2016-08-07T10:59:21.650",
"references": [
{
"url": "http://github.com/php/php-src/commit/f6aef68089221c5ea047d4a74224ee3deead99a6?w=1",
"source": "cve@mitre.org"
},
{
"url": "http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html",
"source": "cve@mitre.org"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html",
"source": "cve@mitre.org"
},
{
"url": "http://php.net/ChangeLog-5.php",
"tags": [
"Patch",
"Release Notes"
],
"source": "cve@mitre.org"
},
{
"url": "http://php.net/ChangeLog-7.php",
"tags": [
"Patch",
"Release Notes"
],
"source": "cve@mitre.org"
},
{
"url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html",
"source": "cve@mitre.org"
},
{
"url": "http://www.debian.org/security/2016/dsa-3618",
"source": "cve@mitre.org"
},
{
"url": "http://www.openwall.com/lists/oss-security/2016/06/23/4",
"tags": [
"Release Notes"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/bid/91397",
"source": "cve@mitre.org"
},
{
"url": "https://bugs.php.net/bug.php?id=72434",
"tags": [
"Exploit",
"Vendor Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731",
"source": "cve@mitre.org"
},
{
"url": "https://support.apple.com/HT207170",
"source": "cve@mitre.org"
},
{
"url": "http://github.com/php/php-src/commit/f6aef68089221c5ea047d4a74224ee3deead99a6?w=1",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://php.net/ChangeLog-5.php",
"tags": [
"Patch",
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://php.net/ChangeLog-7.php",
"tags": [
"Patch",
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.debian.org/security/2016/dsa-3618",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.openwall.com/lists/oss-security/2016/06/23/4",
"tags": [
"Release Notes"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/91397",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://bugs.php.net/bug.php?id=72434",
"tags": [
"Exploit",
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://support.apple.com/HT207170",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-416"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "php_zip.c en la extension zip en PHP en versiones anteriores a 5.5.37, 5.6.x en versiones anteriores a 5.6.23 y 7.x en versiones anteriores 7.0.8 interactúa incorrectamente con la implementación no serializada y la recolección de basura, lo que permite a atacantes remotos ejecutar un código arbitrario o provocar una denegación de servicio (uso después de liberación y caída de aplicación) a través de datos serializados manipulados que contienen un objeto ZipArchive."
}
],
"lastModified": "2026-06-17T00:50:01.680",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "44C85C39-7022-488D-8473-DB55CF456D7E",
"versionEndIncluding": "5.5.36"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5BF4E8FF-A3EC-43E8-A0C1-FD38AFCB77B8"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "54ADECFC-3C07-43BC-B296-6C25AC7F1C95"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FE192054-2FBB-4388-A52A-422E20DEA2D7"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F0195D48-3B42-4AC0-B9C5-436E01C63879"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BF0E5D67-ABC1-41A5-94E1-7DD3CDB51D81"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "319E0573-B1AD-40B6-B4BC-8BE67ED3EFDB"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1A7C00EB-87B7-4EB7-A4AC-8665D8C78467"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "21BFCF10-786A-4D1E-9C37-50A1EC6056F1"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "95A6D6C8-5F46-4897-A0B0-778631E8CE6A"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F1F13E2D-A8F7-4B74-8D03-7905C81672C9"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "AE18933A-5FE6-41C7-B1B6-DA3E762C3FB6"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9AE1289F-03A6-4621-B387-5F5ADAC4AE92"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "383697F5-D29E-475A-84F3-46B54A928889"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "786ED182-5D71-4197-9196-12AB5CF05F85"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BF90980D-74AD-44AA-A7C5-A0B294CCE4F8"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "48D6B69C-8F27-4F4C-B953-67A7F9C2FBA5"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B53DC0C3-EA19-4465-B65A-BC7CDB10D8BF"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BEA4DFC1-6C0C-42FB-9F47-E3E1AA9E47E0"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.10:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D904E21A-4B3B-4D96-850C-0C0315F14E6D"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.11:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C7CEF6D7-8966-45E7-BEBB-12055F5898C6"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.12:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "171C1035-414C-4F3A-90F4-1A8ED26E3346"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.13:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "725BBA4E-B3BA-4AFA-A284-E0CDE3EC8FB4"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.14:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F7793408-66A2-4DE7-B5AA-E49E8A2EE043"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.15:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "95840EC0-512D-468D-99B0-17E8CFDD6BE0"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.16:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E1078D15-8073-4C04-82C2-3C8111E18B6C"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.17:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1B2E5E0C-8DD7-4CF8-A7E7-28ED0FD8B0C1"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.18:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3E6EE9E4-9D6E-4CCC-B116-6020DA6884BE"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.19:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F9A23E37-8B94-440A-8014-389AC5389A19"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.20:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "AD5E20AF-724B-4DBD-9AED-920375666B6B"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.21:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FD008BBB-10C9-48E2-97B8-6B86B54FD48E"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.22:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "90727984-6853-4348-B3CD-4869788117FD"
},
{
"criteria": "cpe:2.3:a:php:php:5.6.23:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "08AA5F56-9D59-436E-BEB8-68A8A73B6D32"
},
{
"criteria": "cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DB6890AF-8A0A-46EE-AAD5-CF9AAE14A321"
},
{
"criteria": "cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6B90B947-7B54-47F3-9637-2F4AC44079EE"
},
{
"criteria": "cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "35848414-BD5D-4164-84DC-61ABBB1C4152"
},
{
"criteria": "cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2B1F8402-8551-4F66-A9A7-81D472AB058E"
},
{
"criteria": "cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7A773E8E-48CD-4D35-A0FD-629BD9334486"
},
{
"criteria": "cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FC492340-79AF-4676-A161-079A97EC6F0C"
},
{
"criteria": "cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F1C2D8FE-C380-4B43-B634-A3DBA4700A71"
},
{
"criteria": "cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3EB58393-0C10-413C-8D95-6BAA8BC19A1B"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}