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

High 7.5 Published Updated

A heap use-after-free vulnerability in PHP's unserializer allows attackers to potentially execute arbitrary code or cause denial of service 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-12934?

CVE-2017-12934 is a high-severity 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 before 7.0.21 and 7.1.x before 7.1.7 is prone to a heap use after free while unserializing untrusted data, related to the zval_get_type function in Zend/zend_types.h. Exploitation of this issue can have an unspecified impact on the integrity of PHP.

Weakness: CWE-416

Which versions are affected by CVE-2017-12934?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2017-12934?

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-12934 being exploited?

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

All Php Php vulnerabilities

Sources

Also known as GHSA-cmv9-8x32-p5q7.

Is CVE-2017-12934 in your software?

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

Check your SBOMs for free