What’s Vulnerable › Vulnerabilities
CVE-2007-1001
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 8.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2007-04-06 · updated 2026-06-16
- Weakness: CWE-189
Description
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.
Affected products
- PHP: 4.0, 4.0-beta_4_patch1, 4.0-beta1, 4.0-beta2, 4.0-beta3, 4.0-beta4 (+69)
References
- 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
- http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/wbmp.c?revision=1.2.4.1.8.1&view=markup
- http://docs.info.apple.com/article.html?artnum=306172
- http://ifsec.blogspot.com/2007/04/php-521-wbmp-file-handling-integer.html
- http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html
- http://rhn.redhat.com/errata/RHSA-2007-0155.html
- http://secunia.com/advisories/24814
- http://secunia.com/advisories/24909
- http://secunia.com/advisories/24924
- http://secunia.com/advisories/24945
- http://secunia.com/advisories/24965
- http://secunia.com/advisories/25056
Get alerted when CVE-2007-1001 or the next vulnerability affects your stack