CVE-2016-7479 Use after free in PHP 7.x

Critical 9.8 Published Updated

A use-after-free vulnerability in PHP 7's unserialization process allows remote attackers to execute arbitrary code.

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-7479?

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

Official description

In all versions of PHP 7, during the unserialization process, resizing the 'properties' hash table of a serialized object may lead to use-after-free. A remote attacker may exploit this bug to gain arbitrary code execution.

Weakness: CWE-416

Which versions are affected by CVE-2016-7479?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2016-7479?

Apply the vendor's patch.

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

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

All Php Php vulnerabilities

Sources

Also known as GHSA-x9vm-7p3c-2c8q, UBUNTU-CVE-2016-7479.

Is CVE-2016-7479 in your software?

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

Check your SBOMs for free