Debian Linux
CVE-2024-47606
CRITICAL
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
GStreamer is a library for constructing graphs of media-handling components. An integer underflow has been detected in the function qtdemux_parse_theora_extension within qtdemux.c. The vulnerability occurs due to an underflow of the gint size variable, which causes size to hold a large unintended value when cast to an unsigned integer. This 32-bit negative value is then cast to a 64-bit unsigned integer (0xfffffffffffffffa) in a subsequent call to gst_buffer_new_and_alloc. The function gst_buffer_new_allocate then attempts to allocate memory, eventually calling _sysmem_new_block. The function _sysmem_new_block adds alignment and header size to the (unsigned) size, causing the overflow of the 'slice_size' variable. As a result, only 0x89 bytes are allocated, despite the large input size. When the following memcpy call occurs in gst_buffer_fill, the data from the input file will overwrite the content of the GstMapInfo info structure. Finally, during the call to gst_memory_unmap, the overwritten memory may cause a function pointer hijack, as the mem->allocator->mem_unmap_full function is called with a corrupted pointer. This function pointer overwrite could allow an attacker to alter the execution flow of the program, leading to arbitrary code execution. This vulnerability is fixed in 1.24.10.
AnalysisAI
A critical integer underflow vulnerability in GStreamer's QuickTime demuxer (qtdemux) leads to memory corruption and arbitrary code execution when processing specially crafted media files. The vulnerability affects all GStreamer versions prior to 1.24.10, allowing remote attackers to execute arbitrary code without authentication by providing malicious media content. With a CVSS score of 9.8 and patches available, this represents a severe risk for applications using GStreamer for media processing.
Technical ContextAI
GStreamer is a widely-used open-source multimedia framework for constructing media-handling pipelines, identified by CPE cpe:2.3:a:gstreamer:gstreamer. The vulnerability occurs in the qtdemux_parse_theora_extension function within qtdemux.c, where an integer underflow (CWE-190) causes a gint size variable to underflow to a large negative value. When this negative 32-bit value is cast to a 64-bit unsigned integer (0xfffffffffffffffa) during memory allocation, it triggers a chain of errors: the allocation size overflows during alignment calculations, resulting in only 0x89 bytes being allocated instead of the requested amount. This leads to a heap buffer overflow during subsequent memcpy operations, ultimately corrupting function pointers in the GstMapInfo structure that can be hijacked during memory unmapping operations.
RemediationAI
Upgrade GStreamer to version 1.24.10 or later, which contains the fix for this vulnerability. The patch is available at https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8032.patch. Debian users should apply the security updates referenced in debian-lts-announce messages from December 2024 and February 2025. Until patching is possible, avoid processing untrusted media files with GStreamer-based applications, particularly QuickTime format files containing Theora video streams. Organizations should review the vendor advisory at https://gstreamer.freedesktop.org/security/sa-2024-0014.html and the detailed analysis at https://securitylab.github.com/advisories/GHSL-2024-166_Gstreamer/ for additional context.
More in Debian Linux
View allApache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o
When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT
When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate
A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (
A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user.4.4
Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8
GNU Inetutils telnetd through version 2.7 contains a critical authentication bypass that allows remote attackers to gain
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Same weakness CWE-190 – Integer Overflow or Wraparound
View allShare
External POC / Exploit Code
Leaving vuln.today