MediaArea MediaInfoLib Channel Splitting heap-based buffer overflow vulnerability
A heap-based buffer overflow exists in MediaInfoLib's channel splitting when parsing a crafted RIFF file with 20-bit audio, allowing an attacker to write beyond the allocated buffer and potentially execute arbitrary code.
Originally disclosed on Cisco Talos
A heap-based buffer overflow vulnerability exists in the Channel Splitting functionality of MediaInfoLib (version(s): 26.01). A specially crafted .riff file can lead to arbitrary code execution.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the missing increment of Buffer_Offset in the 20-bit case causes repeated copying of the same byte and an out-of-bounds write.
Impact
An attacker could potentially execute arbitrary code by providing a malicious file, though the report notes that under normal circumstances the overflow leads to a crash and only in certain memory layouts can it be exploited for arbitrary write.
What the attacker needed
Victim opens a malicious .riff file
The fix
The vendor released a patch on 2026-05-12.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When MediaInfoLib processes certain audio files, it splits the audio into separate channels. For a specific bit depth (20 bits), the code repeatedly copies the same byte without advancing the source pointer, causing it to write past the end of a buffer. This can crash the program or, in some cases, let an attacker run their own code.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.