CVEvulnerability
CVE-2007-4657
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2007-09-04
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-119, CWE-189
Description
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.
Affected configurations
• php php (>= 4.0.0 < 4.4.8)
• php php (>= 5.0.0 < 5.2.4)
• debian debian linux 3.1
• debian debian linux 4.0
• canonical ubuntu linux 6.06
• canonical ubuntu linux 6.10
• canonical ubuntu linux 7.04
• canonical ubuntu linux 7.10
Related
Weakness · not in database (1)
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://secunia.com/advisories/26642 Third Party Advisory
- http://secunia.com/advisories/26822 Third Party Advisory
- http://secunia.com/advisories/26838 Third Party Advisory
- http://secunia.com/advisories/27102 Third Party Advisory
- http://secunia.com/advisories/27377 Third Party Advisory
- http://secunia.com/advisories/27864 Third Party Advisory
- http://secunia.com/advisories/28249 Third Party Advisory
- http://secunia.com/advisories/28318 Third Party Advisory
- http://secunia.com/advisories/28936 Third Party Advisory
- http://secunia.com/advisories/30288 Third Party Advisory
- http://secweb.se/en/advisories/php-strcspn-information-leak-vulnerability/ Third Party Advisory
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136 Mailing List, Third Party Advisory
- http://www.debian.org/security/2008/dsa-1444 Third Party Advisory
- http://www.debian.org/security/2008/dsa-1578 Third Party Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml Third Party Advisory
- http://www.php.net/ChangeLog-4.php Vendor Advisory
- http://www.php.net/ChangeLog-5.php#5.2.4 Patch, Vendor Advisory
- http://www.php.net/releases/4_4_8.php Vendor Advisory
- http://www.php.net/releases/5_2_4.php Vendor Advisory
- http://www.trustix.org/errata/2007/0026/ Broken Link
- http://www.ubuntu.com/usn/usn-549-2 Broken Link
- http://www.vupen.com/english/advisories/2007/3023 Third Party Advisory
- http://www.vupen.com/english/advisories/2008/0059 Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36388 Third Party Advisory, VDB Entry
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39399 Third Party Advisory, VDB Entry
- https://issues.rpath.com/browse/RPL-1693 Broken Link
- https://issues.rpath.com/browse/RPL-1702 Broken Link
- https://launchpad.net/bugs/173043 Third Party Advisory
- https://usn.ubuntu.com/549-1/ Third Party Advisory
- http://secunia.com/advisories/26642 Third Party Advisory
- http://secunia.com/advisories/26822 Third Party Advisory
- http://secunia.com/advisories/26838 Third Party Advisory
- http://secunia.com/advisories/27102 Third Party Advisory
- http://secunia.com/advisories/27377 Third Party Advisory
- http://secunia.com/advisories/27864 Third Party Advisory
- http://secunia.com/advisories/28249 Third Party Advisory
- http://secunia.com/advisories/28318 Third Party Advisory
- http://secunia.com/advisories/28936 Third Party Advisory
- http://secunia.com/advisories/30288 Third Party Advisory
- http://secweb.se/en/advisories/php-strcspn-information-leak-vulnerability/ Third Party Advisory
- http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136 Mailing List, Third Party Advisory
- http://www.debian.org/security/2008/dsa-1444 Third Party Advisory
- http://www.debian.org/security/2008/dsa-1578 Third Party Advisory
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml Third Party Advisory
- http://www.php.net/ChangeLog-4.php Vendor Advisory
- http://www.php.net/ChangeLog-5.php#5.2.4 Patch, Vendor Advisory
- http://www.php.net/releases/4_4_8.php Vendor Advisory
- http://www.php.net/releases/5_2_4.php Vendor Advisory
- http://www.trustix.org/errata/2007/0026/ Broken Link
- http://www.ubuntu.com/usn/usn-549-2 Broken Link
- http://www.vupen.com/english/advisories/2007/3023 Third Party Advisory
- http://www.vupen.com/english/advisories/2008/0059 Third Party Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36388 Third Party Advisory, VDB Entry
- https://exchange.xforce.ibmcloud.com/vulnerabilities/39399 Third Party Advisory, VDB Entry
- https://issues.rpath.com/browse/RPL-1693 Broken Link
- https://issues.rpath.com/browse/RPL-1702 Broken Link
- https://launchpad.net/bugs/173043 Third Party Advisory
- https://usn.ubuntu.com/549-1/ Third Party Advisory