CVE-2024-10573

NameCVE-2024-10573
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5811-1
Debian Bugs1086443

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mpg123 (PTS)jessie1.20.1-2+deb8u1vulnerable
stretch1.23.8-1vulnerable
buster1.25.10-2vulnerable
bullseye1.26.4-1vulnerable
bookworm1.31.2-1vulnerable
bookworm (security)1.31.2-1+deb12u1fixed
sid, trixie1.32.9-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mpg123sourcejessie(unfixed)end-of-life
mpg123sourcebookworm1.31.2-1+deb12u1DSA-5811-1
mpg123source(unstable)1.32.8-11086443

Notes

https://www.openwall.com/lists/oss-security/2024/10/30/2
https://sourceforge.net/p/mpg123/bugs/322/

Search for package or bug name: Reporting problems