Every CVE Search/ Get API key

CVE-2024-10573

Mpg123: buffer overflow when writing decoded pcm samples

6.7 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.35%Up 0.3 points since Nov 1, 2024
90%50%10%1%

What each source reports

CVE List Score used 6.7

Mpg123: 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.

Record
CVE-2024-10573
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-05
EUVDEUVD-2024-33569 6.7

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.

Record
EUVD-2024-33569
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-05
GitHub AdvisoriesGHSA-7m7j-pgpw-9g75 6.7

An out-of-bounds write flaw was found in mpg123 when handling crafted streams. When decoding PCM,...

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.

Record
GHSA-7m7j-pgpw-9g75
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
NVD 6.7

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.

Record
CVE-2024-10573
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-05
OSVALPINE-CVE-2024-10573 6.7

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.

Record
ALPINE-CVE-2024-10573
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2024-10573 6.7

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.

Record
DEBIAN-CVE-2024-10573
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 13 moreShow less
OSVRHSA-2024:11193 6.7

Red Hat Security Advisory: mpg123 security update

Record
RHSA-2024:11193
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2024:11242 6.7

Red Hat Security Advisory: mpg123:1.32.9 security update

Record
RHSA-2024:11242
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRLSA-2024:11193 6.7

Moderate: mpg123 security update

The mpg123 packages contain real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2, and 3 (most commonly MPEG 1.0 layer 3 also known as MP3), as well as re-usable decoding and output libraries.

Security Fix(es):

  • mpg123: Buffer overflow when writing decoded PCM samples (CVE-2024-10573)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2024:11193
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRLSA-2024:11242 6.7

Moderate: mpg123:1.32.9 security update

The mpg123 packages contain real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2, and 3 (most commonly MPEG 1.0 layer 3 also known as MP3), as well as re-usable decoding and output libraries.

Security Fix(es):

  • mpg123: Buffer overflow when writing decoded PCM samples (CVE-2024-10573)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2024:11242
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2024-10573 6.7

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.

Record
UBUNTU-CVE-2024-10573
CVSS 3.1
6.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVALSA-2024:11193 No score

Moderate: mpg123 security update

The mpg123 packages contain real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2, and 3 (most commonly MPEG 1.0 layer 3 also known as MP3), as well as re-usable decoding and output libraries.

Security Fix(es):

  • mpg123: Buffer overflow when writing decoded PCM samples (CVE-2024-10573)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:11193
Updated
2026-11-02
OSVALSA-2024:11242 No score

Moderate: mpg123:1.32.9 security update

The mpg123 packages contain real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2, and 3 (most commonly MPEG 1.0 layer 3 also known as MP3), as well as re-usable decoding and output libraries.

Security Fix(es):

  • mpg123: Buffer overflow when writing decoded PCM samples (CVE-2024-10573)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:11242
Updated
2026-11-02
OSVCLSA-2026-1779694248 No score

mpg123: Fix of CVE-2024-10573

  • CVE-2024-10573: Out-of-bounds write during PCM decoding of crafted streams could lead to heap corruption and potential arbitrary code execution; decode the MPEG header into a temporary copy that is only applied to the live handle after the frame body is validated (upstream svn-r5442, main fix), and gate decode_the_frame() behind a FRAME_DECODER_LIVE state bit so it cannot run with stale state when decode_update() failed (upstream svn-r4991 plus the bug-324 precedence fix from 1.29.2, follow-up safeguard).
Record
CLSA-2026-1779694248
Updated
2026-11-02
OSV No score

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.

Record
CVE-2024-10573
Updated
2026-11-02
OSVMGASA-2024-0358 No score

Updated mpg123 packages fix security vulnerability

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 may not be dismissed. 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. (CVE-2024-10573)

Record
MGASA-2024-0358
Updated
2026-11-02
OSVopenSUSE-SU-2024:14454-1 No score

libmpg123-0-1.32.9-1.1 on GA media

These are all security issues fixed in the libmpg123-0-1.32.9-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14454-1
Updated
2026-11-02
OSVUSN-7092-1 No score

mpg123 vulnerability

It was discovered that mpg123 incorrectly handled certain mp3 files. If a user or automated system were tricked into opening a specially crafted mp3 file, a remote attacker could use this issue to cause mpg123 to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-7092-1
Updated
2026-11-02
OSVUSN-7092-2 No score

mpg123 vulnerability

USN-7092-1 fixed a vulnerability in mpg123. Bastien Roucariès discovered that the fix was incomplete on Ubuntu 20.04 LTS. This update fixes the problem.

We apologize for the inconvenience.

Original advisory details:

