Every CVESearch/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.

What does this mean?
Severity
6.8 MediumCVSS 2.0, NVD
Exploit chance
15.1%EPSS, 96th percentile
Exploitation
None known2 public exploits
Fixed in
2.6.8-1.1mcrypt +2 more

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.

Exploit likelihood

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

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

What each source reports

NVD Score used6.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 ListNo 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-4346No 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-wh2xNo 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
OSVNo 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-4409No 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

History

History
RecordedChangedSources
facts
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 6 moreShow less
MoveEnter Open