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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-12-11 · Modified: 2026-11-04
- Aliases: 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, DEBIAN-CVE-2024-47606, DLA-3994-1, DSA-5832-1, CGA-fpfg-8whv-j3r3, CGA-wqxq-w5fx-h65h, openSUSE-SU-2024:14576-1, CGA-3229-2hh2-9jj6, CGA-33rq-h93m-m9fm, CGA-37mf-9hpg-rrq2, CGA-3c23-pwmm-94mf, CGA-3p8w-42xj-pwqw, CGA-3rjg-c6wv-7hm4, CGA-47wj-wmj5-q967, CGA-4xp7-3g23-c6wv, CGA-66r8-mv22-qw48, CGA-77pr-24cg-3hwr, CGA-8m5v-349w-qgjg, CGA-954h-pq56-rhx4, CGA-chp9-rwxv-w7xg, CGA-f9mr-c3c5-j59j, CGA-gpqr-pqm5-jwgq, CGA-gr2v-4gfv-3h2r, CGA-h7v5-xgvm-qpx9, CGA-j9m4-5hfh-9wgf, CGA-jg5g-6gmj-5c4h, CGA-mg7j-564w-qqjv, CGA-mhjc-q783-5c33, CGA-mwmm-6jgc-8rg7, CGA-pwwv-4rm3-vxjv, CGA-qgx9-cpwp-c428, CGA-r88r-34fc-w37w, CGA-vc9f-4x9q-2m4w, CGA-vg55-28wp-gj44, CGA-vjx6-4fxc-5688, CGA-x79f-w95f-ww98, CGA-x7mw-qvc4-8chj, CGA-x8q7-xw7x-gf4f, CGA-xrgg-hch9-g2fx, ALPINE-CVE-2024-47606
- Record: https://cvemate.com/vulnerability/CVE-2024-47606 · JSON: https://cvemate.com/vulnerability/CVE-2024-47606/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.728%, percentile 78.371%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 53)

- alpine gst-plugins-good (Alpine Linux): \< 1.24.10-r0
- chainguard openjdk-11-openj9-default-policy (Chainguard): \< 0.53.0-r0
- chainguard openjdk-17-openj9-default-policy (Chainguard): \< 0.53.0-r0
- chainguard openjdk-21-openj9-default-policy (Chainguard): \< 0.53.0-r0
- chainguard openjdk-25-openj9 (Chainguard): \< 0.59.0-r1
- chainguard openjdk-25-openj9-dbg (Chainguard): \< 0.59.0-r1
- chainguard openjdk-25-openj9-default-jdk (Chainguard): \< 0.59.0-r1
- chainguard openjdk-25-openj9-default-jvm (Chainguard): \< 0.59.0-r1
- chainguard openjdk-25-openj9-jmods (Chainguard): \< 0.59.0-r1
- chainguard openjdk-25-openj9-jre (Chainguard): \< 0.59.0-r1
- chainguard openjdk-26-openj9 (Chainguard): \< 0.59.0-r1
- chainguard openjdk-26-openj9-dbg (Chainguard): \< 0.59.0-r1
- chainguard openjdk-26-openj9-default-jdk (Chainguard): \< 0.59.0-r1
- chainguard openjdk-26-openj9-default-jvm (Chainguard): \< 0.59.0-r1
- chainguard openjdk-26-openj9-jmods (Chainguard): \< 0.59.0-r1
- chainguard openjdk-26-openj9-jre (Chainguard): \< 0.59.0-r1
- chainguard openjdk-7-jre-lib (Chainguard): All versions (No fix recorded)
- chainguard openjdk-8-openj9-dbg (Chainguard): \< 0.53.0-r1
- wolfi openjdk-7-jre-lib (Wolfi): All versions (No fix recorded)
- debian gst-plugins-good1.0 (Debian): \< 1.22.0-5+deb12u2 \| \< 1.24.10-1

## References (first 20 of 24)

- <https://securitylab.github.com/advisories/GHSL-2024-166_Gstreamer/>
- <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8032.patch>
- <https://gstreamer.freedesktop.org/security/sa-2024-0014.html>
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00016.html>
- <https://security.netapp.com/advisory/ntap-20250418-0003/>
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20250051-1/>
- <https://bugzilla.suse.com/1234449>
- <https://www.suse.com/security/cve/CVE-2024-47606>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20250053-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20250062-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20250070-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202502034-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202520240-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202520693-1/>
- <https://ubuntu.com/security/CVE-2024-47606>
- <https://www.cve.org/CVERecord?id=CVE-2024-47606>
- <https://ubuntu.com/security/notices/USN-7174-1>
- <https://ubuntu.com/security/notices/USN-7176-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-47606>

---

Data as of 2026-12-05T10:02:23.168Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
