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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.7 Medium | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-787 Out-of-bounds Write
Affected Products
| Product | Versions |
|---|---|
mpg123 |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 7Red Hat |
References
- RHSA-2024:11193vendor-advisory
- RHSA-2024:11242vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-10573vdb-entry
- RHBZ#2322980issue-tracking
- https://mpg123.org/cgi-bin/news.cgi#2024-10-26
- http://www.openwall.com/lists/oss-security/2024/10/30/3
- http://www.openwall.com/lists/oss-security/2024/10/31/4
- http://www.openwall.com/lists/oss-security/2024/11/01/1
- https://lists.debian.org/debian-lts-announce/2024/11/msg00025.html
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.