{
    "id": "CVE-2007-1582",
    "published": "2007-03-21 23:19:00",
    "last_modified": "2026-06-16 22:37:52",
    "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": null,
    "description": "The resource system in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting certain functions in the GD (ext/gd) extension and unspecified other extensions via a userspace error handler, which can be used to destroy and modify internal resources.",
    "epss_score": "0.05924",
    "epss_percentile": "0.93014",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-30 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": "3525",
            "title": "PHP 4.4.6/5.2.1 - ext/gd Already Freed Resources Usage",
            "date": "2007-03-20",
            "url": "https://www.exploit-db.com/exploits/3525"
        }
    ],
    "refs_list": [
        "http://secunia.com/advisories/24542",
        "http://www.php-security.org/MOPB/MOPB-27-2007.html",
        "http://www.securityfocus.com/bid/23046",
        "https://www.exploit-db.com/exploits/3525",
        "http://secunia.com/advisories/24542",
        "http://www.php-security.org/MOPB/MOPB-27-2007.html",
        "http://www.securityfocus.com/bid/23046",
        "https://www.exploit-db.com/exploits/3525"
    ]
}