Integer overflow in the substr_compare function in PHP 5.2.1 and earlier allows context-dependent attackers to read sensitive memory via a large value in the length argument, a different vulnerability than CVE-2006-1991.
http://secunia.com/advisories/24606
http://secunia.com/advisories/25056
http://secunia.com/advisories/25057
http://secunia.com/advisories/25062
http://secunia.com/advisories/26895
http://security.gentoo.org/glsa/glsa-200703-21.xml
http://us2.php.net/releases/5_2_2.php
http://www.debian.org/security/2007/dsa-1283
http://www.mandriva.com/security/advisories?name=MDKSA-2007:187
http://www.novell.com/linux/security/advisories/2007_32_php.html
http://www.php-security.org/MOPB/MOPB-14-2007.html
http://www.securityfocus.com/bid/22851
Source: MITRE
Published: 2007-03-10
Updated: 2017-10-11
Type: NVD-CWE-Other
Base Score: 5
Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N
Impact Score: 2.9
Exploitability Score: 10
Severity: MEDIUM