Back
CVE-2007-4661
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…
High7.5EPSS 2.4%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
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)
- 2.4% · top 16% of all CVEs (4 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 (14)
- https://launchpad.net/bugs/173043 (opens in a new tab)x_refsource_CONFIRMx_transferred
- SUSE-SA:2008:004 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 28658 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_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/ChangeLog-5.php#5.2.4 (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-549-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_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
- 27102 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.php.net/releases/5_2_4.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-549-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.58&r2=1.445.2.14.2.59 (opens in a new tab)x_refsource_MISCx_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-4661)Record last updated .