Bug 2492245 (CVE-2026-58011) - CVE-2026-58011 glib: out-of-bounds read in glib/gdatetime.c:g_date_time_get_ymd via invalid GDateTime
Summary: CVE-2026-58011 glib: out-of-bounds read in glib/gdatetime.c:g_date_time_get_y...
Keywords:
Status: NEW
Alias: CVE-2026-58011
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2494870 2494871 2494872
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-24 16:41 UTC by OSIDB Bzimport
Modified: 2026-09-02 10:22 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2026:57606 0 None None None 2026-08-20 16:35:12 UTC
Red Hat Product Errata RHBA-2026:58991 0 None None None 2026-08-24 12:47:55 UTC
Red Hat Product Errata RHBA-2026:61344 0 None None None 2026-08-31 09:10:07 UTC
Red Hat Product Errata RHBA-2026:61808 0 None None None 2026-09-01 00:25:55 UTC
Red Hat Product Errata RHBA-2026:62574 0 None None None 2026-09-02 10:22:18 UTC
Red Hat Product Errata RHSA-2026:49512 0 None None None 2026-08-03 01:47:14 UTC
Red Hat Product Errata RHSA-2026:55440 0 None None None 2026-08-17 05:48:50 UTC
Red Hat Product Errata RHSA-2026:57015 0 None None None 2026-08-19 16:42:10 UTC
Red Hat Product Errata RHSA-2026:61766 0 None None None 2026-08-31 19:29:23 UTC

Description OSIDB Bzimport 2026-06-24 16:41:06 UTC
A global-buffer-overflow (out-of-bounds read) exists in GLib's g_date_time_get_ymd() function, triggered when operating on an invalid GDateTime object produced by g_date_time_add_full(). The g_date_time_add_full() function does not validate that the resulting date falls within the supported range (years 1–9999), allowing construction of a GDateTime with a negative or zero days field. When any getter function (e.g., g_date_time_get_month(), g_date_time_get_year()) is subsequently called, the internal g_date_time_get_ymd() routine computes a negative array index, causing a 2-byte OOB read from adjacent global data.

Comment 3 errata-xmlrpc 2026-08-03 01:47:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:49512 https://access.redhat.com/errata/RHSA-2026:49512

Comment 4 errata-xmlrpc 2026-08-17 05:48:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:55440 https://access.redhat.com/errata/RHSA-2026:55440

Comment 5 errata-xmlrpc 2026-08-19 16:42:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:57015 https://access.redhat.com/errata/RHSA-2026:57015

Comment 6 errata-xmlrpc 2026-08-31 19:29:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:61766 https://access.redhat.com/errata/RHSA-2026:61766


Note You need to log in before you can comment on or make changes to this bug.