Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-58013 EUVD-2026-40315GHSA-4x46-h598-64qr

Glib: buffer over-read in glib/giochannel.c via "g_io_channel_read_line_backend"

Published Jun 30, 2026 · Updated Nov 10, 2026 · Assigned by redhat

Vendor: GNOME Vendor: Red Hat Product: Cert Manager support for Red Hat OpenShift release 1.17 Product: Cert Manager support for Red Hat OpenShift release 1.18 Product: Cert Manager support for Red Hat OpenShift release 1.19 Product: Cert Manager support for Red Hat OpenShift release 1.20 Product: glib Product: Red Hat AI Inference Server 3.2 Product: Red Hat AI Inference Server 3.5 Product: Red Hat Discovery 2 Product: Red Hat Enterprise Linux 10 Product: Red Hat Enterprise Linux 10.0 Extended Update Support Product: Red Hat Enterprise Linux 6 Product: Red Hat Enterprise Linux 7 Extended Lifecycle Support Product: Red Hat Enterprise Linux 8 Product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Product: Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On Product: Red Hat Enterprise Linux 8.8 Telecommunications Update Service Product: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9 Product: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions Product: Red Hat Enterprise Linux 9.6 Extended Update Support Product: Red Hat Enterprise Linux AI 3.5 Product: Red Hat Hardened Images Product: Red Hat OpenShift AI (RHOAI) Product: Red Hat OpenShift AI 3.0 Product: Red Hat OpenShift AI 3.2 Product: Red Hat OpenShift AI 3.4 Product: Red Hat OpenShift AI 3.5 Product: Red Hat Update Infrastructure 5 Package: glib Package: glib Package: glib2.0 Package: glib2.0 Platform: Linux Ecosystem: Alpine Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

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.

Affected products

