Gentoo Logo

mpg123: Buffer overflow vulnerabilities


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200410-27 / mpg123
Release Date October 27, 2004
Latest Revision May 22, 2006: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-sound/mpg123 < 0.59s-r5 >= 0.59s-r5 All supported architectures

Related bugreports: #68343


Buffer overflow vulnerabilities have been found in mpg123 which could lead to execution of arbitrary code.

2.  Impact Information


mpg123 is a MPEG Audio Player.


Buffer overflow vulnerabilities in the getauthfromURL() and http_open() functions have been reported by Carlos Barros. Additionally, the Gentoo Linux Sound Team fixed additional boundary checks which were found to be lacking.


By enticing a user to open a malicious playlist or URL or making use of a specially-crafted symlink, an attacker could possibly execute 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-r5"

4.  References


Page updated October 27, 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.