CVE-2024-10573

Mpg123: buffer overflow when writing decoded pcm samples

State
Published
Severity
6.7 Medium
Published
Oct 31, 2024
Updated
Nov 20, 2025
Reserved
Oct 30, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:Hredhat

Weaknesses

Affected Products

ProductVersions
mpg123
  • before 1.32.8Affected
Red Hat Enterprise Linux 8Red Hat
  • 0:1.32.9-1.el8_10 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:1.32.9-1.el9_5 and laterNot affected
Red Hat Enterprise Linux 7Red Hat

    References

    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.