VDB

CVE-2024-47540

CVE-2024-47540 PUBLISHED CVSS 8.6 HIGH

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

Reported by github_m · Published December 11, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
gst-plugins-goodAlpine1.24.10-r0
gstreamer1-plugins-goodAmazon Linux1.18.4-6.amzn2.0.4
gstreamer1-plugins-good-gtkAmazon Linux1.18.4-6.amzn2.0.4
gstreamergstreamer1.24.10

Risk scores

CVSS 4.0
8.6
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

Affected products

VendorProductVersions
gstreamergstreamer< 1.24.10
alpinegst-plugins-good0
amazon:2gstreamer1-plugins-good0
amazon:2gstreamer1-plugins-good-gtk0
gstreamergstreamer0

Timeline

  • Dec 3, 2024 CVE Published
  • Dec 12, 2024 EPSS Score (30 in total, the first dated here)
  • Apr 2, 2025 Coalition ESS Score (12 in total, the first dated here)
  • Dec 5, 2025 CVE Updated
  • Jan 4, 2026 Security Advisory (41 in total, the first dated here)
  • Oct 15, 2026 Distribution Patch (25 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-47540
vulnetix vdb fixes CVE-2024-47540

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-47540/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›