CVE-2007-0988 Denial of service in n/a

Medium 4.3 Published Updated

Attackers can cause a denial of service via infinite loop in PHP's unserialize function on 64-bit systems by exploiting integer handling flaws.

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

What is CVE-2007-0988?

CVE-2007-0988 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 20 Feb 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The zend_hash_init function in PHP 5 before 5.2.1 and PHP 4 before 4.4.5, when running on a 64-bit platform, allows context-dependent attackers to cause a denial of service (infinite loop) by unserializing certain integer expressions, which only cause 32-bit arguments to be used after the check for a negative value, as demonstrated by an "a:2147483649:{" argument.

Weakness: CWE-119

Which versions are affected by CVE-2007-0988?

It affects 2 products.

Products include Canonical Ubuntu Linux, Php Php.

How do I fix CVE-2007-0988?

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-2007-0988 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-rv23-gf9q-6frc.

Is CVE-2007-0988 in your software?

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

Check your SBOMs for free