GStreamer rtpL16depay Heap-based Buffer Overflow Remote Code Execution Vulnerability
The rtpL16depay element in GStreamer copies user-supplied RTP payload data into a heap buffer without checking its length first. A remote attacker who can get crafted RTP data processed could overflow that buffer and run code as the current process.
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 length check before copying RTP payload data into a heap-allocated buffer.
Impact
An attacker could execute arbitrary code in the context of the current process, though interaction with the library is required and the attack vector depends on the implementation.
What the attacker needed
Crafted RTP payload data; victim processes the data with GStreamer
The fix
The vendor issued an update to correct the vulnerability.
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.
GStreamer is a library that handles audio and video streams. One of its parts reads incoming network audio data and copies it into a fixed-size area of memory without first checking how big the incoming data is. If the data is too large, it spills past the end of that area, which can let an attacker take over the program.
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.