Buffer overflow in PHP
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 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.030 (86.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 86.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.030 · newest: 0.030 · change: 0.000
Affected products
- PHP
- Canonical Ubuntu Linux — versions 6.06, 6.10, 7.04
- Debian Linux — versions 3.1, 4.0
Weakness classification (CWE)
References
- secunia.com/advisories/30288 (Third Party Advisory, third-party-advisory)
- exchange.xforce.ibmcloud.com/vulnerabilities/36388 (VDB Entry, Third Party Advisory, vdb-entry)
- secunia.com/advisories/26822 (Third Party Advisory, third-party-advisory)
- launchpad.net/bugs/173043 (Third Party Advisory)
- www.vupen.com/english/advisories/2008/0059 (Third Party Advisory, vdb-entry)
- www.debian.org/security/2008/dsa-1444 (vendor-advisory, Third Party Advisory)
- www.gentoo.org/security/en/glsa/glsa-200710-02.xml (vendor-advisory, Third Party Advisory)
- secunia.com/advisories/27864 (Third Party Advisory, third-party-advisory)
- www.php.net/releases/4_4_8.php (Vendor Advisory)
- slackware.com/security/viewer.php (vendor-advisory, Mailing List, Third Party Advisory)