Live threats

All CVEs / Mcrypt

CVE-2012-4409Mcrypt

Medium 6.8 No auth neededHigh EPSS

Priority
57
CVSS 2.0
6.8
EPSS
15.1%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Nov 21, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mcrypt.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
mcryptmcrypt≤ 2.6.8
mcryptmcrypt2.6.4
mcryptmcrypt2.6.5
mcryptmcrypt2.6.6
mcryptmcrypt2.6.7

Official sources

References

Links published by the sources. Open them with care.