CVEvulnerability
CVE-2012-4409
6.8 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2012-11-21
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- 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.
Affected configurations
• mcrypt mcrypt (<= 2.6.8)
• mcrypt mcrypt 2.6.4
• mcrypt mcrypt 2.6.5
• mcrypt mcrypt 2.6.6
• mcrypt mcrypt 2.6.7
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html lists.fedoraproject.org
- http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html Exploit
- http://secunia.com/advisories/50507 Vendor Advisory
- http://secunia.com/advisories/51010 secunia.com
- http://www.openwall.com/lists/oss-security/2012/09/06/4 www.openwall.com
- http://www.securitytracker.com/id?1027532 www.securitytracker.com
- https://bugzilla.redhat.com/show_bug.cgi?id=855029 bugzilla.redhat.com
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html lists.fedoraproject.org
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html lists.fedoraproject.org
- http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html Exploit
- http://secunia.com/advisories/50507 Vendor Advisory
- http://secunia.com/advisories/51010 secunia.com
- http://www.openwall.com/lists/oss-security/2012/09/06/4 www.openwall.com
- http://www.securitytracker.com/id?1027532 www.securitytracker.com
- https://bugzilla.redhat.com/show_bug.cgi?id=855029 bugzilla.redhat.com