Use After Free in PHP
CVE-2017-12932
ext/standard/var_unserializer.re in PHP 7.0.x through 7.0.22 and 7.1.x through 7.1.8 is prone to a heap use after free while unserializing untrusted data, related to improper use of the hash API for key deletion in a situation with an invalid array size. Exploitation of this issue can have an unspecified impact on the integrity of PHP.
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.074, 94.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 7.0.0, 7.0.1, 7.0.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.securityfocus.com/bid/100427 (Third Party Advisory, VDB Entry, vdb-entry)
- RHSA-2018:1296 (vendor-advisory)
- github.com/php/php-src/commit/1a23ebc1fff59bf480ca92963b36eba5c1b904c4 (Patch, Third Party Advisory)
- security.netapp.com/advisory/ntap-20180112-0001/
- bugs.php.net/bug.php (Issue Tracking, Vendor Advisory)
- DSA-4080 (vendor-advisory)
- php.net/ChangeLog-7.php (Release Notes, Vendor Advisory)
- GLSA-201709-21 (vendor-advisory)
- RHSA-2019:2519 (vendor-advisory)