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.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 94.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.074 · newest: 0.074 · change: 0.000
Affected products
- PHP — versions 7.0.0, 7.0.1, 7.0.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.securityfocus.com/bid/100427 (VDB Entry, Third Party Advisory, vdb-entry)
- access.redhat.com/errata/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)
- www.debian.org/security/2018/dsa-4080 (vendor-advisory)
- php.net/ChangeLog-7.php (Release Notes, Vendor Advisory)
- security.gentoo.org/glsa/201709-21 (vendor-advisory)
- access.redhat.com/errata/RHSA-2019:2519 (vendor-advisory)
Frequently asked questions
- What is CVE-2017-12932?
- CVE-2017-12932 is a critical-severity vulnerability in PHP, classified under Use After Free. CVSS score: 9.8/10. Published 2017-08-18.
- How severe is CVE-2017-12932?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2017-12932 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.