Back
CVE-2007-4657
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…
High7.5EPSS 3.0%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 3.0% · top 13% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (29)
- 30288 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- php-strcspn-overflow(36388) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 26822 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://launchpad.net/bugs/173043 (opens in a new tab)x_refsource_CONFIRMx_transferred
- ADV-2008-0059 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- DSA-1444 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- GLSA-200710-02 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- 27864 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.php.net/releases/4_4_8.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- SSA:2008-045-03 (opens in a new tab)vendor-advisoryx_refsource_SLACKWAREx_transferred
- http://www.php.net/ChangeLog-5.php#5.2.4 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 28936 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 2007-0026 (opens in a new tab)vendor-advisoryx_refsource_TRUSTIXx_transferred
- USN-549-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://issues.rpath.com/browse/RPL-1693 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://secweb.se/en/advisories/php-strcspn-information-leak-vulnerability/ (opens in a new tab)x_refsource_MISCx_transferred
- 28249 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- DSA-1578 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://issues.rpath.com/browse/RPL-1702 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 26838 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 27377 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.php.net/ChangeLog-4.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 27102 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2007-3023 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://www.php.net/releases/5_2_4.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- php-strcspn-strspn-unspecified(39399) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 28318 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- USN-549-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 26642 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-4657)Record last updated .