CVE-2007-2872 Integer overflow in n/a

Medium 6.8 Published Updated

Remote attackers can trigger integer overflows in PHP's chunk_split function to execute arbitrary code or cause a denial of service.

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

CVE-2007-2872 is a medium-severity vulnerability in Php Php, published on 4 Jun 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Multiple integer overflows in the chunk_split function in PHP 5 before 5.2.3 and PHP 4 before 4.4.8 allow remote attackers to cause a denial of service (crash) or execute arbitrary code via the (1) chunks, (2) srclen, and (3) chunklen arguments.

Weakness: CWE-189

Which versions are affected by CVE-2007-2872?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2007-2872?

Upgrade to a fixed version.

Is CVE-2007-2872 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Php Php vulnerabilities

Sources

Also known as GHSA-vg29-wjx8-q6g3.

Is CVE-2007-2872 in your software?

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

Check your SBOMs for free