It was discovered that mpg123 incorrectly handled certain mp3 files. If a user or automated system were tricked into opening a specially crafted mp3 file, a remote attacker could use this issue to cause mpg123 to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-7092-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mpg123
Alpine:v3.21
before 1.32.8-r0
1.32.8-r0
mpg123
Alpine:v3.22
before 1.32.8-r0
1.32.8-r0
mpg123
Alpine:v3.23
before 1.32.8-r0
1.32.8-r0
mpg123
Alpine:v3.24
before 1.32.8-r0
1.32.8-r0
mpg123
AlmaLinux:8
before 1.32.9-1.el8_10
1.32.9-1.el8_10
mpg123-devel
AlmaLinux:8
before 1.32.9-1.el8_10
1.32.9-1.el8_10
mpg123-libs
AlmaLinux:8
before 1.32.9-1.el8_10
1.32.9-1.el8_10
mpg123-plugins-pulseaudio
AlmaLinux:8
before 1.32.9-1.el8_10
1.32.9-1.el8_10
mpg123
AlmaLinux:9
before 1.32.9-1.el9_5
1.32.9-1.el9_5
mpg123-devel
AlmaLinux:9
before 1.32.9-1.el9_5
1.32.9-1.el9_5
Show 45 moreShow less
Affected packages
PackageAffectedFixed
mpg123-libs
AlmaLinux:9
before 1.32.9-1.el9_5
1.32.9-1.el9_5
mpg123-plugins-pulseaudio
AlmaLinux:9
before 1.32.9-1.el9_5
1.32.9-1.el9_5
mpg123
TuxCare:AlmaLinux:9.2
before 1.26.2-5.el9_2.tuxcare.els1
1.26.2-5.el9_2.tuxcare.els1
mpg123-devel
TuxCare:AlmaLinux:9.2
before 1.26.2-5.el9_2.tuxcare.els1
1.26.2-5.el9_2.tuxcare.els1
mpg123-libs
TuxCare:AlmaLinux:9.2
before 1.26.2-5.el9_2.tuxcare.els1
1.26.2-5.el9_2.tuxcare.els1
mpg123-plugins-pulseaudio
TuxCare:AlmaLinux:9.2
before 1.26.2-5.el9_2.tuxcare.els1
1.26.2-5.el9_2.tuxcare.els1
mpg123
Debian:12
before 1.31.2-1+deb12u1, plus listed versions
1.31.2-1
1.31.2-1+deb12u1
mpg123
Debian:13
before 1.32.8-1
1.32.8-1
mpg123
Debian:14
before 1.32.8-1
1.32.8-1
mpg123
Debian:11
before 1.26.4-1+deb11u1, plus listed versions
1.26.4-1
1.26.4-1+deb11u1
mpg123
Mageia:9
before 1.31.3-1.1.mga9
1.31.3-1.1.mga9
mpg123
Red Hat:enterprise_linux:8::appstream
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123-libs
Red Hat:enterprise_linux:8::appstream
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123-libs-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123-plugins-pulseaudio
Red Hat:enterprise_linux:8::appstream
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123-plugins-pulseaudio-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123-debugsource
Red Hat:enterprise_linux:8::crb
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123-devel
Red Hat:enterprise_linux:8::crb
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123-libs-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123-plugins-pulseaudio-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123
Red Hat:enterprise_linux:9::appstream
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123-libs
Red Hat:enterprise_linux:9::appstream
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123-libs-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123-plugins-pulseaudio
Red Hat:enterprise_linux:9::appstream
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123-plugins-pulseaudio-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123-debuginfo
Red Hat:enterprise_linux:9::crb
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123-debugsource
Red Hat:enterprise_linux:9::crb
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123-devel
Red Hat:enterprise_linux:9::crb
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123-libs-debuginfo
Red Hat:enterprise_linux:9::crb
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123-plugins-pulseaudio-debuginfo
Red Hat:enterprise_linux:9::crb
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123
Rocky Linux:8
before 0:1.32.9-1.el8_10
0:1.32.9-1.el8_10
mpg123
Rocky Linux:9
before 0:1.32.9-1.el9_5
0:1.32.9-1.el9_5
mpg123
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
1.15.3-1ubuntu11.16.0-1ubuntu11.16.0-1ubuntu1.11.16.0-1ubuntu1.1+esm11.16.0-1ubuntu1.1+esm2
None known
mpg123
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
1.22.2-11.22.4-11.22.4-1ubuntu0.11.22.4-1ubuntu0.1+esm2
None known
mpg123
Ubuntu:18.04:LTS
All versions, plus listed versions
1.25.6-11.25.7-11.25.8-11.25.10-1
None known
mpg123
Ubuntu:20.04:LTS
before 1.25.13-1ubuntu0.2, plus listed versions
1.25.12-1build11.25.13-11.25.13-1ubuntu0.1
1.25.13-1ubuntu0.2
mpg123
Ubuntu:22.04:LTS
before 1.29.3-1ubuntu0.1, plus listed versions
1.28.2-21.29.2-11.29.3-11.29.3-1build1
1.29.3-1ubuntu0.1
mpg123
Ubuntu:24.04:LTS
before 1.32.5-1ubuntu1.1, plus listed versions
1.31.3-21.32.3-11.32.4-11.32.5-11.32.5-1build21.32.5-1ubuntu1
1.32.5-1ubuntu1.1
mpg123
Ubuntu:20.04:LTS
before 1.25.13-1ubuntu0.1, plus listed versions
1.25.12-1build11.25.13-1
1.25.13-1ubuntu0.1
mpg123
openSUSE:Tumbleweed
before 1.32.9-1.1
1.32.9-1.1

History

History
RecordedChangedSources
factsEUVD
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-10573 is a medium vulnerability (CVSS 6.7) in Red Hat Enterprise Linux 7, published October 30, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.35%, the 28th percentile. Fixed in mpg123 1.32.8-r0.

References

Show 27 moreShow less
MoveEnter Open