{"affected":[{"product":"gstreamer","source":"CNA: GitHub_M","vendor":"gstreamer","versions":[{"status":"affected","version":"< 1.24.10"}]}],"cpeConfigurations":[{"negate":false,"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:gstreamer:gstreamer:*:*:*:*:*:*:*:*","versionEndExcluding":"1.24.10","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"},{"negate":false,"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"cveId":"CVE-2024-47606","cwes":["CWE-190","CWE-191"],"description":"GStreamer is a library for constructing graphs of media-handling components. An integer underflow has been detected in the function qtdemux_parse_theora_extension within qtdemux.c. The vulnerability occurs due to an underflow of the gint size variable, which causes size to hold a large unintended value when cast to an unsigned integer. This 32-bit negative value is then cast to a 64-bit unsigned integer (0xfffffffffffffffa) in a subsequent call to gst_buffer_new_and_alloc. The function gst_buffer_new_allocate then attempts to allocate memory, eventually calling _sysmem_new_block. The function _sysmem_new_block adds alignment and header size to the (unsigned) size, causing the overflow of the 'slice_size' variable. As a result, only 0x89 bytes are allocated, despite the large input size. When the following memcpy call occurs in gst_buffer_fill, the data from the input file will overwrite the content of the GstMapInfo info structure. Finally, during the call to gst_memory_unmap, the overwritten memory may cause a function pointer hijack, as the mem->allocator->mem_unmap_full function is called with a corrupted pointer. This function pointer overwrite could allow an attacker to alter the execution flow of the program, leading to arbitrary code execution. This vulnerability is fixed in 1.24.10.","epss":{"date":"2026-11-03","percentile":0.77604,"score":0.01728},"exploits":[],"kev":null,"metrics":[{"score":8.6,"severity":"high","source":"CNA: GitHub_M","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","version":"4.0"},{"score":8.6,"severity":"high","source":"NVD: security-advisories@github.com","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/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","version":"4.0"},{"score":9.8,"severity":"critical","source":"NVD: nvd@nist.gov","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1793744244583,"publishedAt":1733944360186,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://securitylab.github.com/advisories/GHSL-2024-166_Gstreamer/"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8032.patch"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://gstreamer.freedesktop.org/security/sa-2024-0014.html"},{"source":"ADP: CVE","tags":[],"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00016.html"},{"source":"ADP: CVE","tags":[],"url":"https://security.netapp.com/advisory/ntap-20250418-0003/"},{"source":"ADP: CVE","tags":[],"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html"},{"source":"security-advisories@github.com","tags":["Patch"],"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8032.patch"},{"source":"security-advisories@github.com","tags":["Release Notes"],"url":"https://gstreamer.freedesktop.org/security/sa-2024-0014.html"},{"source":"security-advisories@github.com","tags":["Third Party Advisory"],"url":"https://securitylab.github.com/advisories/GHSL-2024-166_Gstreamer/"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List"],"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00016.html"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00035.html"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"url":"https://security.netapp.com/advisory/ntap-20250418-0003/"}],"remediation":[{"kind":"fix","source":"security-advisories@github.com","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8032.patch"}],"revision":"e85017802a5213615e8662655ddb58fed518da338c20c1f2363c2391b0d205fd","sources":[{"modifiedAt":1793742759700,"name":"CNA: GitHub_M","retrievedAt":1793744003849,"url":"https://www.cve.org/CVERecord?id=CVE-2024-47606"},{"modifiedAt":1793744244583,"name":"NVD","retrievedAt":1793751368407,"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47606"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1793744105014,"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-47606"}],"ssvc":{"assessedAt":1753329328395,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"GHSL-2024-166: GStreamer Integer overflows in MP4/MOV demuxer and memory allocator that can lead to out-of-bounds writes","updatedAt":1793751368407}