Gentoo Logo

mpg123: Playlist buffer overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200412-22 / mpg123
Release Date December 21, 2004
Latest Revision December 21, 2004: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-sound/mpg123 < 0.59s-r8 >= 0.59s-r8 All supported architectures

Related bugreports: #74692


mpg123 is vulnerable to a buffer overflow that allows an attacker to execute arbitrary code through the use of a malicious playlist.

2.  Impact Information


mpg123 is a MPEG Audio Player.


Bartlomiej Sieka discovered that mpg123 contains an unsafe strcat() to an array in playlist.c. This code vulnerability may lead to a buffer overflow.


A remote attacker could craft a malicious playlist which, when used, would result in the execution of arbitrary code with the rights of the user running mpg123.

3.  Resolution Information


There is no known workaround at this time.


All mpg123 users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/mpg123-0.59s-r8"

4.  References


Page updated December 21, 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.