Off-by-one error in the str_ireplace function in PHP 5.2.1 might allow context-dependent attackers to cause a denial of service (crash).
http://www.securityfocus.com/archive/1/459856/100/0/threaded
http://security.gentoo.org/glsa/glsa-200703-21.xml
http://secunia.com/advisories/24606
http://secunia.com/advisories/24514
http://marc.info/?l=php-dev&m=117106751715609&w=2
http://marc.info/?l=php-dev&m=117104930526516&w=2
http://lists.suse.com/archive/suse-security-announce/2007-Mar/0003.html
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.36&r2=1.445.2.14.2.37