Description
Buffer overflow in the find_next_file function in playlist.c for mpg123 0.59r allows remote attackers to execute arbitrary code via a crafted MP3 playlist.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mpg123 | 0.59r-20 | — |
| Debian 13 | mpg123 | 0.59r-20 | — |
| Debian 12 | mpg123 | 0.59r-20 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- MPG123 0.59 - Find Next File Remote Client-Side Buffer Overflow EDB-24852 · remote · Dec 15, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- mpg123-findnextfile-bo(18626) vdb-entry
- http://tigger.uic.edu/~jlongs2/holes/mpg123.txt
- SUSE-SR:2005:001 vendor-advisory