CVEfocus › CVE database › CVE-2024-10573

CVE-2024-10573Mpg123: buffer overflow when writing decoded pcm samples

CVSS 6.7 MediumEPSS 0.4% (higher than 23% of CVEs)Published 2024-10-31Updated 2026-11-05Assigner: redhat

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.

CWE-787

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

28Fixed
3Fix pending
4Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04mpg123Fixed1.32.5-1ubuntu1.1UBUNTU-CVE-2024-10573
Ubuntu 22.04mpg123Fixed1.29.3-1ubuntu0.1UBUNTU-CVE-2024-10573
Ubuntu 20.04mpg123Fixed1.25.13-1ubuntu0.2UBUNTU-CVE-2024-10573
Ubuntu 18.04mpg123Fix pendingUBUNTU-CVE-2024-10573
Ubuntu 16.04mpg123Fix pendingUBUNTU-CVE-2024-10573
Ubuntu 14.04mpg123Fix pendingUBUNTU-CVE-2024-10573
Debian 14mpg123Fixed1.32.8-1DEBIAN-CVE-2024-10573
Debian 13mpg123Fixed1.32.8-1DEBIAN-CVE-2024-10573
Debian 12mpg123Fixed1.31.2-1+deb12u1DEBIAN-CVE-2024-10573
Red Hat Enterprise Linux 9mpg123Fixed0:1.32.9-1.el9_5RHSA-2024:11242
Red Hat Enterprise Linux 9mpg123-develFixed0:1.32.9-1.el9_5RHSA-2024:11242
Red Hat Enterprise Linux 9mpg123-libsFixed0:1.32.9-1.el9_5RHSA-2024:11242
Red Hat Enterprise Linux 9mpg123-plugins-pulseaudioFixed0:1.32.9-1.el9_5RHSA-2024:11242
Red Hat Enterprise Linux 8mpg123Fixed0:1.32.9-1.el8_10RHSA-2024:11193
Red Hat Enterprise Linux 8mpg123-develFixed0:1.32.9-1.el8_10RHSA-2024:11193
Red Hat Enterprise Linux 8mpg123-libsFixed0:1.32.9-1.el8_10RHSA-2024:11193
Red Hat Enterprise Linux 8mpg123-plugins-pulseaudioFixed0:1.32.9-1.el8_10RHSA-2024:11193
Red Hat Enterprise Linux 7mpg123Will not fix
Out of support scope
Red Hat Enterprise Linux 7mpg123-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7mpg123-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7mpg123-plugins-pulseaudioWill not fix
Out of support scope
AlmaLinux 9mpg123Fixed1.32.9-1.el9_5ALSA-2024:11242
AlmaLinux 9mpg123-develFixed1.32.9-1.el9_5ALSA-2024:11242
AlmaLinux 9mpg123-libsFixed1.32.9-1.el9_5ALSA-2024:11242
AlmaLinux 9mpg123-plugins-pulseaudioFixed1.32.9-1.el9_5ALSA-2024:11242
AlmaLinux 8mpg123Fixed1.32.9-1.el8_10ALSA-2024:11193
AlmaLinux 8mpg123-develFixed1.32.9-1.el8_10ALSA-2024:11193
AlmaLinux 8mpg123-libsFixed1.32.9-1.el8_10ALSA-2024:11193
AlmaLinux 8mpg123-plugins-pulseaudioFixed1.32.9-1.el8_10ALSA-2024:11193
Rocky Linux 9mpg123Fixed0:1.32.9-1.el9_5RLSA-2024:11242
Rocky Linux 8mpg123Fixed0:1.32.9-1.el8_10RLSA-2024:11193
Alpine Linux 3.24mpg123Fixed1.32.8-r0ALPINE-CVE-2024-10573
Alpine Linux 3.23mpg123Fixed1.32.8-r0ALPINE-CVE-2024-10573
Alpine Linux 3.22mpg123Fixed1.32.8-r0ALPINE-CVE-2024-10573
Alpine Linux 3.21mpg123Fixed1.32.8-r0ALPINE-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.

Workaround: This vulnerability can be mitigated by using the --no-frankenstein option to the mpg123 application.

Vendor advisories:

References

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.