Vulnerability · Published Jun 30, 2026 · Assigned by redhat

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

Medium 6.5

In plain English

A medium-severity security flaw in GLib from GNOME. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.5%top 56.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10glib22.80.4-12.el10_2.21ALSA-2026:57015
AlmaLinux:8glib22.56.4-177.el8_10ALSA-2026:61766
AlmaLinux:9glib22.68.4-19.el9_8.9ALSA-2026:55440
AlmaLinux:10glib2-devel2.80.4-12.el10_2.21ALSA-2026:57015
AlmaLinux:8glib2-devel2.56.4-177.el8_10ALSA-2026:61766
AlmaLinux:9glib2-devel2.68.4-19.el9_8.9ALSA-2026:55440
AlmaLinux:10glib2-doc2.80.4-12.el10_2.21ALSA-2026:57015
AlmaLinux:8glib2-doc2.56.4-177.el8_10ALSA-2026:61766
AlmaLinux:9glib2-doc2.68.4-19.el9_8.9ALSA-2026:55440
AlmaLinux:8glib2-fam2.56.4-177.el8_10ALSA-2026:61766
AlmaLinux:10glib2-static2.80.4-12.el10_2.21ALSA-2026:57015
AlmaLinux:8glib2-static2.56.4-177.el8_10ALSA-2026:61766
AlmaLinux:9glib2-static2.68.4-19.el9_8.9ALSA-2026:55440
AlmaLinux:10glib2-tests2.80.4-12.el10_2.21ALSA-2026:57015
AlmaLinux:8glib2-tests2.56.4-177.el8_10ALSA-2026:61766
AlmaLinux:9glib2-tests2.68.4-19.el9_8.9ALSA-2026:55440
AlmaLinux:8mingw32-glib22.70.1-9.el8_10ALSA-2026:49512
AlmaLinux:8mingw32-glib2-static2.70.1-9.el8_10ALSA-2026:49512
AlmaLinux:8mingw64-glib22.70.1-9.el8_10ALSA-2026:49512
AlmaLinux:8mingw64-glib2-static2.70.1-9.el8_10ALSA-2026:49512
Debian:12glib2.0no fix listedDEBIAN-CVE-2026-58013
Debian:13glib2.02.84.4-3~deb13u4DEBIAN-CVE-2026-58013
Debian:14glib2.02.88.1-2DEBIAN-CVE-2026-58013
Rocky Linux:10glib20:2.80.4-12.el10_2.21RLSA-2026:57015
Rocky Linux:8glib20:2.56.4-177.el8_10RLSA-2026:61766
Rocky Linux:9glib20:2.68.4-19.el9_8.9RLSA-2026:55440
Rocky Linux:8mingw-glib20:2.70.1-9.el8_10RLSA-2026:49512
Ubuntu:22.04:LTSglib2.02.72.4-0ubuntu2.10UBUNTU-CVE-2026-58013
Ubuntu:22.04:LTSglib2.02.72.4-0ubuntu2.10USN-8794-1
Ubuntu:24.04:LTSglib2.02.80.0-6ubuntu3.9UBUNTU-CVE-2026-58013
Ubuntu:24.04:LTSglib2.02.80.0-6ubuntu3.9USN-8794-1
Ubuntu:25.10glib2.0no fix listedUBUNTU-CVE-2026-58013
Ubuntu:26.04:LTSglib2.02.88.0-1ubuntu0.1USN-8794-1
Ubuntu:26.04:LTSglib2.02.88.0-1ubuntu0.1UBUNTU-CVE-2026-58013

Affected products (as reported)

VendorProductVersions
GNOME GLib 0 – before 2.88.1
Red Hat Red Hat Enterprise Linux 10 see references
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support see references
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support see references
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On see references
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support see references
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On see references
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service see references
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions see references
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.17 see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.17 see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.17 see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.17 see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.17 see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.18 see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.18 see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.18 see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.18 see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.18 see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.19 see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.19 see references
Red Hat Cert Manager support for Red Hat OpenShift release 1.19 see references

Weakness: CWE-126 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

References