Multiple integer overflows in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to obtain sensitive information (memory contents) or cause a denial of service (thread crash) via a large len value to the (1) strspn or (2) strcspn function, which triggers an out-of-bounds read. NOTE: this affects different product versions than CVE-2007-3996.
https://launchpad.net/bugs/173043
https://exchange.xforce.ibmcloud.com/vulnerabilities/39399
https://exchange.xforce.ibmcloud.com/vulnerabilities/36388
http://www.vupen.com/english/advisories/2008/0059
http://www.vupen.com/english/advisories/2007/3023
http://www.php.net/releases/5_2_4.php
http://www.php.net/releases/4_4_8.php
http://www.php.net/ChangeLog-5.php#5.2.4
http://www.php.net/ChangeLog-4.php
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
http://www.debian.org/security/2008/dsa-1578
http://www.debian.org/security/2008/dsa-1444
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136
http://secweb.se/en/advisories/php-strcspn-information-leak-vulnerability/
http://secunia.com/advisories/30288
http://secunia.com/advisories/28936
http://secunia.com/advisories/28318
http://secunia.com/advisories/28249
http://secunia.com/advisories/27864
http://secunia.com/advisories/27377
http://secunia.com/advisories/27102
http://secunia.com/advisories/26838