{"api_version":"1","generated_at":"2026-07-23T01:54:40+00:00","cve":"CVE-2012-4409","urls":{"html":"https://cve.report/CVE-2012-4409","api":"https://cve.report/api/cve/CVE-2012-4409.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-4409","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-4409"},"summary":{"title":"CVE-2012-4409","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.","state":"PUBLISHED","assigner":"redhat","published_at":"2012-11-21 23:55:01","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-119","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.8","severity":"","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","data":{"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"}}],"references":[{"url":"http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html","name":"http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"mcrypt 2.6.8 Buffer Overflow Proof Of Concept ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2012/09/06/4","name":"http://www.openwall.com/lists/oss-security/2012/09/06/4","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Re: CVE request - mcrypt buffer overflow flaw","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 17 Update: mcrypt-2.6.8-9.fc17","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 18 Update: mcrypt-2.6.8-9.fc18","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/50507","name":"http://secunia.com/advisories/50507","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"About Secunia Research | Flexera","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/51010","name":"http://secunia.com/advisories/51010","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security Advisory SA51010 - SUSE update for mcrypt - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 16 Update: mcrypt-2.6.8-9.fc16","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=855029","name":"https://bugzilla.redhat.com/show_bug.cgi?id=855029","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Bug 855029 – CVE-2012-4409 mcrypt: buffer overflow when processing encrypted file headers","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securitytracker.com/id?1027532","name":"http://www.securitytracker.com/id?1027532","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"MCrypt Stack Overflow Lets Remote Users Execute Arbitrary Code - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-4409","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4409","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"4409","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mcrypt","cpe5":"mcrypt","cpe6":"2.6.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"4409","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mcrypt","cpe5":"mcrypt","cpe6":"2.6.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"4409","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mcrypt","cpe5":"mcrypt","cpe6":"2.6.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"4409","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mcrypt","cpe5":"mcrypt","cpe6":"2.6.7","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"4409","vulnerable":"1","versionEndIncluding":"2.6.8","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mcrypt","cpe5":"mcrypt","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T20:35:09.525Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"FEDORA-2012-13599","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html"},{"name":"FEDORA-2012-13657","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html"},{"name":"FEDORA-2012-13656","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html"},{"name":"[oss-security] 20120906 Re: CVE request - mcrypt buffer overflow flaw","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2012/09/06/4"},{"name":"51010","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/51010"},{"name":"1027532","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"],"url":"http://www.securitytracker.com/id?1027532"},{"name":"50507","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/50507"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=855029"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-09-06T00:00:00.000Z","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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2013-02-14T10:00:00.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"FEDORA-2012-13599","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html"},{"name":"FEDORA-2012-13657","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html"},{"tags":["x_refsource_MISC"],"url":"http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html"},{"name":"FEDORA-2012-13656","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html"},{"name":"[oss-security] 20120906 Re: CVE request - mcrypt buffer overflow flaw","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2012/09/06/4"},{"name":"51010","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/51010"},{"name":"1027532","tags":["vdb-entry","x_refsource_SECTRACK"],"url":"http://www.securitytracker.com/id?1027532"},{"name":"50507","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/50507"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=855029"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2012-4409","datePublished":"2012-11-21T23:00:00.000Z","dateReserved":"2012-08-21T00:00:00.000Z","dateUpdated":"2024-08-06T20:35:09.525Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-11-21 23:55:01","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-119","n/a"],"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}]},"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"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"4409","Ordinal":"1","Title":"CVE-2012-4409","CVE":"CVE-2012-4409","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"4409","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2012-4409"},{"CveYear":"2012","CveId":"4409","Ordinal":"2","NoteData":"2012-11-21","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"4409","Ordinal":"3","NoteData":"2013-02-14","Type":"Other","Title":"Modified"}]}}}