CVE-2007-4661: php
Vulnerability summary
CVE-2007-4661 is a high (CVSS 7.5) vulnerability in php. EPSS estimates a 2.36% chance of exploitation in the next 30 days, higher than 83.7% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 04-09-2007PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
Description
The chunk_split function in string.c in PHP 5.2.3 does not properly calculate the needed buffer size due to precision loss when performing integer arithmetic with floating point numbers, which has unknown attack vectors and impact, possibly resulting in a heap-based buffer overflow. NOTE: this is due to an incomplete fix for CVE-2007-2872.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
2.36%
Chance of exploitation in the next 30 days
Percentile
84%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.36% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (cvs.php.net)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
- CWE-399Resource Management ErrorsWeaknesses in this category are related to improper management of system resources.
Affected systems
Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.
Php1 product
- phpEOL5.2.3
1 vendor · 1 product
References
14 links- launchpad.net/bugs/173043X Refsource CONFIRM
- www.php.net/ChangeLog-5.phpX Refsource CONFIRM
- issues.rpath.com/browse/RPL-1702X Refsource CONFIRM
Show all 14 references
- cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.58&r2=1.445.2.14.2.59X Refsource MISCExploit