Gentoo Logo

Remote buffer overflow in MPlayer


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200403-13 / mplayer
Release Date March 31, 2004
Latest Revision October 11, 2006: 03
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-video/mplayer <= 0.92 >= 0.92-r1 x86 and sparc
media-video/mplayer <= 1.0_pre2 >= 1.0_pre2-r1 AMD64
media-video/mplayer <= 1.0_pre3 >= 1.0_pre3-r3 PowerPC

Related bugreports: #46246


MPlayer contains a remotely exploitable buffer overflow in the HTTP parser that may allow attackers to run arbitrary code on a user's computer.

2.  Impact Information


Quote from

"MPlayer is a movie player for LINUX (runs on many other Unices, and non-x86 CPUs, see the documentation). It plays most MPEG, VOB, AVI, OGG/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5 and even WMV movies, too."


A vulnerability exists in the MPlayer HTTP parser which may allow an attacker to craft a special HTTP header ("Location:") which will trick MPlayer into executing arbitrary code on the user's computer.


An attacker without privileges may exploit this vulnerability remotely, allowing arbitrary code to be executed in order to gain unauthorized access.

3.  Resolution Information


A workaround is not currently known for this issue. All users are advised to upgrade to the latest version of the affected package.


MPlayer may be upgraded as follows:

x86 and SPARC users should:

Code Listing 3.1: Resolution

# emerge sync

# emerge -pv ">=media-video/mplayer-0.92-r1"
# emerge ">=media-video/mplayer-0.92-r1"

AMD64 users should:

Code Listing 3.2: Resolution

# emerge sync

# emerge -pv ">=media-video/mplayer-1.0_pre2-r1"
# emerge ">=media-video/mplayer-1.0_pre2-r1"

PPC users should:

Code Listing 3.3: Resolution

# emerge sync

# emerge -pv ">=media-video/mplayer-1.0_pre3-r2"
# emerge ">=media-video/mplayer-1.0_pre3-r2"

4.  References


Page updated March 31, 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.