CVE-2026-58011Glib: out-of-bounds read in glib/gdatetime.c:g_date_time_get_ymd via invalid gdatetime
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | glib2.0 | Fixed | 2.88.0-1ubuntu0.1 | UBUNTU-CVE-2026-58011 |
| Ubuntu 25.10 | glib2.0 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-58011 | |
| Ubuntu 24.04 | glib2.0 | Fixed | 2.80.0-6ubuntu3.9 | UBUNTU-CVE-2026-58011 |
| Ubuntu 22.04 | glib2.0 | Fixed | 2.72.4-0ubuntu2.10 | UBUNTU-CVE-2026-58011 |
| Ubuntu 20.04 | glib2.0 | Fix pending | 2.64.6-1~ubuntu20.04.9+esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-58011 |
| Ubuntu 18.04 | glib2.0 | Fix pending | 2.56.4-0ubuntu0.18.04.9+esm6 (Ubuntu Pro) | UBUNTU-CVE-2026-58011 |
| Ubuntu 16.04 | glib2.0 | Fix pending | 2.48.2-0ubuntu4.8+esm6 (Ubuntu Pro) | UBUNTU-CVE-2026-58011 |
| Ubuntu 14.04 | glib2.0 | Fix pending | 2.40.2-0ubuntu1.1+esm8 (Ubuntu Pro) | UBUNTU-CVE-2026-58011 |
| Debian 14 | glib2.0 | Fixed | 2.88.1-2 | DEBIAN-CVE-2026-58011 |
| Debian 13 | glib2.0 | Fixed | 2.84.4-3~deb13u4 | DEBIAN-CVE-2026-58011 |
| Debian 12 | glib2.0 | Fix pending | DEBIAN-CVE-2026-58011 | |
| Red Hat Enterprise Linux 10 | glib2 | Fixed | 0:2.80.4-12.el10_2.21 | RHSA-2026:57015 |
| Red Hat Enterprise Linux 10 | glib2-devel | Fixed | 0:2.80.4-12.el10_2.21 | RHSA-2026:57015 |
| Red Hat Enterprise Linux 10 | glib2-doc | Fixed | 0:2.80.4-12.el10_2.21 | RHSA-2026:57015 |
| Red Hat Enterprise Linux 10 | glib2-static | Fixed | 0:2.80.4-12.el10_2.21 | RHSA-2026:57015 |
| Red Hat Enterprise Linux 10 | glib2-tests | Fixed | 0:2.80.4-12.el10_2.21 | RHSA-2026:57015 |
| Red Hat Enterprise Linux 10 | mingw-glib2 | Fixed | 0:2.89.2-1.el10 | RHSA-2026:97163 |
| Red Hat Enterprise Linux 10 | mingw32-glib2 | Fixed | 0:2.89.2-1.el10 | RHSA-2026:97163 |
| Red Hat Enterprise Linux 10 | mingw32-glib2-static | Fixed | 0:2.89.2-1.el10 | RHSA-2026:97163 |
| Red Hat Enterprise Linux 10 | mingw64-glib2 | Fixed | 0:2.89.2-1.el10 | RHSA-2026:97163 |
| Red Hat Enterprise Linux 10 | mingw64-glib2-static | Fixed | 0:2.89.2-1.el10 | RHSA-2026:97163 |
| Red Hat Enterprise Linux 9 | glib2 | Fixed | 0:2.68.4-19.el9_8.9 | RHSA-2026:55440 |
| Red Hat Enterprise Linux 9 | glib2-devel | Fixed | 0:2.68.4-19.el9_8.9 | RHSA-2026:55440 |
| Red Hat Enterprise Linux 9 | glib2-doc | Fixed | 0:2.68.4-19.el9_8.9 | RHSA-2026:55440 |
| Red Hat Enterprise Linux 9 | glib2-static | Fixed | 0:2.68.4-19.el9_8.9 | RHSA-2026:55440 |
| Red Hat Enterprise Linux 9 | glib2-tests | Fixed | 0:2.68.4-19.el9_8.9 | RHSA-2026:55440 |
| Red Hat Enterprise Linux 9 | mingw-glib2 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | mingw32-glib2 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | mingw32-glib2-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | mingw64-glib2 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | mingw64-glib2-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | glib2 | Fixed | 0:2.56.4-177.el8_10 | RHSA-2026:61766 |
| Red Hat Enterprise Linux 8 | glib2-devel | Fixed | 0:2.56.4-177.el8_10 | RHSA-2026:61766 |
| Red Hat Enterprise Linux 8 | glib2-doc | Fixed | 0:2.56.4-177.el8_10 | RHSA-2026:61766 |
| Red Hat Enterprise Linux 8 | glib2-fam | Fixed | 0:2.56.4-177.el8_10 | RHSA-2026:61766 |
| Red Hat Enterprise Linux 8 | glib2-static | Fixed | 0:2.56.4-177.el8_10 | RHSA-2026:61766 |
| Red Hat Enterprise Linux 8 | glib2-tests | Fixed | 0:2.56.4-177.el8_10 | RHSA-2026:61766 |
| Red Hat Enterprise Linux 8 | mingw-glib2 | Fixed | 0:2.70.1-9.el8_10 | RHSA-2026:49512 |
| Red Hat Enterprise Linux 8 | mingw32-glib2 | Fixed | 0:2.70.1-9.el8_10 | RHSA-2026:49512 |
| Red Hat Enterprise Linux 8 | mingw32-glib2-static | Fixed | 0:2.70.1-9.el8_10 | RHSA-2026:49512 |
| Red Hat Enterprise Linux 8 | mingw64-glib2 | Fixed | 0:2.70.1-9.el8_10 | RHSA-2026:49512 |
| Red Hat Enterprise Linux 8 | mingw64-glib2-static | Fixed | 0:2.70.1-9.el8_10 | RHSA-2026:49512 |
| Red Hat Enterprise Linux 6 | glib2 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | glib2-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | glib2-doc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | glib2-static | Will not fix Will not fix | ||
| AlmaLinux 10 | glib2 | Fixed | 2.80.4-12.el10_2.21 | ALSA-2026:57015 |
| AlmaLinux 10 | glib2-devel | Fixed | 2.80.4-12.el10_2.21 | ALSA-2026:57015 |
| AlmaLinux 10 | glib2-doc | Fixed | 2.80.4-12.el10_2.21 | ALSA-2026:57015 |
| AlmaLinux 10 | glib2-static | Fixed | 2.80.4-12.el10_2.21 | ALSA-2026:57015 |
| AlmaLinux 10 | glib2-tests | Fixed | 2.80.4-12.el10_2.21 | ALSA-2026:57015 |
| AlmaLinux 10 | mingw32-glib2 | Fixed | 2.89.2-1.el10 | ALSA-2026:97163 |
| AlmaLinux 10 | mingw32-glib2-static | Fixed | 2.89.2-1.el10 | ALSA-2026:97163 |
| AlmaLinux 10 | mingw64-glib2 | Fixed | 2.89.2-1.el10 | ALSA-2026:97163 |
| AlmaLinux 10 | mingw64-glib2-static | Fixed | 2.89.2-1.el10 | ALSA-2026:97163 |
| AlmaLinux 9 | glib2 | Fixed | 2.68.4-19.el9_8.9 | ALSA-2026:55440 |
| AlmaLinux 9 | glib2-devel | Fixed | 2.68.4-19.el9_8.9 | ALSA-2026:55440 |
| AlmaLinux 9 | glib2-doc | Fixed | 2.68.4-19.el9_8.9 | ALSA-2026:55440 |
| AlmaLinux 9 | glib2-static | Fixed | 2.68.4-19.el9_8.9 | ALSA-2026:55440 |
| AlmaLinux 9 | glib2-tests | Fixed | 2.68.4-19.el9_8.9 | ALSA-2026:55440 |
| AlmaLinux 8 | glib2 | Fixed | 2.56.4-177.el8_10 | ALSA-2026:61766 |
| AlmaLinux 8 | glib2-devel | Fixed | 2.56.4-177.el8_10 | ALSA-2026:61766 |
| AlmaLinux 8 | glib2-doc | Fixed | 2.56.4-177.el8_10 | ALSA-2026:61766 |
| AlmaLinux 8 | glib2-fam | Fixed | 2.56.4-177.el8_10 | ALSA-2026:61766 |
| AlmaLinux 8 | glib2-static | Fixed | 2.56.4-177.el8_10 | ALSA-2026:61766 |
| AlmaLinux 8 | glib2-tests | Fixed | 2.56.4-177.el8_10 | ALSA-2026:61766 |
| AlmaLinux 8 | mingw32-glib2 | Fixed | 2.70.1-9.el8_10 | ALSA-2026:49512 |
| AlmaLinux 8 | mingw32-glib2-static | Fixed | 2.70.1-9.el8_10 | ALSA-2026:49512 |
| AlmaLinux 8 | mingw64-glib2 | Fixed | 2.70.1-9.el8_10 | ALSA-2026:49512 |
| AlmaLinux 8 | mingw64-glib2-static | Fixed | 2.70.1-9.el8_10 | ALSA-2026:49512 |
| Rocky Linux 10 | glib2 | Fixed | 0:2.80.4-12.el10_2.21 | RLSA-2026:57015 |
| Rocky Linux 10 | mingw32-glib2 | Fixed | 0:2.89.2-1.el10 | RLSA-2026:97163 |
| Rocky Linux 10 | mingw32-glib2-static | Fixed | 0:2.89.2-1.el10 | RLSA-2026:97163 |
| Rocky Linux 10 | mingw64-glib2 | Fixed | 0:2.89.2-1.el10 | RLSA-2026:97163 |
| Rocky Linux 10 | mingw64-glib2-static | Fixed | 0:2.89.2-1.el10 | RLSA-2026:97163 |
| Rocky Linux 9 | glib2 | Fixed | 0:2.68.4-19.el9_8.9 | RLSA-2026:55440 |
| Rocky Linux 8 | glib2 | Fixed | 0:2.56.4-177.el8_10 | RLSA-2026:61766 |
| Rocky Linux 8 | mingw-glib2 | Fixed | 0:2.70.1-9.el8_10 | RLSA-2026:49512 |
| Alpine Linux 3.23 | glib | Fixed | 2.86.4-r0 | ALPINE-CVE-2026-58011 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- GNOME GLib: affected: before 2.86.5, before 2.88.1; fixed in
2.86.5,2.88.1 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Enterprise Linux 7 Extended Lifecycle Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
- Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9
Workaround: 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.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:49512 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:55440 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:57015 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:58981 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:61766 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:61783 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:49512
- https://access.redhat.com/errata/RHSA-2026:55440
- https://access.redhat.com/errata/RHSA-2026:57015
- https://access.redhat.com/errata/RHSA-2026:58981
- https://access.redhat.com/errata/RHSA-2026:61766
- https://access.redhat.com/errata/RHSA-2026:61783
- https://access.redhat.com/errata/RHSA-2026:63135
- https://access.redhat.com/errata/RHSA-2026:63138
- https://access.redhat.com/errata/RHSA-2026:63140
- https://access.redhat.com/errata/RHSA-2026:65762
- https://access.redhat.com/errata/RHSA-2026:65763
- https://access.redhat.com/errata/RHSA-2026:65767
- https://access.redhat.com/errata/RHSA-2026:65768
- https://access.redhat.com/errata/RHSA-2026:65769
- https://access.redhat.com/errata/RHSA-2026:65770
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.