CVE-2024-47540: gstreamer Use of Uninitialized Variable
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 62.3% of scored vulnerabilities.
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
6 scores · 4 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
EPSS trend
Probability
1.01%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
0.00 pp
From 1.01% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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
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
4 vendors · 5 products
References
9 links- securitylab.github.com/advisories/GHSL-2024-197_GStreamer/X Refsource CONFIRMREPORTThird Party Advisory