Multiple integer overflows in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 4.0.0 to before 4.4.8; 5.0.0 to before 5.2.4 | Vulnerable | PHP |
| cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:* | 3.1 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* | 6.06 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:* | 6.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* | 7.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:* | 7.10 | Vulnerable | Canonical |
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 4.0.0 to before 4.4.8; 5.0.0 to before 5.2.4 Vulnerable ·PHP
- cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:* Versions 3.1 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* Versions 6.06 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:* Versions 6.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* Versions 7.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:* Versions 7.10 Vulnerable ·Canonical
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2007-4657
- 2026-10-03 Alias added: GHSA-43ww-xqjh-ppmf
References
Advisory 14
- https://launchpad.net/bugs/173043
- ADV-2008-0059
- DSA-1444
- GLSA-200710-02
- http://www.php.net/releases/4_4_8.php
- SSA:2008-045-03
- 2007-0026
- USN-549-1
- http://secweb.se/en/advisories/php-strcspn-information-leak-vulnerability/
- DSA-1578
- http://www.php.net/ChangeLog-4.php
- ADV-2007-3023
- http://www.php.net/releases/5_2_4.php
- USN-549-2
Sources
- CVE-2007-4657 · CVE Program
- CVE-2007-4657 · NVD
- FIRST EPSS
- GHSA-43ww-xqjh-ppmf · GitHub Advisory Database · CC BY 4.0
- CVE-2007-4657 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences