{"id":"UBUNTU-CVE-2024-47540","details":"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 \u003c 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-\u003eallocator-\u003emem_unmap_full or mem-\u003eallocator-\u003emem_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.","modified":"2026-01-30T01:49:52.777501Z","published":"2024-12-12T00:00:00Z","related":["USN-7176-1"],"upstream":["CVE-2024-47540"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-47540"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-47540"},{"type":"REPORT","url":"https://gstreamer.freedesktop.org/security/sa-2024-0017.html"},{"type":"REPORT","url":"https://securitylab.github.com/advisories/GHSL-2024-197_GStreamer/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7176-1"}],"affected":[{"package":{"name":"gst-plugins-good1.0","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/gst-plugins-good1.0@1.8.3-1ubuntu0.5+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-1ubuntu1","1.6.1-1ubuntu1","1.6.2-1ubuntu1","1.7.1-1ubuntu1","1.7.2-1ubuntu1","1.7.90-1ubuntu1","1.7.91-1ubuntu1","1.8.0-1ubuntu1","1.8.1-1ubuntu0.1","1.8.2-1ubuntu0.1","1.8.2-1ubuntu0.2","1.8.2-1ubuntu0.3","1.8.3-1ubuntu0.3","1.8.3-1ubuntu0.4","1.8.3-1ubuntu0.5","1.8.3-1ubuntu0.5+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.3-1ubuntu0.5+esm1","binary_name":"gstreamer1.0-plugins-good"},{"binary_version":"1.8.3-1ubuntu0.5+esm1","binary_name":"gstreamer1.0-pulseaudio"},{"binary_version":"1.8.3-1ubuntu0.5+esm1","binary_name":"libgstreamer-plugins-good1.0-0"},{"binary_version":"1.8.3-1ubuntu0.5+esm1","binary_name":"libgstreamer-plugins-good1.0-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47540.json"}},{"package":{"name":"gst-plugins-good0.10","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/gst-plugins-good0.10@0.10.31-3+nmu4ubuntu2.16.04.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.31-3+nmu4ubuntu2~gcc5.1","0.10.31-3+nmu4ubuntu2.16.04.1","0.10.31-3+nmu4ubuntu2.16.04.2","0.10.31-3+nmu4ubuntu2.16.04.3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.10.31-3+nmu4ubuntu2.16.04.3","binary_name":"gstreamer0.10-gconf"},{"binary_version":"0.10.31-3+nmu4ubuntu2.16.04.3","binary_name":"gstreamer0.10-plugins-good"},{"binary_version":"0.10.31-3+nmu4ubuntu2.16.04.3","binary_name":"gstreamer0.10-pulseaudio"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47540.json"}},{"package":{"name":"gst-plugins-good1.0","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/gst-plugins-good1.0@1.14.5-0ubuntu1~18.04.3+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.12.3-1ubuntu1","1.12.4-1ubuntu1","1.13.1-1ubuntu1","1.13.91-1ubuntu1","1.14.0-1ubuntu1","1.14.1-1ubuntu1~ubuntu18.04.1","1.14.4-1ubuntu1~ubuntu18.04.1","1.14.5-0ubuntu1~18.04.1","1.14.5-0ubuntu1~18.04.2","1.14.5-0ubuntu1~18.04.3","1.14.5-0ubuntu1~18.04.3+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.14.5-0ubuntu1~18.04.3+esm1","binary_name":"gstreamer1.0-gtk3"},{"binary_version":"1.14.5-0ubuntu1~18.04.3+esm1","binary_name":"gstreamer1.0-plugins-good"},{"binary_version":"1.14.5-0ubuntu1~18.04.3+esm1","binary_name":"gstreamer1.0-pulseaudio"},{"binary_version":"1.14.5-0ubuntu1~18.04.3+esm1","binary_name":"gstreamer1.0-qt5"},{"binary_version":"1.14.5-0ubuntu1~18.04.3+esm1","binary_name":"libgstreamer-plugins-good1.0-0"},{"binary_version":"1.14.5-0ubuntu1~18.04.3+esm1","binary_name":"libgstreamer-plugins-good1.0-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47540.json"}},{"package":{"name":"gst-plugins-good1.0","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gst-plugins-good1.0@1.16.3-0ubuntu1.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.3-0ubuntu1.3"}]}],"versions":["1.16.1-1ubuntu1","1.16.2-1ubuntu1","1.16.2-1ubuntu2","1.16.2-1ubuntu2.1","1.16.3-0ubuntu1","1.16.3-0ubuntu1.1","1.16.3-0ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.16.3-0ubuntu1.3","binary_name":"gstreamer1.0-gtk3"},{"binary_version":"1.16.3-0ubuntu1.3","binary_name":"gstreamer1.0-plugins-good"},{"binary_version":"1.16.3-0ubuntu1.3","binary_name":"gstreamer1.0-pulseaudio"},{"binary_version":"1.16.3-0ubuntu1.3","binary_name":"gstreamer1.0-qt5"},{"binary_version":"1.16.3-0ubuntu1.3","binary_name":"libgstreamer-plugins-good1.0-0"},{"binary_version":"1.16.3-0ubuntu1.3","binary_name":"libgstreamer-plugins-good1.0-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47540.json"}},{"package":{"name":"gst-plugins-good1.0","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/gst-plugins-good1.0@1.20.3-0ubuntu1.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.3-0ubuntu1.3"}]}],"versions":["1.18.5-1ubuntu2","1.18.5-1ubuntu3","1.20.0-2ubuntu1","1.20.1-1ubuntu1","1.20.3-0ubuntu1","1.20.3-0ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.20.3-0ubuntu1.3","binary_name":"gstreamer1.0-gtk3"},{"binary_version":"1.20.3-0ubuntu1.3","binary_name":"gstreamer1.0-plugins-good"},{"binary_version":"1.20.3-0ubuntu1.3","binary_name":"gstreamer1.0-pulseaudio"},{"binary_version":"1.20.3-0ubuntu1.3","binary_name":"gstreamer1.0-qt5"},{"binary_version":"1.20.3-0ubuntu1.3","binary_name":"libgstreamer-plugins-good1.0-0"},{"binary_version":"1.20.3-0ubuntu1.3","binary_name":"libgstreamer-plugins-good1.0-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47540.json"}},{"package":{"name":"gst-plugins-good1.0","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/gst-plugins-good1.0@1.24.2-1ubuntu1.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.24.2-1ubuntu1.1"}]}],"versions":["1.22.6-1ubuntu1","1.22.6-1ubuntu2","1.22.8-3ubuntu1","1.22.9-1ubuntu1","1.24.0-1ubuntu5","1.24.0-1ubuntu7","1.24.1-2ubuntu1","1.24.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.24.2-1ubuntu1.1","binary_name":"gstreamer1.0-gtk3"},{"binary_version":"1.24.2-1ubuntu1.1","binary_name":"gstreamer1.0-plugins-good"},{"binary_version":"1.24.2-1ubuntu1.1","binary_name":"gstreamer1.0-pulseaudio"},{"binary_version":"1.24.2-1ubuntu1.1","binary_name":"gstreamer1.0-qt5"},{"binary_version":"1.24.2-1ubuntu1.1","binary_name":"gstreamer1.0-qt6"},{"binary_version":"1.24.2-1ubuntu1.1","binary_name":"libgstreamer-plugins-good1.0-0"},{"binary_version":"1.24.2-1ubuntu1.1","binary_name":"libgstreamer-plugins-good1.0-dev"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-47540.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}