AIKIDO-2024-10420

mpg123 is vulnerable to Out-of-bounds Write

54

Medium

mpg123 c++

AIKIDO-2024-10420: mpg123 is vulnerable to Out-of-bounds Write in versions 0.61 - 1.32.7.

Out-of-bounds Write
Vuln in 0.61 - 1.32.7
Fixed in 1.32.8
CVE-2024-10573
TL;DR

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.

Who does this affect?

You're affected if you are using a version which is within vulnerability ranges.

How can it be fixed?

Upgrade mpg123 library to patch version.

Background info

Link to vendor website

Logo
© 2024 Aikido Security BV | BE0792914919
🇪🇺 Grauwpoort 1, 9000 Ghent, Belgium
🇺🇸 95 Third St, 2nd Fl, San Francisco, CA 94103, US