Back
CVE-2007-1001
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…
Medium6.8EPSS 8.4%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 8.4% · top 5.0% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
n/a
- affected n/a
References (35)
- ADV-2007-2732 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- SSA:2007-127 (opens in a new tab)vendor-advisoryx_refsource_SLACKWAREx_transferred
- 25056 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25151 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- php-gd-overflow(33453) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- oval:org.mitre.oval:def:10179 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 20070418 rPSA-2007-0073-1 php php-mysql php-pgsql (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- APPLE-SA-2007-07-31 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- GLSA-200705-19 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- RHSA-2007:0162 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://us2.php.net/releases/4_4_7.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDKSA-2007:090 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 20070407 PHP <= 5.2.1 wbmp file handling integer overflow (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 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 (opens in a new tab)x_refsource_MISCx_transferred
- 24909 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://ifsec.blogspot.com/2007/04/php-521-wbmp-file-handling-integer.html (opens in a new tab)x_refsource_MISCx_transferred
- MDKSA-2007:087 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 24945 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://issues.rpath.com/browse/RPL-1268 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://us2.php.net/releases/5_2_2.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://docs.info.apple.com/article.html?artnum=306172 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 24924 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 23357 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- RHSA-2007:0155 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- ADV-2007-1269 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 24965 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 25159 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/wbmp.c?revision=1.2.4.1.8.1&view=markup (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDKSA-2007:089 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 25445 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 24814 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- SUSE-SA:2007:032 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- MDKSA-2007:088 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 26235 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2007:0153 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .