CVE-2007-2872 json
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 denia…
published 2007-06-04 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-2864
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.9%
- EPSS 8.9% chance of exploitation in 30 days, percentile 95%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- php RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.8
- php-gd RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.8
- php-cli RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.8
- php-dba RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.8
- php-pdo RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.8
- php-xml RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.8
- php-imap RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.8
- php-ldap RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.8
red hat advisories RHSA-2007:0891RHSA-2007:0890RHSA-2007:0889RHSA-2007:0888
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-2872 updated
php chunk_split integer overflow
-
Red Hat Application Stack v1 for Enterprise Linux AS (v.4) php 5.1.6-3.el4s1.8, php-gd 5.1.6-3.el4s1.8, php-cli 5.1.6-3.el4s1.8, php-dba 5.1.6-3.el4s1.8, php-pdo 5.1.6-3.el4s1.8, php-xml 5.1.6-3.el4s1.8, +12 more Red Hat Application Stack v1 for Enterprise Linux ES (v.4) php 5.1.6-3.el4s1.8, php-gd 5.1.6-3.el4s1.8, php-cli 5.1.6-3.el4s1.8, php-dba 5.1.6-3.el4s1.8, php-pdo 5.1.6-3.el4s1.8, php-xml 5.1.6-3.el4s1.8, +12 morefixed: vendor fix RHSA-2007:0891
-
Red Hat Desktop version 3 php 4.3.2-43.ent, php-imap 4.3.2-43.ent, php-ldap 4.3.2-43.ent, php-odbc 4.3.2-43.ent, php-mysql 4.3.2-43.ent, php-pgsql 4.3.2-43.entfixed: vendor fix RHSA-2007:0889
-
Red Hat Enterprise Linux (v. 5 server) php 5.1.6-15.el5, php-gd 5.1.6-15.el5, php-cli 5.1.6-15.el5, php-dba 5.1.6-15.el5, php-pdo 5.1.6-15.el5, php-xml 5.1.6-15.el5, +12 morefixed: vendor fix RHSA-2007:0890
-
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 php 4.1.2-2.19, php-imap 4.1.2-2.19, php-ldap 4.1.2-2.19, php-odbc 4.1.2-2.19, php-mysql 4.1.2-2.19, php-pgsql 4.1.2-2.19, +1 morefixed: vendor fix RHSA-2007:0888
-
Red Hat Enterprise Linux AS version 3 php 4.3.2-43.ent, php-imap 4.3.2-43.ent, php-ldap 4.3.2-43.ent, php-odbc 4.3.2-43.ent, php-mysql 4.3.2-43.ent, php-pgsql 4.3.2-43.entfixed: vendor fix RHSA-2007:0889
-
Red Hat Enterprise Linux AS version 4 php 4.3.9-3.22.9, php-gd 4.3.9-3.22.9, php-imap 4.3.9-3.22.9, php-ldap 4.3.9-3.22.9, php-odbc 4.3.9-3.22.9, php-pear 4.3.9-3.22.9, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.22.9, php-gd 4.3.9-3.22.9, php-imap 4.3.9-3.22.9, php-ldap 4.3.9-3.22.9, php-odbc 4.3.9-3.22.9, php-pear 4.3.9-3.22.9, +7 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-15.el5, php-gd 5.1.6-15.el5, php-cli 5.1.6-15.el5, php-dba 5.1.6-15.el5, php-pdo 5.1.6-15.el5, php-xml 5.1.6-15.el5, +12 morefixed: vendor fix RHSA-2007:0890
-
Red Hat Enterprise Linux ES version 2.1 php 4.1.2-2.19, php-imap 4.1.2-2.19, php-ldap 4.1.2-2.19, php-odbc 4.1.2-2.19, php-mysql 4.1.2-2.19, php-pgsql 4.1.2-2.19, +1 morefixed: vendor fix RHSA-2007:0888
-
Red Hat Enterprise Linux ES version 3 php 4.3.2-43.ent, php-imap 4.3.2-43.ent, php-ldap 4.3.2-43.ent, php-odbc 4.3.2-43.ent, php-mysql 4.3.2-43.ent, php-pgsql 4.3.2-43.entfixed: vendor fix RHSA-2007:0889
show 5 moreshow fewer
-
Red Hat Enterprise Linux ES version 4 php 4.3.9-3.22.9, php-gd 4.3.9-3.22.9, php-imap 4.3.9-3.22.9, php-ldap 4.3.9-3.22.9, php-odbc 4.3.9-3.22.9, php-pear 4.3.9-3.22.9, +7 morefixed: vendor fix RHSA-2007:0890
-
Red Hat Enterprise Linux WS version 2.1 php 4.1.2-2.19, php-imap 4.1.2-2.19, php-ldap 4.1.2-2.19, php-odbc 4.1.2-2.19, php-mysql 4.1.2-2.19, php-pgsql 4.1.2-2.19, +1 morefixed: vendor fix RHSA-2007:0888
-
Red Hat Enterprise Linux WS version 3 php 4.3.2-43.ent, php-imap 4.3.2-43.ent, php-ldap 4.3.2-43.ent, php-odbc 4.3.2-43.ent, php-mysql 4.3.2-43.ent, php-pgsql 4.3.2-43.entfixed: vendor fix RHSA-2007:0889
-
Red Hat Enterprise Linux WS version 4 php 4.3.9-3.22.9, php-gd 4.3.9-3.22.9, php-imap 4.3.9-3.22.9, php-ldap 4.3.9-3.22.9, php-odbc 4.3.9-3.22.9, php-pear 4.3.9-3.22.9, +7 morefixed: vendor fix RHSA-2007:0890
-
Red Hat Linux Advanced Workstation 2.1 php 4.1.2-2.19, php-imap 4.1.2-2.19, php-ldap 4.1.2-2.19, php-odbc 4.1.2-2.19, php-mysql 4.1.2-2.19, php-pgsql 4.1.2-2.19, +1 morefixed: vendor fix RHSA-2007:0888
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-30117)
- Published
Exploit prediction
8.88% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-30117 PHP 5.1.6 - 'Chunk_Split()' Integer Overflow remote, 2007-05-31
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-189 Numeric Errors
- Technology feeds
References
-
php.net
/releases/5_2_3.php
patch
-
redhat.com
/support/errata/RHSA-2007-0888.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2008-01/msg00006.html
vendor-advisory
-
openpkg.com
/security/advisories/OpenPKG-SA-2007.020.html
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2007-September/msg00354.html
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200710-02.xml
vendor-advisory
-
slackware.com
/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.335136
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2007-September/msg00397.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2007-0889.html
vendor-advisory
-
trustix.org
/errata/2007/0023/
vendor-advisory
-
usn.ubuntu.com
/549-1/
vendor-advisory
-
securityfocus.com
/archive/1/491693/100/0/threaded
vendor-advisory
-
slackware.com
/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.482863
vendor-advisory
-
h20000.www2.hp.com
/bizsupport/TechSupport/Document.jsp?objectID=c01178795
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:187
vendor-advisory
-
h20000.www2.hp.com
/bizsupport/TechSupport/Document.jsp?objectID=c01345501
vendor-advisory
-
ubuntu.com
/usn/usn-549-2
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-0890.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-0891.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2007-07/msg00006.html
vendor-advisory
-
secunia.com
/advisories/26231
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27110
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/26048
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/28658
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/26967
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27351
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/27864
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/30040
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/26930
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/25456
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/25535
vendor-advisory
-
secunia.com
/advisories/26838
vendor-advisory
-
secunia.com
/advisories/26871
vendor-advisory
-
secunia.com
/advisories/26895
vendor-advisory
-
secunia.com
/advisories/27037
vendor-advisory
-
secunia.com
/advisories/27102
vendor-advisory
-
secunia.com
/advisories/27377
vendor-advisory
-
secunia.com
/advisories/27545
vendor-advisory
-
secunia.com
/advisories/28318
vendor-advisory
- launchpad.net /bugs/173043
- sec-consult.com /291.html
-
secunia.com
/advisories/28750
third-party-advisory
-
vupen.com
/english/advisories/2008/0059
vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/39398
vdb-entry
- php.net /releases/4_4_8.php
-
securitytracker.com
/id?1018186
vdb-entry
-
vupen.com
/english/advisories/2008/0398
vdb-entry
-
osvdb.org
/36083
vdb-entry
-
secunia.com
/advisories/28936
third-party-advisory
- issues.rpath.com /browse/RPL-1693
- support.avaya.com /elmodocs2/security/ASA-2007-449.htm
- php.net /ChangeLog-4.php
Sources
- CVE List CVE-2007-2872
- NVD CVE-2007-2872
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.