CVE-2007-1001 json
Multiple integer overflows in the (1) createwbmp and (2) readwbmp functions in wbmp.c in the GD library (libgd) in PHP 4.0.0 through 4.4.6…
published 19y ago modified 4mo ago also EUVD-2007-0998
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.4%
- EPSS 8.4% chance of exploitation in 30 days, percentile 95%
- public exploits
- 1
- Exploit-DB
Summary
Multiple integer overflows in the (1) createwbmp and (2) readwbmp functions in wbmp.c in the GD library (libgd) in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allow context-dependent attackers to execute arbitrary code via Wireless Bitmap (WBMP) images with large width or height values.
Patch / fix
- libgd2 Debian 14, Debian 13, Debian 12 2.0.33-1
debian advisories DEBIAN-CVE-2007-1001
- php RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.6
- php-gd RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.6
- php-cli RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.6
- php-dba RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.6
- php-pdo RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.6
- php-xml RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.6
- php-imap RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.6
- php-ldap RHEL 1 APPLICATION_STACK 5.1.6-3.el4s1.6
red hat advisories RHSA-2007:0162RHSA-2007:0155RHSA-2007:0153
Is CVE-2007-1001 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-1001 updated
security flaw
-
Red Hat Application Stack v1 for Enterprise Linux AS (v.4) php 5.1.6-3.el4s1.6, php-gd 5.1.6-3.el4s1.6, php-cli 5.1.6-3.el4s1.6, php-dba 5.1.6-3.el4s1.6, php-pdo 5.1.6-3.el4s1.6, php-xml 5.1.6-3.el4s1.6, +12 more Red Hat Application Stack v1 for Enterprise Linux ES (v.4) php 5.1.6-3.el4s1.6, php-gd 5.1.6-3.el4s1.6, php-cli 5.1.6-3.el4s1.6, php-dba 5.1.6-3.el4s1.6, php-pdo 5.1.6-3.el4s1.6, php-xml 5.1.6-3.el4s1.6, +12 morefixed: vendor fix RHSA-2007:0162
-
Red Hat Desktop version 3 php 4.3.2-40.ent, php-imap 4.3.2-40.ent, php-ldap 4.3.2-40.ent, php-odbc 4.3.2-40.ent, php-mysql 4.3.2-40.ent, php-pgsql 4.3.2-40.entfixed: vendor fix RHSA-2007:0155
-
Red Hat Enterprise Linux (v. 5 server) php 5.1.6-11.el5, php-gd 5.1.6-11.el5, php-cli 5.1.6-11.el5, php-dba 5.1.6-11.el5, php-pdo 5.1.6-11.el5, php-xml 5.1.6-11.el5, +12 morefixed: vendor fix RHSA-2007:0153
-
Red Hat Enterprise Linux AS version 3 php 4.3.2-40.ent, php-imap 4.3.2-40.ent, php-ldap 4.3.2-40.ent, php-odbc 4.3.2-40.ent, php-mysql 4.3.2-40.ent, php-pgsql 4.3.2-40.ent Red Hat Enterprise Linux AS version 4 php 4.3.9-3.22.4, php-gd 4.3.9-3.22.4, php-imap 4.3.9-3.22.4, php-ldap 4.3.9-3.22.4, php-odbc 4.3.9-3.22.4, php-pear 4.3.9-3.22.4, +7 more Red Hat Enterprise Linux Desktop version 4 php 4.3.9-3.22.4, php-gd 4.3.9-3.22.4, php-imap 4.3.9-3.22.4, php-ldap 4.3.9-3.22.4, php-odbc 4.3.9-3.22.4, php-pear 4.3.9-3.22.4, +7 morefixed: vendor fix RHSA-2007:0155
-
Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php 5.1.6-11.el5, php-gd 5.1.6-11.el5, php-cli 5.1.6-11.el5, php-dba 5.1.6-11.el5, php-pdo 5.1.6-11.el5, php-xml 5.1.6-11.el5, +12 morefixed: vendor fix RHSA-2007:0153
-
Red Hat Enterprise Linux ES version 3 php 4.3.2-40.ent, php-imap 4.3.2-40.ent, php-ldap 4.3.2-40.ent, php-odbc 4.3.2-40.ent, php-mysql 4.3.2-40.ent, php-pgsql 4.3.2-40.ent Red Hat Enterprise Linux ES version 4 php 4.3.9-3.22.4, php-gd 4.3.9-3.22.4, php-imap 4.3.9-3.22.4, php-ldap 4.3.9-3.22.4, php-odbc 4.3.9-3.22.4, php-pear 4.3.9-3.22.4, +7 more Red Hat Enterprise Linux WS version 3 php 4.3.2-40.ent, php-imap 4.3.2-40.ent, php-ldap 4.3.2-40.ent, php-odbc 4.3.2-40.ent, php-mysql 4.3.2-40.ent, php-pgsql 4.3.2-40.ent Red Hat Enterprise Linux WS version 4 php 4.3.9-3.22.4, php-gd 4.3.9-3.22.4, php-imap 4.3.9-3.22.4, php-ldap 4.3.9-3.22.4, php-odbc 4.3.9-3.22.4, php-pear 4.3.9-3.22.4, +7 morefixed: vendor fix RHSA-2007:0155
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
- Published
- First public exploit (EDB-29823)
Exploit prediction
8.44% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-14).
Exploits and checks
- EDB-29823 PHP 5.2.1 'GD' Extension - '.WBMP' File Integer Overflow dos, 2007-04-07
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
-
slackware.org
/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.470053
vendor-advisory
-
lists.apple.com
/archives/security-announce//2007/Jul/msg00004.html
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200705-19.xml
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-0162.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:090
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:087
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2007-0155.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:089
vendor-advisory
-
novell.com
/linux/security/advisories/2007_32_php.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:088
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-0153.html
vendor-advisory
-
vupen.com
/english/advisories/2007/2732
vdb-entry, vendor-advisory
-
secunia.com
/advisories/25056
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/25151
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/24909
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/24945
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/24924
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2007/1269
vdb-entry, vendor-advisory
-
secunia.com
/advisories/24965
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/25445
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/24814
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/26235
third-party-advisory, vendor-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/33453
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10179
vdb-entry, signature
-
securityfocus.com
/archive/1/466166/100/0/threaded
mailing-list
- us2.php.net /releases/4_4_7.php
-
securityfocus.com
/archive/1/464957/100/0/threaded
mailing-list
- cvs.php.net /viewvc.cgi/php-src/ext/gd/libgd/wbmp.c?r1=1.2.4.1&r2=1.2.4.1.8.1
- ifsec.blogspot.com /2007/04/php-521-wbmp-file-handling-integer.html
- issues.rpath.com /browse/RPL-1268
- us2.php.net /releases/5_2_2.php
- docs.info.apple.com /article.html?artnum=306172
-
securityfocus.com
/bid/23357
vdb-entry
-
securityfocus.com
/bid/25159
vdb-entry
- cvs.php.net /viewvc.cgi/php-src/ext/gd/libgd/wbmp.c?revision=1.2.4.1.8.1&view=markup
Sources
- CVE List CVE-2007-1001
- NVD CVE-2007-1001
Fencer Intel 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.