php size calculation in chunk_split
Published Sep 4, 2007
7.5
HIGHCVSS 2.0
EPSS 2.36%
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.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.36% (0.02358) | 83.14th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.36% (0.02358) | 81.49th | v5 (v2026.06.15) |
| Jan 10, 2026 | 3.88% (0.03881) | 87.90th | v4 (v2025.03.14) |
| Jul 30, 2025 | 2.58% (0.02578) | 84.97th | v4 (v2025.03.14) |
| Mar 17, 2025 | 4.98% (0.04975) | 88.94th | v4 (v2025.03.14) |
| Dec 17, 2024 | 3.64% (0.03636) | 91.57th | v3 (v2023.03.01) |
| Dec 12, 2024 | 1.85% (0.01848) | 88.81th | v3 (v2023.03.01) |
| Jul 8, 2024 | 1.98% (0.01977) | 88.86th | v3 (v2023.03.01) |
| May 31, 2024 | 1.66% (0.01662) | 87.60th | v3 (v2023.03.01) |
| Apr 23, 2024 | 1.56% (0.01556) | 87.00th | v3 (v2023.03.01) |
| Sep 10, 2023 | 1.54% (0.01537) | 85.52th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.84% (0.01836) | 86.39th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (18)
- 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 x_refsource_MISCExploit
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html vendor-advisoryx_refsource_SUSE
- http://secunia.com/advisories/26642 third-party-advisoryx_refsource_SECUNIAPatch
- http://secunia.com/advisories/26838 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27102 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27864 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/28658 third-party-advisoryx_refsource_SECUNIA
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml vendor-advisoryx_refsource_GENTOO
- http://www.php.net/ChangeLog-5.php#5.2.4 x_refsource_CONFIRM
- http://www.php.net/releases/5_2_4.php x_refsource_CONFIRMPatch
- http://www.ubuntu.com/usn/usn-549-2 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2007-4661 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=278161 Issue Tracking
- https://issues.rpath.com/browse/RPL-1702 x_refsource_CONFIRM
- https://launchpad.net/bugs/173043 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2007-4661
- https://usn.ubuntu.com/549-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2007-4661
Change history (0)
No recorded changes yet.