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

High 7.5 Published Updated

Remote attackers can execute arbitrary code via crafted serialized input in PHP's date extension due to use-after-free vulnerabilities.

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

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

Official description

Multiple use-after-free vulnerabilities in ext/date/php_date.c in PHP before 5.4.38, 5.5.x before 5.5.22, and 5.6.x before 5.6.6 allow remote attackers to execute arbitrary code via crafted serialized input containing a (1) R or (2) r type specifier in (a) DateTimeZone data handled by the php_date_timezone_initialize_from_hash function or (b) DateTime data handled by the php_date_initialize_from_hash function.

Which versions are affected by CVE-2015-0273?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2015-0273?

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

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

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as GHSA-mj23-h3wj-525j, UBUNTU-CVE-2015-0273.

Is CVE-2015-0273 in your software?

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

Check your SBOMs for free