[1days] [0days] [PoCs] More gstreamer FLIC / vmnc issues
Several memory-safety flaws were found in the gstreamer FLIC and vmnc decoders, including uninitialised output canvas, out-of-bounds writes, integer underflow and overflow, and wild reads. An attacker could crash the decoder or, in some cases, corrupt memory by supplying a crafted media file.
Published on scarybeastsecurity.blogspot.com
The original lives on scarybeastsecurity.blogspot.com
We do not hold its text, 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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely missing bounds checks and integer-overflow checks when handling sizes and run counts in the FLIC and vmnc decoders.
Impact
A crafted file could crash the decoder or cause memory corruption; some issues are only exploitable on 32-bit systems, and one wild copy loop has no obvious exit, making exploitation unfavoured.
What the attacker needed
A crafted media file; victim opens the file in a gstreamer-based player
The fix
Most issues were fixed by gstreamer upstream, including a rewrite to use buffer object APIs instead of raw pointer access.
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 write-up has not been written yet. The Original tab links to the source.
A media decoder is a program that turns a video or animation file into pictures on screen. These bugs mean a specially crafted file can make the decoder read or write memory it should not, which can crash the program or sometimes let an attacker run their own code. The report lists several such mistakes in two decoders.
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.