CVE-2016-9138 Use after free in n/a

Critical 9.8 Published Updated

Remote attackers can cause denial of service or potentially execute code via crafted serialized data due to improper handling of property modification during __wakeup processing in PHP.

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

What is CVE-2016-9138?

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

Official description

PHP through 5.6.27 and 7.x through 7.0.12 mishandles property modification during __wakeup processing, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted serialized data, as demonstrated by Exception::__toString with DateInterval::__wakeup.

Weakness: CWE-416

Which versions are affected by CVE-2016-9138?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2016-9138?

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-2016-9138 being exploited?

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

All Php Php vulnerabilities

Sources

Also known as GHSA-645c-cwcv-g4w3, UBUNTU-CVE-2016-9138.

Is CVE-2016-9138 in your software?

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

Check your SBOMs for free