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 trend (30 days)EPSS over the last 30 days for CVE-2017-12932: held from 0.074 to 0.074.

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

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.