CVE-2012-4409

Severity CVSS v4.0:
Pending analysis
Type:
CWE-119 Buffer Errors
Publication date:
21/11/2012
Last modified:
11/04/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:mcrypt:mcrypt:*:*:*:*:*:*:*:* 2.6.8 (including)
cpe:2.3:a:mcrypt:mcrypt:2.6.4:*:*:*:*:*:*:*
cpe:2.3:a:mcrypt:mcrypt:2.6.5:*:*:*:*:*:*:*
cpe:2.3:a:mcrypt:mcrypt:2.6.6:*:*:*:*:*:*:*
cpe:2.3:a:mcrypt:mcrypt:2.6.7:*:*:*:*:*:*:*