Skip to main content
EPSS 0.9%top 43%

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… (CVE-2026-58013)

0
Medium
Published: 06/30/2026 (06/30/2026, 15:30:45 UTC)
Source: GCVE Database

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.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Affected software

Affected versions
=0<2.70.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/29/2026, 05:06:31 UTC

Technical Analysis

CVE-2026-58013 describes a buffer over-read in GLib's g_io_channel_read_line_backend() function within giochannel.c. When a custom line terminator with length greater than one is set, the memcmp operation reads past the end of the GString buffer, causing an out-of-bounds read. This can result in minor information disclosure (7 bytes) or a denial of service if the read crosses a page boundary. The vulnerability affects GLib versions before 2.70.1. Red Hat has issued a security advisory (RHSA-2026:49512) providing patches for affected products.

Potential Impact

The vulnerability can lead to a minor information disclosure of 7 bytes or cause a denial of service condition if the buffer over-read crosses a memory page boundary. The CVSS v3.1 base score is 6.5 (medium severity), reflecting network attack vector, low complexity, no privileges required, no user interaction, limited confidentiality impact, no integrity impact, and low availability impact.

Mitigation Recommendations

A security update fixing this vulnerability is available and should be applied. Red Hat has released an advisory (RHSA-2026:49512) with patches for affected GLib versions. Users should update to GLib version 2.70.1 or later where this issue is resolved. No additional mitigation actions are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-4x46-h598-64qr
Osv Schema Version
1.4.0
Aliases
["CVE-2026-58013"]
Database Specific Severity
MODERATE
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a83335dbf8831d5392a656f

Added to database: 08/17/2026, 16:14:21 UTC

Last enriched: 09/29/2026, 05:06:31 UTC

Last updated: 10/02/2026, 02:46:37 UTC

Views: 42

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses