{"id":"CVE-2007-1001","published":"2007-04-06T00:00:00Z","modified":"2024-08-07T12:43:21Z","title":"Multiple integer overflows in the (1) createwbmp and (2) readwbmp functions in wbmp.c in the GD library (libgd) in PHP…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08438,"percentile":0.95128,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.vupen.com/english/advisories/2007/2732","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.slackware.org/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.470053","tags":["vendor-advisory","x_refsource_SLACKWARE"]},{"url":"http://secunia.com/advisories/25056","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/25151","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33453","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10179","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.securityfocus.com/archive/1/466166/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://security.gentoo.org/glsa/glsa-200705-19.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0162.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://us2.php.net/releases/4_4_7.php","tags":["x_refsource_CONFIRM"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:090","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.securityfocus.com/archive/1/464957/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/wbmp.c?r1=1.2.4.1&r2=1.2.4.1.8.1","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/24909","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://ifsec.blogspot.com/2007/04/php-521-wbmp-file-handling-integer.html","tags":["x_refsource_MISC"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:087","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/24945","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://issues.rpath.com/browse/RPL-1268","tags":["x_refsource_CONFIRM"]},{"url":"http://us2.php.net/releases/5_2_2.php","tags":["x_refsource_CONFIRM"]},{"url":"http://docs.info.apple.com/article.html?artnum=306172","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/24924","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/23357","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://rhn.redhat.com/errata/RHSA-2007-0155.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.vupen.com/english/advisories/2007/1269","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/24965","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/25159","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/wbmp.c?revision=1.2.4.1.8.1&view=markup","tags":["x_refsource_CONFIRM"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:089","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/25445","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/24814","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:088","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/26235","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0153.html","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":19.03},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2007-04-07"},"first":{"date":"2007-04-07","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/29823"},"provenance":"source"},"summary":{"text":"The flaw is a set of integer overflows in the createwbmp and readwbmp functions in wbmp.c, which belong to the GD graphics library (libgd) bundled with PHP. Specifically, the affected code covers PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1. An attacker who supplies a crafted Wireless Bitmap (WBMP) image with large width or height values can execute arbitrary code, provided the vulnerable GD code path processes that image.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:55:21Z"},"euvd":{"id":"EUVD-2007-0998","exploited":false,"provenance":"source"},"exploits":[{"id":29823,"url":"https://www.exploit-db.com/exploits/29823","title":"PHP 5.2.1 'GD' Extension - '.WBMP' File Integer Overflow","date":"2007-04-07","verified":true,"provenance":"source"}]}