All vulnerabilities

Servers and applications

CVE-2007-2872

Multiple integer overflows in the chunk_split function in PHP 5 before 5.2.3 and PHP 4 before 4.4.8 allow remote attackers to cause a denial of service (crash) or execute arbitrary code via the (1) chunks, (2) srclen, and (3) chunklen arguments.

Severity
Medium 6.8
Published
4 Jun 2007
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
8.9% in the next 30 daysHigher than 95% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-189
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.2.2
  • Version 5.2.1
  • Version 5.2.0
  • Version 5.1.6
All 17 release lines
  • Every version up to 4.4.7
  • Version 5.0.0
  • Version 5.0.1
  • Version 5.0.2
  • Version 5.0.3
  • Version 5.0.4
  • Version 5.0.5
  • Version 5.1.0
  • Version 5.1.1
  • Version 5.1.2
  • Version 5.1.3
  • Version 5.1.4
  • Version 5.1.5
  • Version 5.1.6
  • Version 5.2.0
  • Version 5.2.1
  • Version 5.2.2

References

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