CVE-2024-47603
HIGHCVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Lifecycle Timeline
3Description
GStreamer is a library for constructing graphs of media-handling components. A null pointer dereference vulnerability has been discovered in the gst_matroska_demux_update_tracks function within matroska-demux.c. The vulnerability occurs when the gst_caps_is_equal function is called with invalid caps values. If this happen, then in the function gst_buffer_get_size the call to GST_BUFFER_MEM_PTR can return a null pointer. Attempting to dereference the size field of this null pointer results in a null pointer dereference. This vulnerability is fixed in 1.24.10.
Analysis
A null pointer dereference vulnerability exists in GStreamer's Matroska demuxer that allows remote attackers to cause a denial of service crash. The flaw occurs when processing malformed Matroska media files with invalid capability values, leading to a null pointer dereference in the gst_matroska_demux_update_tracks function. With an EPSS score of 0.11% and no known active exploitation, this represents a moderate real-world risk primarily affecting media processing applications.
Technical Context
GStreamer is a widely-used open source multimedia framework for constructing media processing pipelines, identified by CPE cpe:2.3:a:gstreamer:gstreamer:*:*:*:*:*:*:*:*. The vulnerability manifests as a CWE-476 (NULL Pointer Dereference) in the Matroska demuxer component, specifically within matroska-demux.c. When the gst_caps_is_equal function receives invalid capability values during track updates, it causes GST_BUFFER_MEM_PTR to return null, which is then dereferenced when accessing the size field, causing an application crash.
Affected Products
GStreamer versions prior to 1.24.10 are affected by this vulnerability, as confirmed by CPE cpe:2.3:a:gstreamer:gstreamer:*:*:*:*:*:*:*:* and the official security advisory at https://gstreamer.freedesktop.org/security/sa-2024-0021.html. The vulnerability specifically impacts the Matroska demuxer component used for processing MKV and WebM media files. Debian LTS has issued updates as noted in their security announcement at https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html.
Remediation
Upgrade GStreamer to version 1.24.10 or later, which contains the fix for this vulnerability as detailed in the patch at https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8057.patch. Organizations unable to immediately patch should implement input validation for media files and consider running media processing services in isolated environments with resource limits to minimize the impact of potential crashes. Additional details are available in the GitHub Security Lab advisory at https://securitylab.github.com/advisories/GHSL-2024-251_Gstreamer/.
Priority Score
Share
External POC / Exploit Code
Leaving vuln.today