Gentoo Logo

MPlayer: GUI filename handling overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200408-01 / MPlayer
Release Date August 01, 2004
Latest Revision May 22, 2006: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-video/mplayer < 1.0_pre4-r7 >= 1.0_pre4-r7 All supported architectures

Related bugreports: #55456


When compiled with GUI support MPlayer is vulnerable to a remotely exploitable buffer overflow attack.

2.  Impact Information


MPlayer is a media player capable of handling multiple multimedia file formats.


The MPlayer GUI code contains several buffer overflow vulnerabilities, and at least one in the TranslateFilename() function is exploitable.


By enticing a user to play a file with a carefully crafted filename an attacker could execute arbitrary code with the permissions of the user running MPlayer.

3.  Resolution Information


To work around this issue, users can compile MPlayer without GUI support by disabling the gtk USE flag. All users are encouraged to upgrade to the latest available version of MPlayer.


All MPlayer users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge sync

# emerge -pv ">=media-video/mplayer-1.0_pre4-r7"
# emerge ">=media-video/mplayer-1.0_pre4-r7"

4.  References


Page updated August 01, 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.