CVE-2026-58011: Out-of-bounds Read in GNOME GLib
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
An out-of-bounds read vulnerability exists in GLib's g_date_time_get_ymd function triggered by invalid GDateTime objects created via g_date_time_add_full. The flaw reads 2 bytes beyond the intended buffer, potentially corrupting date output and causing logic errors that can lead to denial of service. The issue arises when applications accept user-supplied dates without validating that the date fields are within supported ranges, particularly rejecting negative or zero days. Red Hat's advisory confirms the vulnerability and rates it as moderate severity with a CVSS 3.1 base score of 6.5. The vulnerability does not impact confidentiality but affects integrity and availability with low impact. Red Hat has released updates for affected packages in Red Hat Enterprise Linux 8 and related products.
Potential Impact
The vulnerability can cause corrupted date outputs leading to logic errors in applications using GLib's date/time functions, potentially resulting in denial of service. There is no direct confidentiality impact. The denial of service is due to application logic errors triggered by corrupted date data, not a crash in production environments except under Address Sanitizer builds. The flaw requires no privileges or user interaction and can be exploited remotely via network vectors if the application processes untrusted date inputs.
Mitigation Recommendations
Red Hat has released security updates addressing this vulnerability. Users should apply the available patches for their GLib packages as provided in the Red Hat advisory RHSA-2026:49512. Additionally, applications processing user-supplied dates should implement input validation to ensure dates are within supported ranges before calling g_date_time_add_full, specifically rejecting inputs that produce negative or zero day fields. No other mitigations are indicated by the vendor advisory.
CVE-2026-58011: Out-of-bounds Read in GNOME GLib
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
GNOME
GLib
Red Hat
Red Hat Enterprise Linux 10
Red Hat
Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat
Red Hat Enterprise Linux 7 Extended Lifecycle Support
Red Hat
Red Hat Enterprise Linux 8
Red Hat
Red Hat Enterprise Linux 8
Red Hat
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
Red Hat
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
Red Hat
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
Red Hat
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
Red Hat
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
Red Hat
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9
Red Hat
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
Red Hat
Red Hat Enterprise Linux 9.6 Extended Update Support
Red Hat
Cert Manager support for Red Hat OpenShift release 1.19
Red Hat
Cert Manager support for Red Hat OpenShift release 1.19
Red Hat
Cert Manager support for Red Hat OpenShift release 1.19
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Cert Manager support for Red Hat OpenShift release 1.20
Red Hat
Red Hat Discovery 2
Red Hat
Red Hat Discovery 2
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Update Infrastructure 5
Red Hat
Red Hat Enterprise Linux 10
Red Hat
Red Hat Enterprise Linux 6
Red Hat
Red Hat Enterprise Linux 9
Red Hat
Red Hat Hardened Images
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
An out-of-bounds read vulnerability exists in GLib's g_date_time_get_ymd function triggered by invalid GDateTime objects created via g_date_time_add_full. The flaw reads 2 bytes beyond the intended buffer, potentially corrupting date output and causing logic errors that can lead to denial of service. The issue arises when applications accept user-supplied dates without validating that the date fields are within supported ranges, particularly rejecting negative or zero days. Red Hat's advisory confirms the vulnerability and rates it as moderate severity with a CVSS 3.1 base score of 6.5. The vulnerability does not impact confidentiality but affects integrity and availability with low impact. Red Hat has released updates for affected packages in Red Hat Enterprise Linux 8 and related products.
Potential Impact
The vulnerability can cause corrupted date outputs leading to logic errors in applications using GLib's date/time functions, potentially resulting in denial of service. There is no direct confidentiality impact. The denial of service is due to application logic errors triggered by corrupted date data, not a crash in production environments except under Address Sanitizer builds. The flaw requires no privileges or user interaction and can be exploited remotely via network vectors if the application processes untrusted date inputs.
Mitigation Recommendations
Red Hat has released security updates addressing this vulnerability. Users should apply the available patches for their GLib packages as provided in the Red Hat advisory RHSA-2026:49512. Additionally, applications processing user-supplied dates should implement input validation to ensure dates are within supported ranges before calling g_date_time_add_full, specifically rejecting inputs that produce negative or zero day fields. No other mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-06-26T20:59:47.855Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-58011","vendor":"Red Hat"}]
Threat ID: 6a43c34927e9c79719d5bd56
Added to database: 06/30/2026, 13:23:21 UTC
Last enriched: 08/17/2026, 13:24:55 UTC
Last updated: 09/29/2026, 01:57:22 UTC
Views: 119
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.