{"id":"CVE-2024-47540","aliases":["CVE-2024-47540"],"related":[],"kind":"vulnerability","state":"published","title":"GHSL-2024-197: GStreamer uses uninitialized stack memory in Matroska/WebM demuxer","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"GStreamer es una librería para construir gráficos de componentes de manejo de medios. Se ha identificado una vulnerabilidad de variable de pila no inicializada en la función gst_matroska_demux_add_wvpk_header dentro de matroska-demux.c. Cuando size &lt; 4, el programa llama a gst_buffer_unmap con una variable de mapa no inicializada. Luego, en la función gst_memory_unmap, el programa intentará desasignar el búfer utilizando la variable de mapa no inicializada, lo que provocará un secuestro del puntero de función, ya que saltará a mem-&gt;allocator-&gt;mem_unmap_full o mem-&gt;allocator-&gt;mem_unmap. Esta vulnerabilidad podría permitir que un atacante secuestre el flujo de ejecución, lo que podría provocar la ejecución del código. Esta vulnerabilidad se corrigió en 1.24.10.","source":"nvd"}],"published":"2024-12-11T18:54:04.383Z","modified":"2026-06-17T07:57:16.127Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-457","CWE-908"],"affected":[{"ranges":[{"version":"< 1.24.10","status":"affected"}],"vendor":"gstreamer","product":"gstreamer","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.24.10"}],"vendor":"gstreamer","product":"gstreamer","cpe":"cpe:2.3:a:gstreamer:gstreamer:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2024-197_GStreamer/","tags":["third-party-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8057.patch","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://gstreamer.freedesktop.org/security/sa-2024-0017.html","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-12-12T14:34:42.237Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-47540","url":"https://www.cve.org/CVERecord?id=CVE-2024-47540","licence":"CVE Terms of Use","modified":"2025-11-03T20:39:37.616Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-47540","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47540","licence":"Public domain","modified":"2026-06-17T07:57:16.127Z"}],"updatedAt":"2026-11-25T22:58:49.961Z","epss":{"score":0.01007,"percentile":0.6399,"date":"2026-12-01T12:00:22.000Z"}}