CVE-2016-7124 Deserialization in n/a

Critical 9.8 Published Updated

Remote attackers can cause denial of service or potentially execute code via crafted serialized data in PHP's unserializer.

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

CVE-2016-7124 is a critical unsafe deserialization vulnerability in Php Php, published on 12 Sep 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ext/standard/var_unserializer.c in PHP before 5.6.25 and 7.x before 7.0.10 mishandles certain invalid objects, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted serialized data that leads to a (1) __destruct call or (2) magic method call.

Weakness: CWE-502

Which versions are affected by CVE-2016-7124?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2016-7124?

Upgrade to a fixed version.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2016-7124 being exploited?

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

All Php Php vulnerabilities

Sources

Also known as GHSA-c8m3-38q9-8587, UBUNTU-CVE-2016-7124.

Is CVE-2016-7124 in your software?

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

Check your SBOMs for free