Use After Free in PHP
CVE-2016-5773
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.093, 95.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 5.6.0, 5.6.1, 5.6.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (auditt7708/rhsecapi, RedHatProductSecurity/rhsecapi, syadg123/pigat, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- APPLE-SA-2016-09-20 (vendor-advisory)
- openSUSE-SU-2016:1761 (vendor-advisory)
- RHSA-2016:2750 (vendor-advisory)
- github.com/php/php-src/commit/f6aef68089221c5ea047d4a74224ee3deead99a6
- bugs.php.net/bug.php (Exploit, Vendor Advisory)
- php.net/ChangeLog-5.php (Patch, Release Notes)
- [oss-security] 20160623 Re: CVE for PHP 5.5.37 issues (mailing-list, Release Notes)
- DSA-3618 (vendor-advisory)
- php.net/ChangeLog-7.php (Patch, Release Notes)
- h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay