Buffer overflow in Gstreamer
CVE-2024-47538
GStreamer is a library for constructing graphs of media-handling components. A stack-buffer overflow has been detected in the `vorbis_handle_identification_packet` function within `gstvorbisdec.c`. The position array is a stack-allocated buffer of size 64. If vd->vi.channels exceeds 64, the for loop will write beyond the boundaries of the position array. The value written will always be `GST_AUDIO_CHANNEL_POSITION_NONE`. This vulnerability allows someone to overwrite the EIP address allocated in the stack. Additionally, this bug can overwrite the `GstAudioInfo` info structure. 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.013, 70.4th 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/8035.patch (Patch)
- https://gstreamer.freedesktop.org/security/sa-2024-0022.html (Release Notes)
- lists.debian.org/debian-lts-announce/2024/12/msg00021.html