CVE-2012-0789 Denial of service in n/a

Medium 5.0 Published Updated

Remote attackers can cause denial of service via memory consumption by triggering excessive strtotime calls in PHP timezone handling.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-0789?

CVE-2012-0789 is a medium-severity denial of service vulnerability in Php Php, published on 14 Feb 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Memory leak in the timezone functionality in PHP before 5.3.9 allows remote attackers to cause a denial of service (memory consumption) by triggering many strtotime function calls, which are not properly handled by the php_date_parse_tzfile cache.

Weakness: CWE-399

Which versions are affected by CVE-2012-0789?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2012-0789?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2012-0789 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-0789 exists.

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as GHSA-q63r-5v5h-328m.

Is CVE-2012-0789 in your software?

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

Check your SBOMs for free