CVE-2015-2787 Use after free in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code via crafted unserialize calls exploiting a use-after-free flaw in PHP's standard 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-2015-2787?

CVE-2015-2787 is a high-severity use after free vulnerability in Apple Mac Os X, published on 30 Mar 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages use of the unset function within an __wakeup function, a related issue to CVE-2015-0231.

Which versions are affected by CVE-2015-2787?

It affects 9 products.

Products include Apple Mac Os X, Opensuse Opensuse, Php Php, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Hpc Node, Redhat Enterprise Linux Hpc Node Eus and 3 more.

How do I fix CVE-2015-2787?

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-2015-2787 being exploited?

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

All Apple Mac Os X vulnerabilities

Sources

Also known as GHSA-h66p-6c64-g354, UBUNTU-CVE-2015-2787.

Is CVE-2015-2787 in your software?

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

Check your SBOMs for free