VendorProductAffectedFixed
GNOME GLib < 2.88.1 2.88.1
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support — —
Red Hat Cert Manager support for Red Hat OpenShift release 1.17 — —
Red Hat Cert Manager support for Red Hat OpenShift release 1.18 — —
Red Hat Cert Manager support for Red Hat OpenShift release 1.19 — —
Red Hat Cert Manager support for Red Hat OpenShift release 1.20 — —
Red Hat Red Hat AI Inference Server 3.2 — —
Red Hat Red Hat AI Inference Server 3.5 — —
Red Hat Red Hat Discovery 2 — —
Red Hat Red Hat Enterprise Linux AI 3.5 — —
Red Hat Red Hat OpenShift AI 3.0 — —
Red Hat Red Hat OpenShift AI 3.2 — —
Red Hat Red Hat OpenShift AI 3.4 — —
Red Hat Red Hat OpenShift AI 3.5 — —
Red Hat Red Hat Update Infrastructure 5 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Hardened Images — —
Red Hat Red Hat OpenShift AI (RHOAI) — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glib2.0 2.88.1-2 —
Debian 13 glib2.0 2.84.4-3~deb13u4 —
Debian 12 glib2.0 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS glib2.0 2.88.0-1ubuntu0.1 USN-8794-1
Ubuntu 25.10 glib2.0 No fix yet —
Ubuntu 24.04 LTS glib2.0 2.80.0-6ubuntu3.9 USN-8794-1
Ubuntu 22.04 LTS glib2.0 2.72.4-0ubuntu2.10 USN-8794-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS glib2.0 2.64.6-1~ubuntu20.04.9+esm2 USN-8794-1
Ubuntu Pro 18.04 LTS glib2.0 2.56.4-0ubuntu0.18.04.9+esm6 USN-8794-1
Ubuntu Pro 16.04 LTS glib2.0 2.48.2-0ubuntu4.8+esm6 USN-8794-1
Ubuntu Pro 14.04 LTS glib2.0 2.40.2-0ubuntu1.1+esm8 USN-8794-1
ReleasePackageFixed inAdvisory
RHEL 10 glib2 +4 2.80.4-12.el10_2.21 RHSA-2026:57015
RHEL 9 glib2 +4 2.68.4-19.el9_8.9 RHSA-2026:55440
RHEL 8 glib2 +5 2.56.4-177.el8_10 RHSA-2026:61766
RHEL 8 mingw-glib2 +4 2.70.1-9.el8_10 RHSA-2026:49512
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS glib2 +4 2.80.4-4.el10_0.17 RHSA-2026:65767
RHEL 9.6 EUS glib2 +4 2.68.4-16.el9_6.7 RHSA-2026:65763
RHEL 9.4 E4S glib2 +3 2.68.4-14.el9_4.8 RHSA-2026:65770
RHEL 9.2 E4S glib2 +3 2.68.4-7.el9_2.7 RHSA-2026:65768
RHEL 8.8 TUS glib2 +3 2.56.4-165.el8_8.2 RHSA-2026:65771
RHEL 8.8 E4S glib2 +3 2.56.4-165.el8_8.2 RHSA-2026:65771
RHEL 8.6 EUS Long Life glib2 +3 2.56.4-158.el8_6.7 RHSA-2026:65769
RHEL 8.6 AUS glib2 +3 2.56.4-158.el8_6.7 RHSA-2026:65769
RHEL 8.4 EUS Long Life glib2 +3 2.56.4-10.el8_4.7 RHSA-2026:65762
RHEL 8.4 AUS glib2 +3 2.56.4-10.el8_4.7 RHSA-2026:65762
RHEL 7 ELS glib2 +5 2.56.1-13.el7_9.1 RHSA-2026:65773

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 glib2 +4 2.80.4-12.el10_2.21 ALSA-2026:57015
AlmaLinux 9 glib2 +4 2.68.4-19.el9_8.9 ALSA-2026:55440
AlmaLinux 8 glib2 +5 2.56.4-177.el8_10 ALSA-2026:61766
AlmaLinux 8 mingw32-glib2 +3 2.70.1-9.el8_10 ALSA-2026:49512

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 glib2 2.80.4-12.el10_2.21 RLSA-2026:57015
Rocky Linux 9 glib2 2.68.4-19.el9_8.9 RLSA-2026:55440
Rocky Linux 8 glib2 2.56.4-177.el8_10 RLSA-2026:61766
Rocky Linux 8 mingw-glib2 2.70.1-9.el8_10 RLSA-2026:49512
ReleasePackageFixed inAdvisory
SLES 15 SP7 glib2 2.78.6-150600.4.38.1 SUSE-SU-2026:3341-1
SLES 15 SP6 glib2 2.78.6-150600.4.38.1 SUSE-SU-2026:3341-1
SLES 15 SP5 glib2 2.70.5-150400.3.37.1 SUSE-SU-2026:3235-1
SLES 15 SP4 glib2 2.70.5-150400.3.37.1 SUSE-SU-2026:3235-1
SLES 12 SP5 glib2 2.48.2-12.61.1 SUSE-SU-2026:3236-1
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 glib2 +1 2.84.4-160000.4.1 SUSE-SU-2026:22846-1
SLES for SAP 15 SP6 glib2 2.78.6-150600.4.38.1 SUSE-SU-2026:3341-1
SLES for SAP 15 SP5 glib2 2.70.5-150400.3.37.1 SUSE-SU-2026:3235-1
SLES for SAP 15 SP4 glib2 2.70.5-150400.3.37.1 SUSE-SU-2026:3235-1
SLES 16.0 glib2 +1 2.84.4-160000.4.1 SUSE-SU-2026:22846-1
SLE Micro 6.2 glib2 2.84.4-160000.4.1 SUSE-SU-2026:22928-1
SLE Micro 6.1 glib2 2.78.6-slfo.1.1_7.1 SUSE-SU-2026:23078-1
SLE Micro 6.0 glib2 2.76.2-13.1 SUSE-SU-2026:23009-1
SLE Micro 5.5 glib2 2.70.5-150400.3.37.1 SUSE-SU-2026:3235-1
SLE Micro 5.4 glib2 2.70.5-150400.3.37.1 SUSE-SU-2026:3235-1
SLE Micro 5.3 glib2 2.70.5-150400.3.37.1 SUSE-SU-2026:3235-1
SLE HPC 15 SP5 glib2 2.70.5-150400.3.37.1 SUSE-SU-2026:3235-1
SLE HPC 15 SP4 glib2 2.70.5-150400.3.37.1 SUSE-SU-2026:3235-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 glib2 +1 2.84.4-160000.4.1 openSUSE-SU-2026:21410-1
ReleasePackageFixed inAdvisory
Alpine v3.23 glib 2.86.4-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 glib2 +4 2.82.2-770.amzn2023 ALAS2023-2026-1942

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 glib 2.78.6-11 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 glib2 +4 2.80.4-12.el10_2.21 ELSA-2026-57015
Oracle Linux 9 glib2 +4 2.68.4-19.el9_8.9 ELSA-2026-55440
Oracle Linux 8 mingw32-glib2 +3 2.70.1-9.el8_10 ELSA-2026-49512

Advisories 37

References