CVE-2007-4657

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.

Category

7.5
CVSS
Severity: High
CVSS 2.0 •
EPSS 2.63% Top 20%
Vendor Advisory debian.org Vendor Advisory gentoo.org Vendor Advisory slackware.com Vendor Advisory trustix.org Vendor Advisory ubuntu.com Vendor Advisory debian.org Vendor Advisory ubuntu.com Vendor Advisory php.net Vendor Advisory php.net Vendor Advisory php.net Vendor Advisory php.net
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://secunia.com/advisories/30288 third party advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/36388 vdb entry third party advisory
http://secunia.com/advisories/26822 third party advisory
https://launchpad.net/bugs/173043 third party advisory
http://www.vupen.com/english/advisories/2008/0059 vdb entry third party advisory
http://www.debian.org/security/2008/dsa-1444 third party advisory vendor advisory
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml third party advisory vendor advisory
http://secunia.com/advisories/27864 third party advisory
http://www.php.net/releases/4_4_8.php vendor advisory
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136 mailing list third party advisory vendor advisory
http://www.php.net/ChangeLog-5.php#5.2.4 patch vendor advisory
http://secunia.com/advisories/28936 third party advisory
http://www.trustix.org/errata/2007/0026/ vendor advisory broken link
https://usn.ubuntu.com/549-1/ third party advisory vendor advisory
https://issues.rpath.com/browse/RPL-1693 broken link
http://secweb.se/en/advisories/php-strcspn-information-leak-vulnerability/ third party advisory
http://secunia.com/advisories/28249 third party advisory
http://www.debian.org/security/2008/dsa-1578 third party advisory vendor advisory
https://issues.rpath.com/browse/RPL-1702 broken link
http://secunia.com/advisories/26838 third party advisory
http://secunia.com/advisories/27377 third party advisory
http://www.php.net/ChangeLog-4.php vendor advisory
http://secunia.com/advisories/27102 third party advisory
http://www.vupen.com/english/advisories/2007/3023 vdb entry third party advisory
http://www.php.net/releases/5_2_4.php vendor advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/39399 vdb entry third party advisory
http://secunia.com/advisories/28318 third party advisory
http://www.ubuntu.com/usn/usn-549-2 vendor advisory broken link
http://secunia.com/advisories/26642 third party advisory

Frequently Asked Questions

What is the severity of CVE-2007-4657?
CVE-2007-4657 has been scored as a high severity vulnerability.
How to fix CVE-2007-4657?
To fix CVE-2007-4657, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2007-4657 being actively exploited in the wild?
It is possible that CVE-2007-4657 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~3% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.