Description
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."
References
- php-strreplace-single-unspecified(33768) vdb-entry
- ADV-2007-1991 vdb-entry
- SSRT071423 vendor-advisory
- HPSBTU02232 vendor-advisory
- ADV-2007-2374 vdb-entry
- 25423 third-party-advisory
- 25850 third-party-advisory
- http://www.php-security.org/MOPB/MOPB-39-2007.html