mpg123 is vulnerable to Out-of-bounds Write
54
Medium Risk
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.
You are affected if you are using a version that falls within the vulnerable range.
mpg123 is vulnerable to Out-of-bounds Write in versions 0.61 - 1.32.7.
Upgrade the mpg123 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant