Stack-based Buffer Overflow in gstvorbisdec Causes EIP Address Overwrite
CVE-2024-47538
9.8CRITICAL
What is CVE-2024-47538?
A vulnerability has been identified in the GStreamer media handling library, specifically in the vorbis_handle_identification_packet
function of gstvorbisdec.c
. This issue arises from a stack-buffer overflow due to the position array, which is allocated on the stack with a size of 64. If the number of channels (vd->vi.channels
) exceeds 64, it triggers a loop that writes beyond the bounds of this array, potentially overwriting critical data in the stack, including the EIP address. Such an exploit may also corrupt the GstAudioInfo
structure. This concern has been addressed in version 1.24.10.
Affected Version(s)
gstreamer < 1.24.10