{
    "id": "CVE-2007-1001",
    "published": "2007-04-06 00:19:00",
    "last_modified": "2026-06-16 22:36:44",
    "cvss_score": "6.8",
    "cvss_severity": "MEDIUM",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
    "cwe": "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.",
    "epss_score": "0.08321",
    "epss_percentile": "0.94767",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-29 18:17:06",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "php",
            "product": "php"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "29823",
            "title": "PHP 5.2.1 'GD' Extension - '.WBMP' File Integer Overflow",
            "date": "2007-04-07",
            "url": "https://www.exploit-db.com/exploits/29823"
        }
    ],
    "refs_list": [
        "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",
        "http://secunia.com/advisories/25151",
        "http://secunia.com/advisories/25445",
        "http://secunia.com/advisories/26235",
        "http://security.gentoo.org/glsa/glsa-200705-19.xml",
        "http://us2.php.net/releases/4_4_7.php",
        "http://us2.php.net/releases/5_2_2.php",
        "http://www.mandriva.com/security/advisories?name=MDKSA-2007:087",
        "http://www.mandriva.com/security/advisories?name=MDKSA-2007:088",
        "http://www.mandriva.com/security/advisories?name=MDKSA-2007:089",
        "http://www.mandriva.com/security/advisories?name=MDKSA-2007:090",
        "http://www.novell.com/linux/security/advisories/2007_32_php.html",
        "http://www.redhat.com/support/errata/RHSA-2007-0153.html",
        "http://www.redhat.com/support/errata/RHSA-2007-0162.html"
    ]
}