The substr_compare function in string.c in PHP 5.1.2 allows context-dependent attackers to cause a denial of service (memory access violation) via an out-of-bounds offset argument.
https://exchange.xforce.ibmcloud.com/vulnerabilities/26003
http://www.vupen.com/english/advisories/2006/1500
http://www.ubuntu.com/usn/usn-320-1
http://www.novell.com/linux/security/advisories/2006_31_php.html
http://www.mandriva.com/security/advisories?name=MDKSA-2006:091
http://securitytracker.com/id?1015979
http://security.gentoo.org/glsa/glsa-200605-08.xml
http://secunia.com/advisories/21125
http://secunia.com/advisories/20676