Skip to content
OpenAdvisories
Medium · 6.7 CVE-2024-10573 EUVD-2024-33569GHSA-7m7j-pgpw-9g75

Mpg123: buffer overflow when writing decoded pcm samples

Published Oct 31, 2024 · Updated Nov 5, 2026 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
— mpg123 < 1.32.8 1.32.8
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 7 — —

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.

ReleasePackageFixed inAdvisory
Debian 14 mpg123 1.32.8-1 —
Debian 13 mpg123 1.32.8-1 —
Debian 12 mpg123 1.31.2-1+deb12u1 DSA-5811-1
Debian 11 mpg123 1.26.4-1+deb11u1 DLA-3967-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS mpg123 1.32.5-1ubuntu1.1 USN-7092-1
Ubuntu 22.04 LTS mpg123 1.29.3-1ubuntu0.1 USN-7092-1
Ubuntu 20.04 LTS mpg123 1.25.13-1ubuntu0.2 USN-7092-2, USN-7092-1
Ubuntu 18.04 LTS mpg123 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS mpg123 No fix yet —
Ubuntu Pro 14.04 LTS mpg123 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 mpg123 +3 1.32.9-1.el9_5 RHSA-2024:11242
RHEL 8 mpg123 +3 1.32.9-1.el8_10 RHSA-2024:11193

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 mpg123 +3 1.32.9-1.el9_5 ALSA-2024:11242
AlmaLinux 8 mpg123 +3 1.32.9-1.el8_10 ALSA-2024:11193

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 mpg123 1.32.9-1.el9_5 RLSA-2024:11242
Rocky Linux 8 mpg123 1.32.9-1.el8_10 RLSA-2024:11193
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed mpg123 1.32.9-1.1 openSUSE-SU-2024:14454-1
ReleasePackageFixed inAdvisory
Alpine v3.24 mpg123 1.32.8-r0 —
Alpine v3.23 mpg123 1.32.8-r0 —
Alpine v3.22 mpg123 1.32.8-r0 —
Alpine v3.21 mpg123 1.32.8-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 mpg123 +3 1.32.9-1.amzn2 ALAS2-2025-2997

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 mpg123 +3 1.32.9-1.el9_5 ELSA-2024-11242
Oracle Linux 8 mpg123 +3 1.32.9-1.el8_10 ELSA-2024-11193

Advisories 15

References