Out-of-bounds Read in Gstreamer
CVE-2024-47776
GStreamer is a library for constructing graphs of media-handling components. An OOB-read has been discovered in gst_wavparse_cue_chunk within gstwavparse.c. The vulnerability happens due to a discrepancy between the size of the data buffer and the size value provided to the function. This mismatch causes the comparison if (size < 4 + ncues * 24) to fail in some cases, allowing the subsequent loop to access beyond the bounds of the data buffer. The root cause of this discrepancy stems from a miscalculation when clipping the chunk size based on upstream data size. This vulnerability allows reading beyond the bounds of the data buffer, potentially leading to a crash (denial of service) or the leak of sensitive data. This vulnerability is fixed in 1.24.10.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.
EPSS exploit prediction
EPSS 0.012, 68.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gstreamer — versions < 1.24.10
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://securitylab.github.com/advisories/GHSL-2024-260_Gstreamer/ (Third Party Advisory)
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8042.patch (Patch)
- https://gstreamer.freedesktop.org/security/sa-2024-0027.html (Release Notes)
- lists.debian.org/debian-lts-announce/2025/02/msg00035.html