Every CVE Search/ Get API key

CVE-2012-4409

Stack-based buffer overflow in the check_file_head function in extra.c in mcrypt 2.6.8 and...

6.8 MediumPublic exploitFix available

CVE-2012-4409 is a medium vulnerability (CVSS 6.8) in Mcrypt, published November 21, 2012. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 15.1%, the 96th percentile. Fixed in mcrypt 2.6.8-1.1.

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.

Exploit likelihood

15.1%Down 14.8 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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.

Record
CVE-2012-4409
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2012-4409
Updated
2026-11-02
EUVDEUVD-2012-4346 No score

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.

Record
EUVD-2012-4346
Updated
2026-11-03
GitHub AdvisoriesGHSA-x2pj-g5q5-wh2x No score

Stack-based buffer overflow in the check_file_head function in extra.c in mcrypt 2.6.8 and...

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.

Record
GHSA-x2pj-g5q5-wh2x
Weakness
CWE-119
Updated
2026-11-02
OSV No score

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.

Record
CVE-2012-4409
Updated
2026-11-02
OSVDEBIAN-CVE-2012-4409 No score

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.

Record
DEBIAN-CVE-2012-4409
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mcrypt
Debian:12
before 2.6.8-1.1
2.6.8-1.1
mcrypt
Debian:13
before 2.6.8-1.1
2.6.8-1.1
mcrypt
Debian:14
before 2.6.8-1.1
2.6.8-1.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBmcrypt 2.5.8 - Local Stack Overflow2012-11-26
Exploit-DBmcrypt 2.6.8 - Stack Buffer Overflow (PoC)2012-11-26

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

References

Show 6 moreShow less
MoveEnter Open