GLSA-201405-19 : MCrypt: User-assisted execution of arbitrary code

Medium Nessus Plugin ID 74061


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201405-19 (MCrypt: User-assisted execution of arbitrary code)

Multiple vulnerabilities have been discovered in MCrypt:
A boundary error in MCrypt could cause a stack-based buffer overflow (CVE-2012-4409).
MCrypt contains multiple format string errors (CVE-2012-4426).
MCrypt does not properly handle long file names, which could cause a stack-based buffer overflow (CVE-2012-4527).
Impact :

A remote attacker could entice a user to open a specially crafted file using MCrypt, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.
Workaround :

There is no known workaround at this time.


All MCrypt users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-crypt/mcrypt-2.6.8-r2'

See Also

Plugin Details

Severity: Medium

ID: 74061

File Name: gentoo_GLSA-201405-19.nasl

Version: $Revision: 1.3 $

Type: local

Published: 2014/05/19

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:ND

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:mcrypt, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2014/05/18

Reference Information

CVE: CVE-2012-4409, CVE-2012-4426, CVE-2012-4527

BID: 55425, 55557, 56114

GLSA: 201405-19