Intel

AIKIDO-2024-10420

mpg123 is vulnerable to Out-of-bounds Write

Out-of-bounds WriteCVE-2024-10573 Published Nov 5, 2024

54

Medium Risk

This Affects:

c++mpg123
0.61 - 1.32.7
Fixed in 1.32.8
Are you affected? Scan for Free

TL;DR

An out-of-bounds write flaw exists in mpg123 when handling crafted streams. During PCM decoding, the libmpg123 library may write past the end of a heap-allocated buffer, leading to potential heap corruption. This vulnerability could allow arbitrary code execution. The complexity to exploit this flaw is high, as the payload must pass validation through both the MPEG decoder and PCM synthesizer before execution. Additionally, successful exploitation requires the attacker to scan through the stream, which makes web live stream content, such as web radios, an unlikely attack vector. However, if successfully exploited, this vulnerability poses a significant risk to affected systems.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

mpg123 is vulnerable to Out-of-bounds Write in versions 0.61 - 1.32.7.

How to fix this

Upgrade the mpg123 library to the patch version.