CVE-2024-47606 Integer overflow in gstreamer
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.
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.
| Package | Affected | Fixed in |
|---|---|---|
java Bitnami | All versions | 1.8.0, 8.0.451 |
java-min Bitnami | All versions | 1.8.0, 8.0.451 |
jre Bitnami | All versions | 1.8.0, 8.0.451 |
Linux distribution packages (26)
gstreamer SUSE:Enterprise Storage 7.1 | All versions | 1.16.3-150200.3.6.1 |
gstreamer SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 1.16.3-150200.3.6.1 |
gstreamer SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 1.20.1-150400.3.3.1 |
gstreamer SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 1.20.1-150400.3.3.1 |
gstreamer SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 1.22.0-150500.3.5.1 |
gstreamer SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 1.22.0-150500.3.5.1 |
gstreamer SUSE:Linux Enterprise Micro 5.2 | All versions | 1.16.3-150200.3.6.1 |
gstreamer SUSE:Linux Enterprise Micro 5.3 | All versions | 1.20.1-150400.3.3.1 |
gstreamer SUSE:Linux Enterprise Micro 5.4 | All versions | 1.20.1-150400.3.3.1 |
gstreamer SUSE:Linux Enterprise Micro 5.5 | All versions | 1.22.0-150500.3.5.1 |
gstreamer SUSE:Linux Enterprise Module for Basesystem 15 SP6 | All versions | 1.24.0-150600.3.3.1 |
gstreamer SUSE:Linux Enterprise Module for Package Hub 15 SP6 | All versions | 1.24.0-150600.3.3.1 |
gstreamer SUSE:Linux Enterprise Server 12 SP5-LTSS | All versions | 1.8.3-10.12.1 |
gstreamer SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 1.16.3-150200.3.6.1 |
gstreamer SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 1.20.1-150400.3.3.1 |
gstreamer SUSE:Linux Enterprise Server 15 SP5-LTSS | All versions | 1.22.0-150500.3.5.1 |
gstreamer SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 1.8.3-10.12.1 |
gstreamer SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 1.16.3-150200.3.6.1 |
gstreamer SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 1.20.1-150400.3.3.1 |
gstreamer SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | All versions | 1.22.0-150500.3.5.1 |
gstreamer SUSE:Linux Micro 6.0 | All versions | 1.22.9-2.1 |
gstreamer SUSE:Linux Micro 6.1 | All versions | 1.24.7-slfo.1.1_2.1 |
gstreamer SUSE:Manager Proxy 4.3 | All versions | 1.20.1-150400.3.3.1 |
gstreamer SUSE:Manager Server 4.3 | All versions | 1.20.1-150400.3.3.1 |
gstreamer openSUSE:Leap 15.6 | All versions | 1.24.0-150600.3.3.1 |
gstreamer openSUSE:Tumbleweed | All versions | 1.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.
Other vulnerabilities in Debian Debian Linux
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.