Skip to content

CVE-2012-4409 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....

MediumCVSS 6.8 EPSS 15.1%
Published
Updated
Exploit status
No public exploit known

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 products

ProductAffected versionsFixed in
debian/mcrypt(Debian:12) < 2.6.8-1.1 2.6.8-1.1
debian/mcrypt(Debian:13) < 2.6.8-1.1 2.6.8-1.1
debian/mcrypt(Debian:14) < 2.6.8-1.1 2.6.8-1.1
mcrypt <= 2.6.8 No fix listed
mcrypt = 2.6.4 No fix listed
mcrypt = 2.6.5 No fix listed
mcrypt = 2.6.6 No fix listed
mcrypt = 2.6.7 No fix listed

References