GHSL-2024-250: Null pointer dereference in gst_matroska_demux_add_wvpk_header in GStreamer - CVE-2024-47602
A null pointer dereference in GStreamer's Matroska demuxer occurs when the codec_priv pointer is NULL, causing a crash. An attacker could trigger a denial of service by supplying a crafted file.
Originally disclosed on GitHub Security Lab
A null pointer dereference vulnerability has been discovered in the gstmatroskademuxaddwvpkheader function within matroska-demux.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
Impact
This vulnerability can result in a Denial of Service (DoS) by triggering a segmentation fault (SEGV).
What the attacker needed
Crafted Matroska file
The fix
The issue was 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.
A null pointer dereference happens when a program tries to use a memory address that points to nothing, which usually crashes the program. Here, a media file can make the program read from such an empty address, so opening a malicious file could crash the application.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.