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

- Severity: Medium 6.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2024-10-31T18:31:55.940Z
- Modified: 2026-11-05T12:17:43.940Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- mpg123: before 1.32.8 (not affected: from 0:1.32.9-1.el8_10 before *; from 0:1.32.9-1.el9_5 before *)

## References

- <https://access.redhat.com/errata/RHSA-2024:11193> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:11242> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-10573> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2322980> (issue-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>

## Sources

- CVE List: [CVE-2024-10573](https://www.cve.org/CVERecord?id=CVE-2024-10573), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2024-10573](https://nvd.nist.gov/vuln/detail/CVE-2024-10573), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2024-10573 · Whole record: https://cve.day/CVE-2024-10573.json · Rebuilt by cve.day 2026-11-25T22:58:47.558Z
