Executive brief
MediaArea MediaInfoLib is a library used to extract technical metadata from video and audio files. A security vulnerability in its audio channel splitting feature allows an attacker to potentially take control of a system if a user opens a specially crafted .riff audio file. This could lead to unauthorized access to data or the execution of malicious software on the affected machine.
Technical details
A heap-based buffer overflow (CWE-122) exists in MediaInfoLib version 26.01 within the `File_ChannelSplitting::Read_Buffer_Continue` function. The vulnerability is triggered when parsing a RIFF audio file with a specific configuration (e.g., 20-bit depth). In this specific code path, the `Buffer_Offset` variable is not properly incremented during byte copies, while the destination buffer index (`Buffer_Size`) continues to increase without bounds checking. This allows an attacker to overflow the heap-allocated buffer, potentially overwriting adjacent memory structures and pointers. Successful exploitation requires a user to open a specially crafted .riff file and can result in arbitrary code execution.
Affected products
- MediaArea MediaInfoLib 26.01
Timeline
- 2026-05-20: disclosed: Vulnerability reported by Cisco Talos
- 2026-05-20: advisory: NVD and Talos advisories published