mpg123: Playlist buffer overflow
Gentoo Linux Security Advisory
||GLSA 200412-22 / mpg123
||December 21, 2004
||December 21, 2004: 01
All supported architectures
mpg123 is vulnerable to a buffer overflow that allows an attacker to
execute arbitrary code through the use of a malicious playlist.
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.
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"