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)
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.
AI Analysis
Technical Summary
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.
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)
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
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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
Patch Information
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.