REDHAT-BUG-2492248: Medium severity GLib GIO (g_io_channel) vulnerability

Published Jun 24, 2026
·
Updated

A heap-buffer-overflow READ occurs in giochannelreadlinebackend() at giochannel.c:1831 when a custom line terminator of length > 1 is set via giochannelsetlineterm(). The memcmp call reads linetermlen bytes from nextchar, but the loop condition nextchar < lastchar only guarantees 1 byte is available. When nextchar is within linetermlen - 1 bytes of lastchar, memcmp reads past the GString buffer into ASan redzone / unallocated memory.

Affected Software

1 affected component
GLib GIO (g_io_channel)

Event History

Jun 24, 2026
Data Sourced
via Red Hat·04:57 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2492248?

The severity of REDHAT-BUG-2492248 is medium, rated at 4.

2

How do I fix REDHAT-BUG-2492248?

To fix REDHAT-BUG-2492248, you should update to the latest version of GLib GIO that addresses this vulnerability.

3

What type of vulnerability is REDHAT-BUG-2492248?

REDHAT-BUG-2492248 is classified as a heap-buffer-overflow READ vulnerability.

4

What specific function is affected by REDHAT-BUG-2492248?

The function affected by REDHAT-BUG-2492248 is g_io_channel_read_line_backend() in giochannel.c.

5

What conditions lead to the vulnerability in REDHAT-BUG-2492248?

The vulnerability in REDHAT-BUG-2492248 occurs when a custom line terminator of length greater than 1 is set via g_io_channel_set_line_term().

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
REDHAT-BUG-2492248 - Medium severity GLib GIO (g_io_channel) vulnerability - SecAlerts