CVE-2024-47538: GHSL-2024-115: GStreamer has a stack-buffer overflow in vorbis_handle_identification_packet

8.6 CVSS

Description

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 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.

Classification

CVE ID: CVE-2024-47538

CVSS Base Severity: HIGH

CVSS Base Score: 8.6

Affected Products

Vendor: gstreamer

Product: gstreamer

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.09% (probability of being exploited)

EPSS Percentile: 39.45% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://securitylab.github.com/advisories/GHSL-2024-115_GHSL-2024-118_Gstreamer/
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8035.patch
https://gstreamer.freedesktop.org/security/sa-2024-0022.html

Timeline