{"id":"CVE-2012-4409","sourceIdentifier":"secalert@redhat.com","published":"2012-11-21T23:55:01.757","lastModified":"2026-06-16T23:44:57.773","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Desbordamiento de búfer basado en pila en la función de check_file_head en extra.c en mcrypt v2.6.8 y anteriores permite a atacantes remotos asistidos por el usuario ejecutar código arbitrario a través de un archivo cifrado con una cabecera diseñada con datos largos salt que no se utilizan con cuidado durante el descifrado."}],"affected":[{"source":"secalert@redhat.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-119"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:mcrypt:mcrypt:*:*:*:*:*:*:*:*","versionEndIncluding":"2.6.8","matchCriteriaId":"0D56FA13-A182-45D4-B0A4-64A9B1B39107"},{"vulnerable":true,"criteria":"cpe:2.3:a:mcrypt:mcrypt:2.6.4:*:*:*:*:*:*:*","matchCriteriaId":"C81CDF44-C8E5-4BD1-9C9A-BDA2628CD974"},{"vulnerable":true,"criteria":"cpe:2.3:a:mcrypt:mcrypt:2.6.5:*:*:*:*:*:*:*","matchCriteriaId":"DAF83FD3-8E7A-4AA6-B6B7-B38C2D51C05A"},{"vulnerable":true,"criteria":"cpe:2.3:a:mcrypt:mcrypt:2.6.6:*:*:*:*:*:*:*","matchCriteriaId":"FBF3A07F-3E0B-479A-8765-9CEBEC9A8438"},{"vulnerable":true,"criteria":"cpe:2.3:a:mcrypt:mcrypt:2.6.7:*:*:*:*:*:*:*","matchCriteriaId":"2326E428-57F7-41FA-8919-B5E939AE2FCD"}]}]}],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html","source":"secalert@redhat.com"},{"url":"http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html","source":"secalert@redhat.com","tags":["Exploit"]},{"url":"http://secunia.com/advisories/50507","source":"secalert@redhat.com","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/51010","source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2012/09/06/4","source":"secalert@redhat.com"},{"url":"http://www.securitytracker.com/id?1027532","source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=855029","source":"secalert@redhat.com"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]},{"url":"http://secunia.com/advisories/50507","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/51010","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2012/09/06/4","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id?1027532","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=855029","source":"af854a3a-2127-422b-91ae-364da2661108"}]}