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 due to improper handling of invalid GDateTime objects created by g_date_time_add_full. The flaw causes a 2-byte out-of-bounds read that can corrupt date values, potentially triggering logic errors and denial of service in applications relying on these dates. The vulnerability requires no privileges or user interaction and can be triggered remotely via network vectors if user-supplied dates are processed. Red Hat has issued a security advisory and update to fix this issue, recommending input validation to prevent invalid date inputs that lead to negative or zero days fields.
Potential Impact
The vulnerability can cause corrupted date outputs leading to logic errors and denial of service conditions in affected applications. The out-of-bounds read itself is limited to 2 bytes and does not impact confidentiality but may cause application crashes or unexpected behavior. There are no known exploits in the wild. The CVSS v3.1 base score is 6.5 (medium severity), reflecting the potential for denial of service without confidentiality or integrity impact.
Mitigation Recommendations
Red Hat has released security updates that fix this vulnerability; applying these updates is the recommended remediation. Additionally, applications processing user-supplied dates should implement input validation to ensure dates are within supported ranges, specifically rejecting inputs that produce negative or zero days fields before calling g_date_time_add_full. This mitigates the risk of triggering the out-of-bounds read. No other mitigations are specified by the vendor.
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
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 due to improper handling of invalid GDateTime objects created by g_date_time_add_full. The flaw causes a 2-byte out-of-bounds read that can corrupt date values, potentially triggering logic errors and denial of service in applications relying on these dates. The vulnerability requires no privileges or user interaction and can be triggered remotely via network vectors if user-supplied dates are processed. Red Hat has issued a security advisory and update to fix this issue, recommending input validation to prevent invalid date inputs that lead to negative or zero days fields.
Potential Impact
The vulnerability can cause corrupted date outputs leading to logic errors and denial of service conditions in affected applications. The out-of-bounds read itself is limited to 2 bytes and does not impact confidentiality but may cause application crashes or unexpected behavior. There are no known exploits in the wild. The CVSS v3.1 base score is 6.5 (medium severity), reflecting the potential for denial of service without confidentiality or integrity impact.
Mitigation Recommendations
Red Hat has released security updates that fix this vulnerability; applying these updates is the recommended remediation. Additionally, applications processing user-supplied dates should implement input validation to ensure dates are within supported ranges, specifically rejecting inputs that produce negative or zero days fields before calling g_date_time_add_full. This mitigates the risk of triggering the out-of-bounds read. No other mitigations are specified by the vendor.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-06-26T20:59:47.855Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- 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/03/2026, 19:47:41 UTC
Last updated: 08/13/2026, 00:41:13 UTC
Views: 78
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.
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.