Description
A heap-based buffer over-read in the getbits function in src/libmpg123/getbits.h in mpg123 through 1.25.5 allows remote attackers to cause a possible denial-of-service (out-of-bounds read) or possibly have unspecified other impact 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 | mpg123 | 1.25.6-1 | — |
| Debian 13 | mpg123 | 1.25.6-1 | — |
| Debian 12 | mpg123 | 1.25.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | mpg123 | 1.22.4-1ubuntu0.1+esm2 | USN-4806-1 |
| Ubuntu Pro 14.04 LTS | mpg123 | 1.16.0-1ubuntu1.1+esm2 | USN-4806-1 |
Advisories 1
- USN-4806-1 mpg123 vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026