CVE-2024-47606 Integer overflow in gstreamer

High 8.6 Published Updated

An integer underflow in GStreamer's MP4/MOV demuxer allows attackers to trigger out-of-bounds writes and achieve arbitrary code execution via crafted media files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-47606?

CVE-2024-47606 is a high-severity vulnerability in Debian Debian Linux, published on 11 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-191, CWE-190

Which versions are affected by CVE-2024-47606?

3 open source packages ship an affected version, including java, java-min and jre. It affects 2 products.

PackageAffectedFixed in
java BitnamiAll versions1.8.0, 8.0.451
java-min BitnamiAll versions1.8.0, 8.0.451
jre BitnamiAll versions1.8.0, 8.0.451
Linux distribution packages (26)
gstreamer SUSE:Enterprise Storage 7.1All versions1.16.3-150200.3.6.1
gstreamer SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions1.16.3-150200.3.6.1
gstreamer SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions1.20.1-150400.3.3.1
gstreamer SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions1.20.1-150400.3.3.1
gstreamer SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSAll versions1.22.0-150500.3.5.1
gstreamer SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSAll versions1.22.0-150500.3.5.1
gstreamer SUSE:Linux Enterprise Micro 5.2All versions1.16.3-150200.3.6.1
gstreamer SUSE:Linux Enterprise Micro 5.3All versions1.20.1-150400.3.3.1
gstreamer SUSE:Linux Enterprise Micro 5.4All versions1.20.1-150400.3.3.1
gstreamer SUSE:Linux Enterprise Micro 5.5All versions1.22.0-150500.3.5.1
gstreamer SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions1.24.0-150600.3.3.1
gstreamer SUSE:Linux Enterprise Module for Package Hub 15 SP6All versions1.24.0-150600.3.3.1
gstreamer SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions1.8.3-10.12.1
gstreamer SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions1.16.3-150200.3.6.1
gstreamer SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions1.20.1-150400.3.3.1
gstreamer SUSE:Linux Enterprise Server 15 SP5-LTSSAll versions1.22.0-150500.3.5.1
gstreamer SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions1.8.3-10.12.1
gstreamer SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions1.16.3-150200.3.6.1
gstreamer SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions1.20.1-150400.3.3.1
gstreamer SUSE:Linux Enterprise Server for SAP Applications 15 SP5All versions1.22.0-150500.3.5.1
gstreamer SUSE:Linux Micro 6.0All versions1.22.9-2.1
gstreamer SUSE:Linux Micro 6.1All versions1.24.7-slfo.1.1_2.1
gstreamer SUSE:Manager Proxy 4.3All versions1.20.1-150400.3.3.1
gstreamer SUSE:Manager Server 4.3All versions1.20.1-150400.3.3.1
gstreamer openSUSE:Leap 15.6All versions1.24.0-150600.3.3.1
gstreamer openSUSE:TumbleweedAll versions1.24.10-2.1

Products include Debian Debian Linux, Gstreamer Gstreamer.

How do I fix CVE-2024-47606?

Upgrade java to a fixed version for your release line: 1.8.0 or 8.0.451.

Is CVE-2024-47606 being exploited?

There is no known exploitation of CVE-2024-47606 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-62366, BIT-java-2024-47606, BIT-java-min-2024-47606, BIT-jre-2024-47606, CLSA-2025-1764322066, CLSA-2025-1764325574 and 24 more.

Is CVE-2024-47606 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free