Gentoo Logo

mpg123: User-assisted execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200904-15 / mpg123
Release Date April 16, 2009
Latest Revision April 16, 2009: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-sound/mpg123 < 1.7.2 >= 1.7.2 All supported architectures

Related bugreports: #265342


An error in mpg123 might allow for the execution of arbitrary code.

2.  Impact Information


mpg123 is a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3.


The vendor reported a signedness error in the store_id3_text() function in id3.c, allowing for out-of-bounds memory access.


A remote attacker could entice a user to open an MPEG-1 Audio Layer 3 (MP3) file containing a specially crafted ID3 tag, possibly resulting in the execution of arbitrary code with the privileges of the user running the application.

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-1.7.2"

4.  References


Page updated April 16, 2009

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.