CVE-2007-1886: PHP
Medium severity, CVSS 6.8. EPSS: 1.7% chance of exploitation in the next 30 days.
Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent attackers to have an unknown impact via a single character search string in conjunction with a single character replacement string, which causes an "off by one overflow."
Affected products
- PHP PHP: version 4.4.5 only; version 5.2.1 only
Published 2007-04-06. Last modified 2026-06-16.