CVE-2007-1885 Integer overflow in n/a

High 7.5 Published Updated

An integer overflow in PHP's str_replace function allows attackers to execute arbitrary code via crafted input.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2007-1885?

CVE-2007-1885 is a high-severity vulnerability in Php Php, published on 6 Apr 2007. It can be exploited over the network, with no action from the victim.

Official description

Integer overflow in the str_replace function in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via a single character search string in conjunction with a long replacement string, which overflows a 32 bit length counter. NOTE: this is probably the same issue as CVE-2007-0906.6.

Which versions are affected by CVE-2007-1885?

It affects 1 product.

Products include Php Php.

How do I fix CVE-2007-1885?

No fix has been published for CVE-2007-1885 yet. Limit exposure of the affected software until one is available.

Is CVE-2007-1885 being exploited?

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

All Php Php vulnerabilities

Sources

Also known as GHSA-xvh2-crgv-94ww.

Is CVE-2007-1885 in your software?

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

Check your SBOMs for free