CVE-2016-5773Use After Free in PHP

CWE-416Use After Free14 documents8 sources
Severity
9.8CRITICALNVD
EPSS
16.1%
top 5.19%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedAug 7
Latest updateMay 14

Description

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 vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

Ubuntuphp5/php5< 5.5.9+dfsg-1ubuntu4.19
NVDphp/php5.5.36+34
Appleapple/macos_sierra10.12

Patches

🔴Vulnerability Details

5
GHSA
GHSA-7w96-3v7r-6g9j: php_zip2022-05-14
GHSA
GHSA-qfmg-9m9f-p46q: ext/snmp/snmp2022-05-14
OSV
php5, php7.0 vulnerabilities2016-08-02
OSV
CVE-2016-6295: ext/snmp/snmp2016-07-25
OSV
CVE-2016-5773: php_zip2016-06-24

📋Vendor Advisories

4
Apple
CVE-2016-5773: macOS Sierra 10.122016-09-20
Ubuntu
PHP vulnerabilities2016-08-02
Red Hat
php: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize2016-06-23
Red Hat
php: Use after free in SNMP with GC and unserialize()2016-06-23

📄Research Papers

1
arXiv
Towards Automated Application-Specific Software Stacks2019-09-16

💬Community

2
Bugzilla
CVE-2016-5773 php: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize2016-06-29
Bugzilla
CVE-2016-5766 CVE-2016-5767 CVE-2016-5768 CVE-2016-5769 CVE-2016-5770 CVE-2016-5771 CVE-2016-5772 CVE-2016-5773 php: various flaws [fedora-all]2016-06-29
CVE-2016-5773 — Use After Free in PHP | cvebase