CVE-2026-58013

MEDIUM

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

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-58013. PoCs published by HermesNA-1.

AI-analyzed exploit summary This repository contains an auto-generated stub module for CVE-2026-58013, a buffer over-read vulnerability in GLib's g_io_channel_read_line_backend() function. The code includes placeholder methods for probing targets but lacks actual exploit implementation or technical details about the vulnerability's exploitation mechanics.

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.

Exploits (1)

github STUB 1 stars
by HermesNA-1 · pythonpoc
https://github.com/HermesNA-1/SnakeSploit/tree/main/data/modules_generated/cve-2026-58013_flaw_was_found.py

This repository contains an auto-generated stub module for CVE-2026-58013, a buffer over-read vulnerability in GLib's g_io_channel_read_line_backend() function. The code includes placeholder methods for probing targets but lacks actual exploit implementation or technical details about the vulnerability's exploitation mechanics.

Classification
Stub 99%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Theoretical
Target: GLib (giochannel.c in gio module)
No auth needed
Prerequisites: Target system running a vulnerable version of GLib · Custom line terminator with length > 1 set in the application using GLib
mistral-large-3 · analyzed Jul 09, 2026 Full analysis →

References (3)

Core 3
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-58013
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2492248
https://bugzilla.redhat.com/show_bug.cgi?id=2492248

Scores

CVSS v3 6.5
EPSS 0.0033
EPSS Percentile 24.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-126
Status published
Products (13)
GNOME/GLib < 2.88.1
gnome/glib < 2.88.1
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 9
Red Hat/Red Hat Hardened Images
redhat/enterprise_linux 6.0
redhat/enterprise_linux 7.0
... and 3 more
Published Jun 30, 2026
Tracked Since Jun 30, 2026