What’s Vulnerable › Vulnerabilities
CVE-2024-10573: Mpg123: buffer overflow when writing decoded pcm samples
- Severity: medium (CVSS 6.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-31 · updated 2026-06-17
- Weakness: CWE-787
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.
Affected products
- Red Hat Enterprise Linux 8: all versions — fixed in 0:1.32.9-1.el8_10
- Red Hat Enterprise Linux 9: all versions — fixed in 0:1.32.9-1.el9_5
How to fix
Upgrade to a fixed version: Red Hat Enterprise Linux 8 0:1.32.9-1.el8_10; Red Hat Enterprise Linux 9 0:1.32.9-1.el9_5. Check the vendor advisory for mitigations.
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
- 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
Get alerted when CVE-2024-10573 or the next vulnerability affects your stack