Bug 2494886 - CVE-2026-58016 mingw-glib2: integer underflow in gio/gdbusintrospection.c via "g_dbus_node_info_new_for_xml" [fedora-all]
Summary: CVE-2026-58016 mingw-glib2: integer underflow in gio/gdbusintrospection.c via...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-glib2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["96dd72cb-01db-4a75-9882-e...
Depends On:
Blocks: CVE-2026-58016
TreeView+ depends on / blocked
 
Reported: 2026-06-30 13:02 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:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-06-30 13:02:54 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 state confusion vulnerability exists in g_dbus_node_info_new_for_xml() in gio/gdbusintrospection.c. When parsing malformed D-Bus introspection XML containing a <node> element nested inside <method>, <signal>, <property>, or <arg> elements, the parser's internal state becomes inconsistent. The nested </interface> closing tag inside the nested <node> steals and resets the shared data->methods (or data->signals/data->properties) array to an empty state. When the outer </method> (or similar) closing tag subsequently calls parse_data_get_method(data, FALSE), it accesses pdata[len - 1] with len == 0, causing an unsigned integer underflow (0u - 1 = 0xFFFFFFFF) and a massive out-of-bounds heap read at offset 0xFFFFFFFF * sizeof(gpointer) (~8 GB before the buffer).

Comment 1 Fedora Update System 2026-07-08 09:00:20 UTC
FEDORA-2026-8e39f35701 (mingw-glib2-2.86.5-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-8e39f35701

Comment 2 Fedora Update System 2026-07-09 01:27:14 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 3 Fedora Update System 2026-07-09 01:45:58 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 4 Fedora Update System 2026-07-17 00:52:47 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 5 Fedora Update System 2026-07-17 01:09:29 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.