GHSL-2024-115_GHSL-2024-118: Multiple vulnerabilities in GStreamer, including stack buffer overflows, out-of-bounds write, and null pointer dereference - CVE-2024-47538, CVE-2024-47607, CVE-2024-47615, CVE-2024-47613
Multiple memory safety bugs were found in GStreamer's handling of Vorbis, Opus, and gdk-pixbuf media files. An attacker could exploit these to corrupt memory, potentially leading to code execution or denial of service.
Originally disclosed on GitHub Security Lab
A stack-buffer overflow has been detected in the vorbishandleidentificationpacket function within gstvorbisdec.c.
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 code fails to validate the number of channels or size values read from input files before using them to index fixed-size arrays.
Impact
These vulnerabilities could allow an attacker to corrupt memory, potentially leading to code execution or a denial of service.
What the attacker needed
Victim opens a malicious media file
The fix
The issues were fixed and disclosed by the GStreamer project.
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.
These are bugs in a media library that processes audio and image files. When the library reads a specially crafted file, it can write data past the end of a small buffer, which can crash the program or 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.