# CVE-2024-47540: GHSL-2024-197: GStreamer uses uninitialized stack memory in Matroska/WebM demuxer

- 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: 2025-11-03
- Aliases: UBUNTU-CVE-2024-47540, DEBIAN-CVE-2024-47540, openSUSE-SU-2025:14699-1, ALPINE-CVE-2024-47540
- Record: https://cvemate.com/vulnerability/CVE-2024-47540 · JSON: https://cvemate.com/vulnerability/CVE-2024-47540/json

## Description

```text
GStreamer is a library for constructing graphs of media-handling components. An uninitialized stack variable vulnerability has been identified in the gst_matroska_demux_add_wvpk_header function within matroska-demux.c. When size < 4, the program calls gst_buffer_unmap with an uninitialized map variable. Then, in the gst_memory_unmap function, the program will attempt to unmap the buffer using the uninitialized map variable, causing a function pointer hijack, as it will jump to mem->allocator->mem_unmap_full or mem->allocator->mem_unmap. This vulnerability could allow an attacker to hijack the execution flow, potentially leading to 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.007%, percentile 64.164%, 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

- alpine gst-plugins-good (Alpine Linux): \< 1.24.10-r0
- debian gst-plugins-good1.0 (Debian): \< 1.22.0-5+deb12u2 \| \< 1.24.10-1
- ubuntu gst-plugins-good0.10 (Ubuntu): All versions (No fix recorded)
- ubuntu gst-plugins-good1.0 (Ubuntu): All versions (No fix recorded) \| \< 1.16.3-0ubuntu1.3 \| \< 1.20.3-0ubuntu1.3 \| \< 1.24.2-1ubuntu1.1
- gstreamer gstreamer: \< 1.24.10
- opensuse gstreamer-plugins-good&distro=openSUSE Tumbleweed (openSUSE): \< 1.24.11-2.1

## References

- <https://securitylab.github.com/advisories/GHSL-2024-197_GStreamer/>
- <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8057.patch>
- <https://gstreamer.freedesktop.org/security/sa-2024-0017.html>
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html>
- <https://ubuntu.com/security/CVE-2024-47540>
- <https://www.cve.org/CVERecord?id=CVE-2024-47540>
- <https://ubuntu.com/security/notices/USN-7176-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-47540>
- <https://www.suse.com/security/cve/CVE-2024-47540>
- <https://security.alpinelinux.org/vuln/CVE-2024-47540>

---

Data as of 2026-12-05T09:21:40.304Z. 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
