# 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.

- **Severity:** High 8.6 (`CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 11 Dec 2024
- **Updated:** 3 Nov 2025
- **Also known as:** AZL-62366, BIT-java-2024-47606, BIT-java-min-2024-47606, BIT-jre-2024-47606, CLSA-2025-1764322066, CLSA-2025-1764325574, CLSA-2025-1764598717, CLSA-2025-1764774571, CLSA-2026-1776433691, CLSA-2026-1792539934, DEBIAN-CVE-2024-47606, DLA-3994-1, DSA-5832-1, MINI-pw7q-8cv6-pj34, OESA-2025-2435, OESA-2025-2436, OESA-2025-2437, OESA-2025-2438, OESA-2025-2439, OESA-2025-2440, SUSE-SU-2025:0051-1, SUSE-SU-2025:0053-1, SUSE-SU-2025:0062-1, SUSE-SU-2025:0070-1, SUSE-SU-2025:02034-1, SUSE-SU-2025:20240-1, SUSE-SU-2025:20693-1, UBUNTU-CVE-2024-47606, USN-7174-1, openSUSE-SU-2024:14576-1

## 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 (Integer Underflow (Wrap or Wraparound)), CWE-190 (Integer Overflow or Wraparound)

## 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 | Ecosystem | 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 |
| `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: 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

- [CVE-2015-3306](https://insights.sbomify.com/CVE-2015-3306/): ProFTPD Improper Access Control (critical 10.0, exploited in the wild)
- [CVE-2025-49113](https://insights.sbomify.com/CVE-2025-49113/): RoundCube Webmail Deserialization of Untrusted Data (critical 9.9, exploited in the wild)
- [CVE-2026-24061](https://insights.sbomify.com/CVE-2026-24061/): GNU InetUtils Argument Injection (critical 9.8, exploited in the wild)
- [CVE-2025-39682](https://insights.sbomify.com/CVE-2025-39682/): Linux Kernel Improper Check for Unusual or Exceptional Conditions (critical 9.8, exploited in the wild)
- [CVE-2024-9680](https://insights.sbomify.com/CVE-2024-9680/): Mozilla Firefox Use-After-Free (critical 9.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-47606 and fix it if it is affected.

What it is: 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.
Exploitation: There is no known exploitation of CVE-2024-47606 in the wild and no public exploit code.

Affected packages and fixed versions:
- java (Bitnami): affected all versions; fixed in 1.8.0, 8.0.451
- java-min (Bitnami): affected all versions; fixed in 1.8.0, 8.0.451
- jre (Bitnami): affected all versions; fixed in 1.8.0, 8.0.451

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-47606/ (Markdown: https://insights.sbomify.com/CVE-2024-47606/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-47606
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-47606
- OSV: https://osv.dev/vulnerability/CVE-2024-47606

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-47606/
Summaries are generated and may contain mistakes; the official description above is the record.
