{
    "id": "CVE-2007-1581",
    "published": "2007-03-21 23:19:00",
    "last_modified": "2026-06-16 22:37:52",
    "cvss_score": "9.3",
    "cvss_severity": "HIGH",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
    "cwe": "CWE-94",
    "description": "The resource system in PHP 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting the hash_update_file function via a userspace (1) error or (2) stream handler, which can then be used to destroy and modify internal resources.  NOTE: it was later reported that PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 are also affected.",
    "epss_score": "0.07917",
    "epss_percentile": "0.94561",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-10-03 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": "3529",
            "title": "PHP 5.2.1 - 'hash_update_file()' Freed Resource Usage",
            "date": "2007-03-20",
            "url": "https://www.exploit-db.com/exploits/3529"
        }
    ],
    "refs_list": [
        "http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html",
        "http://secunia.com/advisories/24542",
        "http://www.php-security.org/MOPB/MOPB-28-2007.html",
        "http://www.securityfocus.com/bid/23062",
        "https://exchange.xforce.ibmcloud.com/vulnerabilities/33248",
        "https://www.exploit-db.com/exploits/3529",
        "http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html",
        "http://secunia.com/advisories/24542",
        "http://www.php-security.org/MOPB/MOPB-28-2007.html",
        "http://www.securityfocus.com/bid/23062",
        "https://exchange.xforce.ibmcloud.com/vulnerabilities/33248",
        "https://www.exploit-db.com/exploits/3529"
    ]
}