Skip to content
Fencer Vulns
critical 9.8

CVE-2024-47540 json

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

published 2024-12-11 22 mo ago modified 2026-06-17 4 mo ago also EUVD-2024-42800

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 63%
public exploits
0
none known

Summary

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.

Patch / fix

  • gstreamer_project gstreamer 1.24.10
  • gst-plugins-good1.0 Debian 12 1.22.0-5+deb12u2
  • gst-plugins-good1.0 Debian 14, Debian 13 1.24.10-1

debian advisories DEBIAN-CVE-2024-47540

  • gst-plugins-good1.0 Ubuntu 20.04 LTS 1.16.3-0ubuntu1.3
  • gst-plugins-good1.0 Ubuntu 22.04 LTS 1.20.3-0ubuntu1.3
  • gst-plugins-good1.0 Ubuntu 24.04 LTS 1.24.2-1ubuntu1.1

ubuntu advisories UBUNTU-CVE-2024-47540

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • gstreamer1-plugins-good RHEL 8 1.16.1-5.el8_10
  • gstreamer1-plugins-good-gtk RHEL 8 1.16.1-5.el8_10
  • gstreamer1-plugins-good RHEL 9 1.22.1-3.el9_5
  • gstreamer1-plugins-good-gtk RHEL 9 1.22.1-3.el9_5
  • gstreamer1-plugins-good RHEL 8.4 TUS, RHEL 8.4 E4S, RHEL 8.4 AUS 1.16.1-3.el8_4
  • gstreamer1-plugins-good-gtk RHEL 8.4 TUS, RHEL 8.4 E4S, RHEL 8.4 AUS 1.16.1-3.el8_4
  • gstreamer1-plugins-good RHEL 8.8 EUS 1.16.1-4.el8_8
  • gstreamer1-plugins-good-gtk RHEL 8.8 EUS 1.16.1-4.el8_8

red hat advisories RHSA-2024:11346RHSA-2024:11348RHSA-2024:11344RHSA-2024:11149RHSA-2024:11148RHSA-2024:11299

  • gstreamer-plugins-good SLE Workstation Extension 15 SP7, SLE Workstation Extension 15 SP6, SLE Module for Basesystem 15 SP7 +2 more 1.24.0-150600.3.7.1
  • gstreamer-plugins-good SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 1.16.3-150200.3.17.1
  • gstreamer-plugins-good SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 1.22.0-150500.4.10.1
  • gstreamer-plugins-good SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 1.20.1-150400.3.9.1
  • gstreamer-plugins-good SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 1.22.0-150500.4.6.1
  • gstreamer-plugins-good SLE Workstation Extension 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 1.24.0-150600.3.3.1
  • gstreamer-plugins-good SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 1.8.3-16.19.1
  • gstreamer-plugins-good SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 1.8.3-16.12.1

suse advisories SUSE-SU-2026:2727-1SUSE-SU-2025:00063-1SUSE-SU-2025:0063-1SUSE-SU-2025:02058-1SUSE-SU-2025:02055-1SUSE-SU-2025:02053-1

  • gstreamer-plugins-good openSUSE Tumbleweed 1.24.11-2.1

opensuse advisories openSUSE-SU-2025:14699-1

  • gstreamer1-plugins-good AlmaLinux 8 1.16.1-5.el8_10
  • gstreamer1-plugins-good-gtk AlmaLinux 8 1.16.1-5.el8_10
  • gstreamer1-plugins-good AlmaLinux 9 1.22.1-3.el9_5
  • gstreamer1-plugins-good-gtk AlmaLinux 9 1.22.1-3.el9_5

almalinux advisories ALSA-2024:11299ALSA-2024:11122

  • gstreamer1-plugins-good Rocky Linux 9 1.22.1-3.el9_5
  • gstreamer1-plugins-good Rocky Linux 8 1.16.1-5.el8_10

rocky linux advisories RLSA-2024:11122RLSA-2024:11299

  • gst-plugins-good Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 1.24.10-r0

alpine advisories ALPINE-CVE-2024-47540

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-47540 updated cvss 8.8

gstreamer1-plugins-good: uninitialized stack memory in Matroska/WebM demuxer

  • Red Hat Enterprise Linux 10 gstreamer1-plugins-good
    affected: workaround, no fix available “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.”
  • Red Hat Enterprise Linux AppStream (v. 8) gstreamer1-plugins-good 1.16.1-5.el8_10, gstreamer1-plugins-good-gtk 1.16.1-5.el8_10
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11299
  • Red Hat Enterprise Linux AppStream (v. 9) gstreamer1-plugins-good 1.22.1-3.el9_5, gstreamer1-plugins-good-gtk 1.22.1-3.el9_5
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11122
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) gstreamer1-plugins-good 1.16.1-2.el8_2, gstreamer1-plugins-good-gtk 1.16.1-2.el8_2
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11148
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) gstreamer1-plugins-good 1.16.1-3.el8_4, gstreamer1-plugins-good-gtk 1.16.1-3.el8_4
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11346
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) gstreamer1-plugins-good 1.16.1-3.el8_6, gstreamer1-plugins-good-gtk 1.16.1-3.el8_6
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11149
  • Red Hat Enterprise Linux AppStream E4S (v.8.4) gstreamer1-plugins-good 1.16.1-3.el8_4, gstreamer1-plugins-good-gtk 1.16.1-3.el8_4
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11346
  • Red Hat Enterprise Linux AppStream E4S (v.8.6) gstreamer1-plugins-good 1.16.1-3.el8_6, gstreamer1-plugins-good-gtk 1.16.1-3.el8_6
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11149
show 7 more
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) gstreamer1-plugins-good 1.18.4-6.el9_0, gstreamer1-plugins-good-gtk 1.18.4-6.el9_0
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11298
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) gstreamer1-plugins-good 1.16.1-4.el8_8, gstreamer1-plugins-good-gtk 1.16.1-4.el8_8
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11348
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) gstreamer1-plugins-good 1.18.4-7.el9_2, gstreamer1-plugins-good-gtk 1.18.4-7.el9_2
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11119
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) gstreamer1-plugins-good 1.22.1-3.el9_4, gstreamer1-plugins-good-gtk 1.22.1-3.el9_4
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11121
  • Red Hat Enterprise Linux AppStream TUS (v.8.4) gstreamer1-plugins-good 1.16.1-3.el8_4, gstreamer1-plugins-good-gtk 1.16.1-3.el8_4
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11346
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) gstreamer1-plugins-good 1.16.1-3.el8_6, gstreamer1-plugins-good-gtk 1.16.1-3.el8_6
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11149
  • Red Hat Enterprise Linux Server (v. 7 ELS) gstreamer1-plugins-base 1.10.4-3.el7_9, gstreamer1-plugins-good 1.10.4-3.el7_9 Red Hat Enterprise Linux Server Optional (v. 7 ELS) gstreamer1-plugins-base-tools 1.10.4-3.el7_9
    fixed: vendor fix “Do not process untrusted files with the Matroska/WebM demuxer and monitor application crashes as this may indicate exploitation attempts.” RHSA-2024:11344

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
22 mo ago

Exploit prediction

1.01% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 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
CNA 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/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
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • gstreamer gstreamer

Classification

Weakness
  • CWE-457 Use of Uninitialized Variable
  • CWE-908 Use of Uninitialized Resource

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.