# JLSEC-2026-1246: A flaw was found in GLib. A buffer over-read can occur in g_io_channel_read_line_backend() in the...

- Severity: High 8.2 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-08-11T13:55:26.657Z
- Modified: 2026-08-11T14:13:42.422Z
- Related: CVE-2026-58013, EUVD-2026-40315, GHSA-4x46-h598-64qr

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

(As written by Julia Security Advisories.)

## Affected

- Glib_jll (Julia): before 2.88.3+0

## References

- <https://access.redhat.com/errata/RHSA-2026:49512> (web)
- <https://access.redhat.com/security/cve/CVE-2026-58013> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2492248> (web)
- <https://github.com/advisories/GHSA-4x46-h598-64qr> (web)
- <https://gitlab.gnome.org/GNOME/glib/-/issues/3925> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-58013> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1246](https://osv.dev/vulnerability/JLSEC-2026-1246), CC-BY-4.0, modified 2026-08-11

---

Page: https://cve.day/JLSEC-2026-1246 · Whole record: https://cve.day/JLSEC-2026-1246.json · Rebuilt by cve.day 2026-11-25T22:56:25.914Z
