Vulnerabilities / CVE-2024-47540

critical

CVE-2024-47540

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

Published Modified CWE 457, 908
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (high), AlmaLinux (high), Amazon (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 4.0gstreamer, gstreamer-devel1.25.1-1.ph4
Photon OS 5.0gstreamer, gstreamer-devel1.25.1-1.ph5
alma 8gstreamer1-plugins-good, gstreamer1-plugins-good-gtk1.16.1-5.el8_10
alma 9gstreamer1-plugins-good, gstreamer1-plugins-good-gtk1.22.1-3.el9_5
alpine 3.20gst-plugins-good1.24.10-r0
alpine 3.21gst-plugins-good1.24.10-r0
alpine 3.22gst-plugins-good1.24.10-r0
alpine 3.23gst-plugins-good1.24.10-r0
alpine 3.24gst-plugins-good1.24.10-r0
alpine edgegst-plugins-good1.24.10-r0
amazon linux 2gstreamer1-plugins-good, gstreamer1-plugins-good-debuginfo, gstreamer1-plugins-good-gtk1.18.4-6.amzn2.0.4
debian 11gst-plugins-good1.01.18.4-2+deb11u3
Show all 53 entries from 36 sources
SourcePackageFixed in
Photon OS 4.0gstreamer1.25.1-1.ph4
Photon OS 4.0gstreamer-devel1.25.1-1.ph4
Photon OS 5.0gstreamer1.25.1-1.ph5
Photon OS 5.0gstreamer-devel1.25.1-1.ph5
alma 8gstreamer1-plugins-good1.16.1-5.el8_10
alma 8gstreamer1-plugins-good-gtk1.16.1-5.el8_10
alma 9gstreamer1-plugins-good1.22.1-3.el9_5
alma 9gstreamer1-plugins-good-gtk1.22.1-3.el9_5
alpine 3.20gst-plugins-good1.24.10-r0
alpine 3.21gst-plugins-good1.24.10-r0
alpine 3.22gst-plugins-good1.24.10-r0
alpine 3.23gst-plugins-good1.24.10-r0
alpine 3.24gst-plugins-good1.24.10-r0
alpine edgegst-plugins-good1.24.10-r0
amazon linux 2gstreamer1-plugins-good1.18.4-6.amzn2.0.4
amazon linux 2gstreamer1-plugins-good-debuginfo1.18.4-6.amzn2.0.4
amazon linux 2gstreamer1-plugins-good-gtk1.18.4-6.amzn2.0.4
debian 11gst-plugins-good1.01.18.4-2+deb11u3
debian 12gst-plugins-good1.01.22.0-5+deb12u2
debian 13gst-plugins-good1.01.24.10-1
debian 14gst-plugins-good1.01.24.10-1
echogst-plugins-good1.01.22.0-5+deb12u2
Oracle Linux 7gstreamer1-plugins-base1.10.4-2.0.1.el7
Oracle Linux 7gstreamer1-plugins-base-devel1.10.4-2.0.1.el7
Oracle Linux 7gstreamer1-plugins-base-devel-docs1.10.4-2.0.1.el7
Oracle Linux 7gstreamer1-plugins-base-tools1.10.4-2.0.1.el7
Oracle Linux 7gstreamer1-plugins-good1.10.4-2.0.1.el7
Oracle Linux 8gstreamer1-plugins-good1.16.1-5.el8_10
Oracle Linux 8gstreamer1-plugins-good-gtk1.16.1-5.el8_10
Oracle Linux 9gstreamer1-plugins-good1.22.1-3.el9_5
Oracle Linux 9gstreamer1-plugins-good-gtk1.22.1-3.el9_5
rapidfort alma 10gstreamer1-plugins-goodno fix listed
rapidfort alma 10gstreamer1-plugins-good-gtkno fix listed
rapidfort alpine 3.20gstreamer1.24.10-r0
rapidfort alpine 3.21gstreamer1.24.10-r0
rapidfort alpine 3.22gstreamer1.24.10-r0
rapidfort alpine 3.23gstreamer1.24.10-r0
rapidfort alpine 3.24gstreamer1.24.10-r0
rapidfort debian 12gst-plugins-good1.00:1.24.10-1
rapidfort debian 13gst-plugins-good1.00:1.24.10-1
rapidfort Oracle Linux 10gstreamer1-plugins-goodno fix listed
rapidfort Oracle Linux 10gstreamer1-plugins-good-gtkno fix listed
rapidfort Oracle Linux 9gstreamer1-plugins-good0:1.22.1-3.el9_5
rapidfort Oracle Linux 9gstreamer1-plugins-good-gtk0:1.22.1-3.el9_5
rocky 8gstreamer1-plugins-good1.16.1-5.el8_10
rocky 8gstreamer1-plugins-good-gtk1.16.1-5.el8_10
rocky 9gstreamer1-plugins-good1.22.1-3.el9_5
rocky 9gstreamer1-plugins-good-gtk1.22.1-3.el9_5
ubuntu 20.04gst-plugins-good1.01.16.3-0ubuntu1.3
ubuntu 20.04-ESMgst-plugins-good1.01.16.3-0ubuntu1.3
ubuntu 22.04gst-plugins-good1.01.20.3-0ubuntu1.3
ubuntu 24.04gst-plugins-good1.01.24.2-1ubuntu1.1
ubuntu 24.10gst-plugins-good1.01.24.8-1ubuntu1.1

References

All 29 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.