{
    "id": "CVE-2012-4409",
    "published": "2012-11-21 23:55:01",
    "last_modified": "2026-06-16 23:44:57",
    "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-119",
    "description": "Stack-based buffer overflow in the check_file_head function in extra.c in mcrypt 2.6.8 and earlier allows user-assisted remote attackers to execute arbitrary code via an encrypted file with a crafted header containing long salt data that is not properly handled during decryption.",
    "epss_score": "0.15138",
    "epss_percentile": "0.96630",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-09-27 18:17:11",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "mcrypt",
            "product": "mcrypt"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "22928",
            "title": "mcrypt 2.5.8 - Local Stack Overflow",
            "date": "2012-11-26",
            "url": "https://www.exploit-db.com/exploits/22928"
        },
        {
            "source": "exploit-db",
            "ref_id": "22938",
            "title": "mcrypt 2.6.8 - Stack Buffer Overflow (PoC)",
            "date": "2012-11-26",
            "url": "https://www.exploit-db.com/exploits/22938"
        }
    ],
    "refs_list": [
        "http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html",
        "http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html",
        "http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html",
        "http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html",
        "http://secunia.com/advisories/50507",
        "http://secunia.com/advisories/51010",
        "http://www.openwall.com/lists/oss-security/2012/09/06/4",
        "http://www.securitytracker.com/id?1027532",
        "https://bugzilla.redhat.com/show_bug.cgi?id=855029",
        "http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html",
        "http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html",
        "http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html",
        "http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html",
        "http://secunia.com/advisories/50507",
        "http://secunia.com/advisories/51010",
        "http://www.openwall.com/lists/oss-security/2012/09/06/4",
        "http://www.securitytracker.com/id?1027532",
        "https://bugzilla.redhat.com/show_bug.cgi?id=855029"
    ]
}