# CVE-2024-47606: GHSL-2024-166: GStreamer Integer overflows in MP4/MOV demuxer and memory allocator that can lead to out-of-bounds writes

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.60% (percentile 76, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2024-12-11T19:12:40.186Z
- **Modified:** 2026-11-04T00:04:21.521Z

## Who should check

- Anyone running gstreamer \< 1.24.10

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

## Affected and fixed versions

- gstreamer: \< 1.24.10 (cvelist)

## Mitigation

- Upgrade gstreamer to 1.24.10 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-47606. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-47606.md
Affected: gstreamer < 1.24.10
Fixed in: gstreamer 1.24.10

Steps:
1. Search this machine and project for gstreamer: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-47606 being exploited?

There is no confirmed exploitation: CVE-2024-47606 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.60% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-47606?

High: CVSS 8.6 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-47606?

gstreamer \< 1.24.10.

### Is there a fix for CVE-2024-47606?

Yes. Fixed in gstreamer 1.24.10. Upgrade gstreamer to 1.24.10 or later.

### How do I check if I'm affected by CVE-2024-47606?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8032.patch>
- other: <https://securitylab.github.com/advisories/GHSL-2024-166_Gstreamer/>
- other: <https://gstreamer.freedesktop.org/security/sa-2024-0014.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/12/msg00016.html>
- other: <https://security.netapp.com/advisory/ntap-20250418-0003/>
- other: <https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-47606>

HTML: <https://flawdb.com/CVE-2024-47606> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-47606>
