CVE-2017-12932 Use after free in n/a

Critical 9.8 Published Updated

A heap use-after-free vulnerability in PHP's unserializer allows attackers to potentially execute arbitrary code via untrusted data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-12932?

CVE-2017-12932 is a critical use after free vulnerability in Php Php, published on 18 Aug 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-416

Which versions are affected by CVE-2017-12932?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2017-12932?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2017-12932 being exploited?

There is no known exploitation of CVE-2017-12932 in the wild and no public exploit code.

All Php Php vulnerabilities

Sources

Also known as GHSA-3w3q-r4qc-93xr, UBUNTU-CVE-2017-12932.

Is CVE-2017-12932 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free