CVE-2026-58011
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| GNOME | GLib | 0 < 2.86.5 | affected |
| GNOME | GLib | 0 < 2.88.1 | affected |
Weaknesses
- CWE-125: Out-of-bounds Read
Workarounds
To mitigate this vulnerability, in applications processing user-supplied dates, implement input validation to ensure the supplied date is within the supported range before calling g_date_time_add_full() with untrusted data, specifically rejecting inputs that result in a negative or zero days field.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: yes
- Technical Impact: partial
Additional References
References
- https://access.redhat.com/security/cve/CVE-2026-58011
- https://bugzilla.redhat.com/show_bug.cgi?id=2492245
- https://gitlab.gnome.org/GNOME/glib/-/issues/3917
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.