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

High 7.5 Published Updated

Remote attackers can trigger a use-after-free in PHP's phar_rename_archive function, causing denial of service or potential code execution.

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

CVE-2015-2301 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 phar_rename_archive function in phar_object.c in PHP before 5.5.22 and 5.6.x before 5.6.6 allows remote attackers to cause a denial of service or possibly have unspecified other impact via vectors that trigger an attempted renaming of a Phar archive to the name of an existing file.

Weakness: CWE-416

Which versions are affected by CVE-2015-2301?

It affects 11 products.

Products include Apple Mac Os X, Canonical Ubuntu Linux, Debian Debian Linux, Opensuse Opensuse, Php Php, Redhat Enterprise Linux Desktop and 5 more.

How do I fix CVE-2015-2301?

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

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

All Apple Mac Os X vulnerabilities

Sources

Also known as GHSA-q362-2hc9-hr5r, UBUNTU-CVE-2015-2301.

Is CVE-2015-2301 in your software?

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

Check your SBOMs for free