All vulnerabilities

Servers and applications

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 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.

Severity
High 7.5
Published
4 Sept 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
2.4% in the next 30 daysHigher than 83% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Memory buffer errors (CWE-119)CWE-399
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.2.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-4661
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-4661