{
  "modified": "2025-08-09T19:01:28Z",
  "published": "2012-11-21T23:55:01Z",
  "id": "CVE-2012-4409",
  "details": "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.",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/50507"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/51010"
    },
    {
      "type": "EVIDENCE",
      "url": "http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=855029"
    },
    {
      "type": "WEB",
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html"
    },
    {
      "type": "WEB",
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html"
    },
    {
      "type": "WEB",
      "url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2012/09/06/4"
    },
    {
      "type": "WEB",
      "url": "http://www.securitytracker.com/id?1027532"
    }
  ]
}
