CVEvulnerability

CVE-2012-4409

6.8 MEDIUM Published 2012-11-21 Modified 2026-06-16 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