CVE-2007-1885

UnknownEPSS 4.25%

Last modified

CVE-2007-1885 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 4.25% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
4.25%

89.8th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersionsUpdate
PhpPhp4.0.0
PhpPhp4.0.1
PhpPhp4.0.2
PhpPhp4.0.3
PhpPhp4.0.4
PhpPhp4.0.5
PhpPhp4.0.6
PhpPhp4.0.7
PhpPhp4.1.0
PhpPhp4.1.1
PhpPhp4.1.2
PhpPhp4.2
PhpPhp4.2.0
PhpPhp4.2.1
PhpPhp4.2.2
PhpPhp4.2.3
PhpPhp4.3.0
PhpPhp4.3.1
PhpPhp4.3.2
PhpPhp4.3.3
PhpPhp4.3.4
PhpPhp4.3.5
PhpPhp4.3.6
PhpPhp4.3.7
PhpPhp4.3.8
PhpPhp4.3.9
PhpPhp4.3.10
PhpPhp4.3.11
PhpPhp4.4.0
PhpPhp4.4.1
PhpPhp4.4.2
PhpPhp4.4.3
PhpPhp4.4.4
PhpPhp4.4.5
PhpPhp4.4.6
PhpPhp5.0Rc1
PhpPhp5.0.0
PhpPhp5.0.1
PhpPhp5.0.2
PhpPhp5.0.3
PhpPhp5.0.4
PhpPhp5.0.5
PhpPhp5.1.0
PhpPhp5.1.1
PhpPhp5.1.2
PhpPhp5.1.3
PhpPhp5.1.4
PhpPhp5.1.5
PhpPhp5.1.6
PhpPhp5.2.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2007-1885?
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.
How severe is CVE-2007-1885?
Severity scoring for CVE-2007-1885 is pending analysis. The EPSS model estimates a 4.25% probability of exploitation in the next 30 days.
How do I fix CVE-2007-1885?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2007-1885?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST