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

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code or cause denial of service via crafted serialized data due to a use-after-free in PHP's SPL extension.

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

CVE-2016-5771 is a critical use after free vulnerability in Debian Debian Linux, published on 7 Aug 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

spl_array.c in the SPL extension in PHP before 5.5.37 and 5.6.x before 5.6.23 improperly interacts with the unserialize implementation and garbage collection, which allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free and application crash) via crafted serialized data.

Weakness: CWE-416

Which versions are affected by CVE-2016-5771?

It affects 4 products.

Products include Debian Debian Linux, Opensuse Leap, Opensuse Opensuse, Php Php.

How do I fix CVE-2016-5771?

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-pxh8-vqh4-j2qq, UBUNTU-CVE-2016-5771.

Is CVE-2016-5771 in your software?

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

Check your SBOMs for free