Skip to main content
EPSS 0.8%top 44%

A flaw was found in GLib. An out-of-bounds read of only 2 bytes can occur in the g_date_time_get_ymd function in the glib/gdatetime.c file when an… (CVE-2026-58011)

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

Description

A flaw was found in GLib. An out-of-bounds read of only 2 bytes can occur in the g_date_time_get_ymd function in the glib/gdatetime.c file when an invalid GDateTime object produced by the g_date_time_add_full function is processed. This flaw can corrupt the date output and potentially cause logic errors that may lead to a denial of service.

CVSS v3.1

Score 6.5medium

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

Affected software

Affected versions
=0<2.70.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/29/2026, 05:07:02 UTC

Technical Analysis

CVE-2026-58011 describes an out-of-bounds read vulnerability in the GLib library, specifically in the g_date_time_get_ymd function within glib/gdatetime.c. The flaw occurs when an invalid GDateTime object, produced by the g_date_time_add_full function, is processed, resulting in a 2-byte out-of-bounds read. This can corrupt the date output and may cause logic errors that lead to denial of service conditions. The vulnerability is tracked under CWE-125 (Out-of-bounds Read). Red Hat has issued a security advisory (RHSA-2026:49512) providing patches for affected versions.

Potential Impact

The vulnerability can cause corruption of date output and potentially trigger logic errors that result in denial of service. There is no indication of confidentiality or integrity impact. No known exploits are reported in the wild.

Mitigation Recommendations

A security update fixing this vulnerability is available and should be applied. Red Hat provides an official patch in their advisory RHSA-2026:49512. Users should upgrade GLib to version 2.70.1 or later where the issue is resolved.

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-8xmh-8wfg-9f6j
Osv Schema Version
1.4.0
Aliases
["CVE-2026-58011"]
Database Specific Severity
MODERATE
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a83335dbf8831d5392a6566

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

Last enriched: 09/29/2026, 05:07:02 UTC

Last updated: 10/02/2026, 22:47:32 UTC

Views: 38

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