Glib: glib: denial of service via integer overflow in g_buffered_input_stream_peek()
Red Hat / Red Hat Hardened Images、Red Hat Enterprise Linux 10、Red Hat Enterprise Linux 6、Red Hat Enterprise Linux 7、Red Hat Enterprise Linux 8、Red Hat Enterprise Linux 9 +1
A flaw was found in glib. Missing validation of offset and count parameters in the g_buffered_input_stream_peek() function can lead to an integer overflow during length calculation. When specially crafted values are provided, this overflow results in an incorrect size being passed to memcpy(), triggering a buffer overflow. This can cause application crashes, leading to a Denial of Service (DoS).