Gentoo Logo

Midnight Commander: Multiple vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200405-21 / MC
Release Date May 26, 2004
Latest Revision May 26, 2004: 01
Impact high
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
app-misc/mc <= 4.6.0-r6 >= 4.6.0-r7 All supported architectures

Related bugreports: #49990


Multiple security issues have been discovered in Midnight Commander including several buffer overflows and string format vulnerabilities.

2.  Impact Information


Midnight Commander is a visual console file manager.


Numerous security issues have been discovered in Midnight Commander, including several buffer overflow vulnerabilities, multiple vulnerabilities in the handling of temporary file and directory creation, and multiple format string vulnerabilities.


The buffer overflows and format string vulnerabilities may allow attackers to cause a denial of service or execute arbitrary code with permissions of the user running MC. The insecure creation of temporary files and directories could lead to a privilege escalation, including root privileges, for a local attacker.

3.  Resolution Information


There is no known workaround at this time. All users are advised to upgrade to version 4.6.0-r7 or higher of Midnight Commander.


All Midnight Commander users should upgrade to the latest stable version:

Code Listing 3.1: Resolution

# emerge sync
# emerge -pv ">=app-misc/mc-4.6.0-r7
# emerge ">=app-misc/mc-4.6.0-r7"

4.  References


Page updated May 26, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.