{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"not yet assigned\"}"}}}], "affected": [{"vendor": "debian", "product": "mcrypt", "versions": [{"status": "affected", "version": "0", "lessThan": "2.6.8-1.1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2012-4409"}], "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2012-11-21T23:00:00.000Z", "x_subShortName": "debian"}}, {"affected": [{"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "https://www.cve.org/CVERecord?id=CVE-2012-4409"}], "descriptions": [{"lang": "en", "value": "not defined"}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2000-01-01T00:00:00Z", "x_subShortName": "canonical"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 6.8, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:mcrypt:mcrypt:*:*:*:*:*:*:*:*", "cpe:2.3:a:mcrypt:mcrypt:2.6.4:*:*:*:*:*:*:*", "cpe:2.3:a:mcrypt:mcrypt:2.6.5:*:*:*:*:*:*:*", "cpe:2.3:a:mcrypt:mcrypt:2.6.6:*:*:*:*:*:*:*", "cpe:2.3:a:mcrypt:mcrypt:2.6.7:*:*:*:*:*:*:*"], "vendor": "mcrypt", "product": "mcrypt", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "2.6.8"}, {"status": "affected", "version": "2.6.4"}, {"status": "affected", "version": "2.6.5"}, {"status": "affected", "version": "2.6.6"}, {"status": "affected", "version": "2.6.7"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html", "tags": ["exploit"]}, {"url": "http://secunia.com/advisories/50507", "tags": ["vendor-advisory"]}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html"}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html"}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html"}, {"url": "http://secunia.com/advisories/51010"}, {"url": "http://www.openwall.com/lists/oss-security/2012/09/06/4"}, {"url": "http://www.securitytracker.com/id?1027532"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=855029"}], "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."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-119", "description": "CWE-119"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2012-11-21T23:55:01Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2012-4409", "state": "PUBLISHED", "dateUpdated": "2025-04-11T00:51:21Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2012-11-21T23:55:01Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}