Description
A flaw was found in GLib. A buffer over-read can occur in g_io_channel_read_line_backend() in the giochannel.c file when a custom line terminator with a length greater than one is set, causing memcmp to read past the GString buffer. This vulnerability can cause a minor information disclosure of 7 bytes or a denial of service when the buffer over-read crosses a page boundary.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
| Provided by | CNA |
Weaknesses
- CWE-126 — Buffer Over-read
Affected products
| Vendor | Product | Versions |
|---|---|---|
| GNOME | GLib | 0 to <2.88.1 |
| Red Hat | Red Hat Enterprise Linux 10 | — |
| Red Hat | Red Hat Enterprise Linux 10 | — |
| Red Hat | Red Hat Enterprise Linux 6 | — |
| Red Hat | Red Hat Enterprise Linux 7 | — |
| Red Hat | Red Hat Enterprise Linux 8 | — |
| Red Hat | Red Hat Enterprise Linux 8 | — |
| Red Hat | Red Hat Enterprise Linux 9 | — |
| Red Hat | Red Hat Enterprise Linux 9 | — |
| Red Hat | Red Hat Hardened Images | — |
References
- https://access.redhat.com/security/cve/CVE-2026-58013 (vdb-entry x_refsource_REDHAT)
- https://bugzilla.redhat.com/show_bug.cgi?id=2492248 (issue-tracking x_refsource_REDHAT)
- https://gitlab.gnome.org/GNOME/glib/-/issues/3925
Generated from the official CVE List on 01 Jul 2026 07:05 UTC.