Every CVE Search/ Get API key

CVE-2007-1001

Multiple integer overflows in the (1) createwbmp and (2) readwbmp functions in wbmp.c in the GD...

6.8 MediumPublic exploitFix available

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.

Exploit likelihood

8.44%Down 19.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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.

Record
CVE-2007-1001
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-189
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2007-1001
Updated
2026-11-02
EUVDEUVD-2007-0998 No score

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.

Record
EUVD-2007-0998
Updated
2026-11-03
GitHub AdvisoriesGHSA-62rc-79c5-9jv7 No score

Multiple integer overflows in the (1) createwbmp and (2) readwbmp functions in wbmp.c in the GD...

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.

Record
GHSA-62rc-79c5-9jv7
Updated
2026-11-02
OSV No score

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.

Record
CVE-2007-1001
Updated
2026-11-02
OSVDEBIAN-CVE-2007-1001 No score

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.

Record
DEBIAN-CVE-2007-1001
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libgd2
Debian:12
before 2.0.33-1
2.0.33-1
libgd2
Debian:13
before 2.0.33-1
2.0.33-1
libgd2
Debian:14
before 2.0.33-1
2.0.33-1
php
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-bcmath
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-cli
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-common
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-dba
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-debuginfo
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-devel
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
Show 145 moreShow less
Affected packages
PackageAffectedFixed
php-gd
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-imap
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-ldap
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-mbstring
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-mysql
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-ncurses
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-odbc
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-pdo
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-pgsql
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-snmp
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-soap
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-xml
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-xmlrpc
Red Hat:enterprise_linux:5::client_workstation
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-bcmath
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-cli
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-common
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-dba
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-debuginfo
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-devel
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-gd
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-imap
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-ldap
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-mbstring
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-mysql
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-ncurses
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-odbc
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-pdo
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-pgsql
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-snmp
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-soap
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-xml
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php-xmlrpc
Red Hat:enterprise_linux:5::server
before 0:5.1.6-11.el5
0:5.1.6-11.el5
php
Red Hat:enterprise_linux:3::as
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-debuginfo
Red Hat:enterprise_linux:3::as
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-devel
Red Hat:enterprise_linux:3::as
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-imap
Red Hat:enterprise_linux:3::as
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-ldap
Red Hat:enterprise_linux:3::as
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-mysql
Red Hat:enterprise_linux:3::as
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-odbc
Red Hat:enterprise_linux:3::as
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-pgsql
Red Hat:enterprise_linux:3::as
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php
Red Hat:enterprise_linux:3::desktop
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-debuginfo
Red Hat:enterprise_linux:3::desktop
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-devel
Red Hat:enterprise_linux:3::desktop
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-imap
Red Hat:enterprise_linux:3::desktop
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-ldap
Red Hat:enterprise_linux:3::desktop
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-mysql
Red Hat:enterprise_linux:3::desktop
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-odbc
Red Hat:enterprise_linux:3::desktop
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-pgsql
Red Hat:enterprise_linux:3::desktop
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php
Red Hat:enterprise_linux:3::es
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-debuginfo
Red Hat:enterprise_linux:3::es
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-devel
Red Hat:enterprise_linux:3::es
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-imap
Red Hat:enterprise_linux:3::es
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-ldap
Red Hat:enterprise_linux:3::es
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-mysql
Red Hat:enterprise_linux:3::es
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-odbc
Red Hat:enterprise_linux:3::es
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-pgsql
Red Hat:enterprise_linux:3::es
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php
Red Hat:enterprise_linux:3::ws
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-debuginfo
Red Hat:enterprise_linux:3::ws
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-devel
Red Hat:enterprise_linux:3::ws
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-imap
Red Hat:enterprise_linux:3::ws
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-ldap
Red Hat:enterprise_linux:3::ws
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-mysql
Red Hat:enterprise_linux:3::ws
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-odbc
Red Hat:enterprise_linux:3::ws
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php-pgsql
Red Hat:enterprise_linux:3::ws
before 0:4.3.2-40.ent
0:4.3.2-40.ent
php
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-debuginfo
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-devel
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-domxml
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-gd
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-imap
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-ldap
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-mbstring
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-mysql
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-ncurses
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-odbc
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-pear
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-pgsql
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-snmp
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-xmlrpc
Red Hat:enterprise_linux:4::as
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-debuginfo
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-devel
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-domxml
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-gd
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-imap
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-ldap
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-mbstring
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-mysql
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-ncurses
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-odbc
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-pear
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-pgsql
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-snmp
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-xmlrpc
Red Hat:enterprise_linux:4::desktop
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-debuginfo
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-devel
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-domxml
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-gd
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-imap
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-ldap
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-mbstring
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-mysql
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-ncurses
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-odbc
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-pear
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-pgsql
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-snmp
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-xmlrpc
Red Hat:enterprise_linux:4::es
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-debuginfo
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-devel
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-domxml
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-gd
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-imap
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-ldap
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-mbstring
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-mysql
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-ncurses
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-odbc
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-pear
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-pgsql
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-snmp
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php-xmlrpc
Red Hat:enterprise_linux:4::ws
before 0:4.3.9-3.22.4
0:4.3.9-3.22.4
php
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-bcmath
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-cli
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-common
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-dba
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-debuginfo
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-devel
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-gd
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-imap
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-ldap
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-mbstring
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-mysql
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-ncurses
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-odbc
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-pdo
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-pgsql
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-snmp
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-soap
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-xml
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6
php-xmlrpc
Red Hat:rhel_application_stack:1
before 0:5.1.6-3.el4s1.6
0:5.1.6-3.el4s1.6

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBPHP 5.2.1 'GD' Extension - '.WBMP' File Integer Overflow2007-04-07

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2007-1001 is a medium vulnerability (CVSS 6.8) in Php, published April 6, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 8.44%, the 95th percentile. Fixed in libgd2 2.0.33-1.

References

Show 72 moreShow less
MoveEnter Open