Skip to content

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

MediumCVSS 6.7 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebianRed Hat

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

ProductAffected versionsFixed in
debian/mpg123(Debian:12) < 1.31.2-1+deb12u1 1.31.2-1+deb12u1
debian/mpg123(Debian:12) = 1.31.2-1 No fix listed
debian/mpg123(Debian:13) < 1.32.8-1 1.32.8-1
debian/mpg123(Debian:14) < 1.32.8-1 1.32.8-1
ubuntu/mpg123(Ubuntu:22.04) < 1.29.3-1ubuntu0.1 1.29.3-1ubuntu0.1
mpg123 < 1.32.8 1.32.8
redhat enterprise linux < 0:1.32.9-1.el8_10 0:1.32.9-1.el8_10
redhat enterprise linux < 0:1.32.9-1.el9_5 0:1.32.9-1.el9_5
redhat rhel els = 7 No fix listed
alpine/mpg123(Alpine:v3.21) < 1.32.8-r0 1.32.8-r0
alpine/mpg123(Alpine:v3.22) < 1.32.8-r0 1.32.8-r0
alpine/mpg123(Alpine:v3.23) < 1.32.8-r0 1.32.8-r0
alpine/mpg123(Alpine:v3.24) < 1.32.8-r0 1.32.8-r0
ubuntu/mpg123(Ubuntu:24.04) < 1.32.5-1ubuntu1.1 1.32.5-1ubuntu1.1
ubuntu/mpg123(Ubuntu:Pro:14.04) All versions No fix listed
ubuntu/mpg123(Ubuntu:Pro:14.04) = 1.15.3-1ubuntu1 No fix listed
ubuntu/mpg123(Ubuntu:Pro:14.04) = 1.16.0-1ubuntu1 No fix listed
ubuntu/mpg123(Ubuntu:Pro:14.04) = 1.16.0-1ubuntu1.1 No fix listed
ubuntu/mpg123(Ubuntu:Pro:14.04) = 1.16.0-1ubuntu1.1+esm1 No fix listed
ubuntu/mpg123(Ubuntu:Pro:14.04) = 1.16.0-1ubuntu1.1+esm2 No fix listed
ubuntu/mpg123(Ubuntu:Pro:16.04) All versions No fix listed
ubuntu/mpg123(Ubuntu:Pro:16.04) = 1.22.2-1 No fix listed
ubuntu/mpg123(Ubuntu:Pro:16.04) = 1.22.4-1 No fix listed
ubuntu/mpg123(Ubuntu:Pro:16.04) = 1.22.4-1ubuntu0.1 No fix listed
ubuntu/mpg123(Ubuntu:Pro:16.04) = 1.22.4-1ubuntu0.1+esm2 No fix listed
Show 19 more
ProductAffected versionsFixed in
ubuntu/mpg123(Ubuntu:18.04) All versions No fix listed
ubuntu/mpg123(Ubuntu:18.04) = 1.25.6-1 No fix listed
ubuntu/mpg123(Ubuntu:18.04) = 1.25.7-1 No fix listed
ubuntu/mpg123(Ubuntu:18.04) = 1.25.8-1 No fix listed
ubuntu/mpg123(Ubuntu:18.04) = 1.25.10-1 No fix listed
ubuntu/mpg123(Ubuntu:20.04) < 1.25.13-1ubuntu0.2 1.25.13-1ubuntu0.2
ubuntu/mpg123(Ubuntu:20.04) = 1.25.12-1build1 No fix listed
ubuntu/mpg123(Ubuntu:20.04) = 1.25.13-1 No fix listed
ubuntu/mpg123(Ubuntu:20.04) = 1.25.13-1ubuntu0.1 No fix listed
ubuntu/mpg123(Ubuntu:22.04) = 1.28.2-2 No fix listed
ubuntu/mpg123(Ubuntu:22.04) = 1.29.2-1 No fix listed
ubuntu/mpg123(Ubuntu:22.04) = 1.29.3-1 No fix listed
ubuntu/mpg123(Ubuntu:22.04) = 1.29.3-1build1 No fix listed
ubuntu/mpg123(Ubuntu:24.04) = 1.31.3-2 No fix listed
ubuntu/mpg123(Ubuntu:24.04) = 1.32.3-1 No fix listed
ubuntu/mpg123(Ubuntu:24.04) = 1.32.4-1 No fix listed
ubuntu/mpg123(Ubuntu:24.04) = 1.32.5-1 No fix listed
ubuntu/mpg123(Ubuntu:24.04) = 1.32.5-1build2 No fix listed
ubuntu/mpg123(Ubuntu:24.04) = 1.32.5-1ubuntu1 No fix listed

References