Bug 2494871 - CVE-2026-58011 mingw-glib2: out-of-bounds read in glib/gdatetime.c:g_date_time_get_ymd via invalid GDateTime [fedora-all]
Summary: CVE-2026-58011 mingw-glib2: out-of-bounds read in glib/gdatetime.c:g_date_tim...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-glib2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["d5dbd9e2-ac4b-4c60-89d5-2...
Depends On:
Blocks: CVE-2026-58011
TreeView+ depends on / blocked
 
Reported: 2026-06-30 12:57 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-07-17 01:09 UTC (History)
5 users (show)

Fixed In Version: mingw-glib2-2.88.2-2.fc44 mingw-glib2-2.86.5-2.fc43
Clone Of:
Environment:
Last Closed: 2026-07-17 00:52:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-06-30 12:57:53 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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 1 Fedora Update System 2026-07-02 17:12:14 UTC
FEDORA-2026-825932ea60 (mingw-glib2-2.86.5-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-825932ea60

Comment 2 Fedora Update System 2026-07-02 17:13:19 UTC
FEDORA-2026-5a55313adb (mingw-glib2-2.88.2-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5a55313adb

Comment 3 Fedora Update System 2026-07-03 01:26:22 UTC
FEDORA-2026-5a55313adb has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-5a55313adb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-5a55313adb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-07-03 01:47:34 UTC
FEDORA-2026-825932ea60 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-825932ea60`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-825932ea60

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-07-09 01:27:09 UTC
FEDORA-2026-8e39f35701 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-8e39f35701`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-8e39f35701

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-07-09 01:45:46 UTC
FEDORA-2026-7bf2937528 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-7bf2937528`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-7bf2937528

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-07-17 00:52:28 UTC
FEDORA-2026-7bf2937528 (mingw-glib2-2.88.2-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-07-17 01:09:23 UTC
FEDORA-2026-8e39f35701 (mingw-glib2-2.86.5-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


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