CVE-2024-47540: GHSL-2024-197: GStreamer uses uninitialized stack memory in Matroska/WebM demuxer
Vulnerability summary
CVE-2024-47540 is a critical (CVSS 9.8) Use of Uninitialized Variable vulnerability in gstreamer. EPSS estimates a 1.01% chance of exploitation in the next 30 days, higher than 64.1% of scored vulnerabilities.
Not severe (CVSS 8.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 23 · Related 10Timeline
- 11-12-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.6HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.6HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.01%
Chance of exploitation in the next 30 days
Percentile
64%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.01% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu2 products
- gst-plugins-good0.10All versions (No fix recorded)
- gst-plugins-good1.0All versions (No fix recorded) | < 1.16.3-0ubuntu1.3 | < 1.20.3-0ubuntu1.3 | < 1.24.2-1ubuntu1.1
Alpine1 product
- gst-plugins-good< 1.24.10-r0
Debian1 product
- gst-plugins-good1.0< 1.22.0-5+deb12u2 | < 1.24.10-1
Gstreamer1 product
- gstreamer< 1.24.10
Opensuse1 product
- gstreamer-plugins-good&distro=openSUSE Tumbleweed< 1.24.11-2.1
5 vendors · 6 products
References
10 links- securitylab.github.com/advisories/GHSL-2024-197_GStreamer/X Refsource CONFIRMREPORTThird Party Advisory