Description
mpg321.c in mpg321 0.3.2-1 does not properly manage memory for use with libmad 0.15.1b, which allows remote attackers to cause a denial of service (memory corruption seen in a crash in the mad_decoder_run function in decoder.c in libmad) via a crafted MP3 file.
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 | mpg321 | 0.3.2-2 | — |
| Debian 13 | mpg321 | 0.3.2-2 | — |
| Debian 12 | mpg321 | 0.3.2-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | mpg321 | No fix yet | — |
| Ubuntu 16.04 LTS | mpg321 | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libmad | 0.15.1b-r9 | — |
| Alpine v3.23 | libmad | 0.15.1b-r9 | — |
| Alpine v3.22 | libmad | 0.15.1b-r9 | — |
| Alpine v3.21 | libmad | 0.15.1b-r9 | — |
| Alpine v3.20 | libmad | 0.15.1b-r9 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libmad | 0.15.1b-r9 | — |
| Alpine v3.18 | libmad | 0.15.1b-r9 | — |
| Alpine v3.17 | libmad | 0.15.1b-r9 | — |
| Alpine v3.16 | libmad | 0.15.1b-r9 | — |
| Alpine v3.15 | libmad | 0.15.1b-r9 | — |
| Alpine v3.14 | libmad | 0.15.1b-r9 | — |
| Alpine v3.13 | libmad | 0.15.1b-r9 | — |
| Alpine v3.12 | libmad | 0.15.1b-r9 | — |
| Alpine v3.11 | libmad | 0.15.1b-r9 | — |
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
- libmad 0.15.1b - 'mp3' Memory Corruption EDB-42409 · dos · Aug 1, 2017
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.