Buffer overflow in Gstreamer
CVE-2024-47607
GStreamer is a library for constructing graphs of media-handling components. stack-buffer overflow has been detected in the gst_opus_dec_parse_header function within `gstopusdec.c'. The pos array is a stack-allocated buffer of size 64. If n_channels exceeds 64, the for loop will write beyond the boundaries of the pos array. The value written will always be GST_AUDIO_CHANNEL_POSITION_NONE. This bug allows to overwrite the EIP address allocated in the stack. This vulnerability is fixed in 1.24.10.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.012, 68.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Gstreamer — versions < 1.24.10
Weakness classification (CWE)
References
- https://securitylab.github.com/advisories/GHSL-2024-115_GHSL-2024-118_Gstreamer/ (Third Party Advisory)
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8037.patch (Patch)
- https://gstreamer.freedesktop.org/security/sa-2024-0024.html (Release Notes)
- lists.debian.org/debian-lts-announce/2024/12/msg00021.html