Home / Php / Php / CVE-2007-2872
CVE-2007-2872: is it exploited, and which versions of Php are affected and fixed?
CVE-2007-2872 is a vulnerability in Php. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: php through 4.4.7, php 5.0.0, php 5.0.1 and 14 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.8, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is 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.
From the CVE record by redhat, last updated August 7, 2024, 13:57 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| php | php | through 4.4.7 | application |
| php | php | 5.0.0 | application |
| php | php | 5.0.1 | application |
| php | php | 5.0.2 | application |
| php | php | 5.0.3 | application |
| php | php | 5.0.4 | application |
| php | php | 5.0.5 | application |
| php | php | 5.1.0 | application |
| php | php | 5.1.1 | application |
| php | php | 5.1.2 | application |
| php | php | 5.1.3 | application |
| php | php | 5.1.4 | application |
| php | php | 5.1.5 | application |
| php | php | 5.1.6 | application |
| php | php | 5.2.0 | application |
| php | php | 5.2.1 | application |
| php | php | 5.2.2 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:40 UTC.
How severe is CVE-2007-2872?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2007-2872 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 8.88% probability of exploitation activity in the next 30 days, percentile 95.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- 26231 third-party-advisory, x_refsource_SECUNIA
- https://launchpad.net/bugs/173043 x_refsource_CONFIRM
- 27110 third-party-advisory, x_refsource_SECUNIA
- RHSA-2007:0888 vendor-advisory, x_refsource_REDHAT
- 26048 third-party-advisory, x_refsource_SECUNIA
- http://www.sec-consult.com/291.html x_refsource_MISC
- SUSE-SA:2008:004 vendor-advisory, x_refsource_SUSE
- OpenPKG-SA-2007.020 vendor-advisory, x_refsource_OPENPKG
- 28750 third-party-advisory, x_refsource_SECUNIA
- ADV-2008-0059 vdb-entry, x_refsource_VUPEN
- 28658 third-party-advisory, x_refsource_SECUNIA
- FEDORA-2007-709 vendor-advisory, x_refsource_FEDORA
- 26967 third-party-advisory, x_refsource_SECUNIA
- 27351 third-party-advisory, x_refsource_SECUNIA
- php-chunksplit-security-bypass(39398) vdb-entry, x_refsource_XF
- GLSA-200710-02 vendor-advisory, x_refsource_GENTOO
- 27864 third-party-advisory, x_refsource_SECUNIA
- http://www.php.net/releases/4_4_8.php x_refsource_CONFIRM
- 1018186 vdb-entry, x_refsource_SECTRACK
- SSA:2008-045-03 vendor-advisory, x_refsource_SLACKWARE
- 30040 third-party-advisory, x_refsource_SECUNIA
- ADV-2008-0398 vdb-entry, x_refsource_VUPEN
- 36083 vdb-entry, x_refsource_OSVDB
- 28936 third-party-advisory, x_refsource_SECUNIA
- 26930 third-party-advisory, x_refsource_SECUNIA
- FEDORA-2007-2215 vendor-advisory, x_refsource_FEDORA
- 25456 third-party-advisory, x_refsource_SECUNIA
- RHSA-2007:0889 vendor-advisory, x_refsource_REDHAT
- 2007-0023 vendor-advisory, x_refsource_TRUSTIX
- USN-549-1 vendor-advisory, x_refsource_UBUNTU
- https://issues.rpath.com/browse/RPL-1693 x_refsource_CONFIRM
- ADV-2007-3386 vdb-entry, x_refsource_VUPEN
- SSRT080056 vendor-advisory, x_refsource_HP
- 27037 third-party-advisory, x_refsource_SECUNIA
- ADV-2007-2061 vdb-entry, x_refsource_VUPEN
- https://issues.rpath.com/browse/RPL-1702 x_refsource_CONFIRM
- 27545 third-party-advisory, x_refsource_SECUNIA
- http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm x_refsource_CONFIRM
- SSA:2007-152-01 vendor-advisory, x_refsource_SLACKWARE
- 26838 third-party-advisory, x_refsource_SECUNIA
- http://www.php.net/releases/5_2_3.php x_refsource_CONFIRM
- SSRT071447 vendor-advisory, x_refsource_HP
- 27377 third-party-advisory, x_refsource_SECUNIA
- 25535 third-party-advisory, x_refsource_SECUNIA
- MDKSA-2007:187 vendor-advisory, x_refsource_MANDRIVA
- http://www.php.net/ChangeLog-4.php x_refsource_CONFIRM
- 27102 third-party-advisory, x_refsource_SECUNIA
- 26895 third-party-advisory, x_refsource_SECUNIA
- SSRT080010 vendor-advisory, x_refsource_HP
- 28318 third-party-advisory, x_refsource_SECUNIA
- USN-549-2 vendor-advisory, x_refsource_UBUNTU
- RHSA-2007:0890 vendor-advisory, x_refsource_REDHAT
- RHSA-2007:0891 vendor-advisory, x_refsource_REDHAT
- 26871 third-party-advisory, x_refsource_SECUNIA
- 20070601 SEC Consult SA-20070601-0 :: PHP chunk_split() integer overflow mailing-list, x_refsource_BUGTRAQ
- oval:org.mitre.oval:def:9424 vdb-entry, signature, x_refsource_OVAL
- SUSE-SA:2007:044 vendor-advisory, x_refsource_SUSE
- 24261 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- May 29, 2007
- Published
- June 4, 2007, 17:00 UTC
- CVE record updated
- August 7, 2024, 13:57 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 22:40 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Php?
- Oct 28, 2019CVE-2019-11043 PHP: buffer overflow exploited
- May 11, 2012CVE-2012-1823 Php: command injection exploited
- Jul 3, 2026CVE-2026-14355 php: heap buffer overflow
- Nov 2, 2023CVE-2022-4900 php: memory corruption (buffer overflow)
- Oct 21, 2022CVE-2022-37454 Extended Keccak Code Package Project Extended Keccak Code Package: integer overflow
- Feb 19, 2020CVE-2014-3622 PHP: use after free
- Jan 14, 2020CVE-2015-2326 Pcre: out-of-bounds read
- Jan 14, 2020CVE-2015-2325 Pcre: out-of-bounds read
Questions about CVE-2007-2872
Is CVE-2007-2872 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 8.88% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Php are affected by CVE-2007-2872?
php through 4.4.7, php 5.0.0, php 5.0.1, php 5.0.2, php 5.0.3, php 5.0.4 and 11 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-2872?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2007-2872?
Medium (6.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-2872?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.