GStreamer RIFF Palette Integer Overflow Remote Code Execution Vulnerability
Palette data in AVI files was not properly validated, causing an integer overflow before a write to memory. An attacker could use this to execute code in the context of the process handling the file.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.
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 a missing bounds check on a palette size or count field in AVI data, leading to an integer overflow that is then used to size a memory write.
Impact
An attacker could execute arbitrary code in the context of the current process, though the text notes that interaction with the library is required and attack vectors vary by implementation.
What the attacker needed
Victim opens a crafted AVI file; software uses the affected GStreamer library
The fix
It was fixed by the vendor in an update.
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.
A media library reads AVI video files, and part of a file describes a colour palette. The program trusted a size value in that data without checking it, so a crafted file could make it miscalculate how much memory to reserve and then write past the end of it. That kind of memory corruption can let an attacker run their own code on the machine.
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.