Description
The III_dequantize_sample function in layer3.c in mpglib, as used in libmpgdecoder.a in LAME 3.99.5 and other products, allows remote attackers to cause a denial of service (stack-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted audio 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 | lame | 3.99.5+repack1-8 | — |
| Debian 13 | lame | 3.99.5+repack1-8 | — |
| Debian 12 | lame | 3.99.5+repack1-8 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | lame | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 12 SP2 | lame | 3.100-6.1 | openSUSE-SU-2018:0544-1, openSUSE-SU-2018:0543-1 |
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
- LAME 3.99.5 - 'III_dequantize_sample' Stack Buffer Overflow EDB-42259 · dos · Jun 26, 2017 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- openSUSE-SU-2018:0543-1 Security update for lame SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2018:0544-1 Security update for lame SUSE / openSUSE Security Updates · Feb 4, 2026