CVE-2012-4409 EXPLOIT
6.8
MEDIUM · CVSS 2.0 · EPSS 15.1% (pctl 97)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 6.8 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| EPSS | 15.14% — more likely to be exploited than 97% of all CVEs |
| Weakness | CWE-119 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2012-11-21 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| mcrypt | mcrypt |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | mcrypt 2.5.8 - Local Stack Overflow | 2012-11-26 |
| exploit-db | mcrypt 2.6.8 - Stack Buffer Overflow (PoC) | 2012-11-26 |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html
- http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html
- http://secunia.com/advisories/50507
- http://secunia.com/advisories/51010
- http://www.openwall.com/lists/oss-security/2012/09/06/4
- http://www.securitytracker.com/id?1027532
- https://bugzilla.redhat.com/show_bug.cgi?id=855029
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/086519.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/087542.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-September/088281.html
- http://packetstormsecurity.org/files/116268/mcrypt-2.6.8-Buffer-Overflow-Proof-Of-Concept.html
- http://secunia.com/advisories/50507
- http://secunia.com/advisories/51010
- http://www.openwall.com/lists/oss-security/2012/09/06/4
- http://www.securitytracker.com/id?1027532
- https://bugzilla.redhat.com/show_bug.cgi?id=855029
→ the Explorer · watch your stack · NVD