CVE-2024-10573Mpg123: buffer overflow when writing decoded pcm samples
An out-of-bounds write flaw was found in mpg123 when handling crafted streams. When decoding PCM, the libmpg123 may write past the end of a heap-located buffer. Consequently, heap corruption may happen, and arbitrary code execution is not discarded. The complexity required to exploit this flaw is considered high as the payload must be validated by the MPEG decoder and the PCM synth before execution. Additionally, to successfully execute the attack, the user must scan through the stream, making web live stream content (such as web radios) a very unlikely attack vector.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | mpg123 | Fixed | 1.32.5-1ubuntu1.1 | UBUNTU-CVE-2024-10573 |
| Ubuntu 22.04 | mpg123 | Fixed | 1.29.3-1ubuntu0.1 | UBUNTU-CVE-2024-10573 |
| Ubuntu 20.04 | mpg123 | Fixed | 1.25.13-1ubuntu0.2 | UBUNTU-CVE-2024-10573 |
| Ubuntu 18.04 | mpg123 | Fix pending | UBUNTU-CVE-2024-10573 | |
| Ubuntu 16.04 | mpg123 | Fix pending | UBUNTU-CVE-2024-10573 | |
| Ubuntu 14.04 | mpg123 | Fix pending | UBUNTU-CVE-2024-10573 | |
| Debian 14 | mpg123 | Fixed | 1.32.8-1 | DEBIAN-CVE-2024-10573 |
| Debian 13 | mpg123 | Fixed | 1.32.8-1 | DEBIAN-CVE-2024-10573 |
| Debian 12 | mpg123 | Fixed | 1.31.2-1+deb12u1 | DEBIAN-CVE-2024-10573 |
| Red Hat Enterprise Linux 9 | mpg123 | Fixed | 0:1.32.9-1.el9_5 | RHSA-2024:11242 |
| Red Hat Enterprise Linux 9 | mpg123-devel | Fixed | 0:1.32.9-1.el9_5 | RHSA-2024:11242 |
| Red Hat Enterprise Linux 9 | mpg123-libs | Fixed | 0:1.32.9-1.el9_5 | RHSA-2024:11242 |
| Red Hat Enterprise Linux 9 | mpg123-plugins-pulseaudio | Fixed | 0:1.32.9-1.el9_5 | RHSA-2024:11242 |
| Red Hat Enterprise Linux 8 | mpg123 | Fixed | 0:1.32.9-1.el8_10 | RHSA-2024:11193 |
| Red Hat Enterprise Linux 8 | mpg123-devel | Fixed | 0:1.32.9-1.el8_10 | RHSA-2024:11193 |
| Red Hat Enterprise Linux 8 | mpg123-libs | Fixed | 0:1.32.9-1.el8_10 | RHSA-2024:11193 |
| Red Hat Enterprise Linux 8 | mpg123-plugins-pulseaudio | Fixed | 0:1.32.9-1.el8_10 | RHSA-2024:11193 |
| Red Hat Enterprise Linux 7 | mpg123 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mpg123-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mpg123-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | mpg123-plugins-pulseaudio | Will not fix Out of support scope | ||
| AlmaLinux 9 | mpg123 | Fixed | 1.32.9-1.el9_5 | ALSA-2024:11242 |
| AlmaLinux 9 | mpg123-devel | Fixed | 1.32.9-1.el9_5 | ALSA-2024:11242 |
| AlmaLinux 9 | mpg123-libs | Fixed | 1.32.9-1.el9_5 | ALSA-2024:11242 |
| AlmaLinux 9 | mpg123-plugins-pulseaudio | Fixed | 1.32.9-1.el9_5 | ALSA-2024:11242 |
| AlmaLinux 8 | mpg123 | Fixed | 1.32.9-1.el8_10 | ALSA-2024:11193 |
| AlmaLinux 8 | mpg123-devel | Fixed | 1.32.9-1.el8_10 | ALSA-2024:11193 |
| AlmaLinux 8 | mpg123-libs | Fixed | 1.32.9-1.el8_10 | ALSA-2024:11193 |
| AlmaLinux 8 | mpg123-plugins-pulseaudio | Fixed | 1.32.9-1.el8_10 | ALSA-2024:11193 |
| Rocky Linux 9 | mpg123 | Fixed | 0:1.32.9-1.el9_5 | RLSA-2024:11242 |
| Rocky Linux 8 | mpg123 | Fixed | 0:1.32.9-1.el8_10 | RLSA-2024:11193 |
| Alpine Linux 3.24 | mpg123 | Fixed | 1.32.8-r0 | ALPINE-CVE-2024-10573 |
| Alpine Linux 3.23 | mpg123 | Fixed | 1.32.8-r0 | ALPINE-CVE-2024-10573 |
| Alpine Linux 3.22 | mpg123 | Fixed | 1.32.8-r0 | ALPINE-CVE-2024-10573 |
| Alpine Linux 3.21 | mpg123 | Fixed | 1.32.8-r0 | ALPINE-CVE-2024-10573 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mpg123: affected: before 1.32.8; fixed in
1.32.8 - Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 7
Workaround: This vulnerability can be mitigated by using the --no-frankenstein option to the mpg123 application.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2024:11193 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2024:11242 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2024:11193
- https://access.redhat.com/errata/RHSA-2024:11242
- https://access.redhat.com/security/cve/CVE-2024-10573
- https://bugzilla.redhat.com/show_bug.cgi?id=2322980
- https://mpg123.org/cgi-bin/news.cgi#2024-10-26
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.