Bug 2492257 (CVE-2026-58016) - CVE-2026-58016 glib: integer underflow in gio/gdbusintrospection.c via "g_dbus_node_info_new_for_xml"
Summary: CVE-2026-58016 glib: integer underflow in gio/gdbusintrospection.c via "g_dbu...
Keywords:
Status: NEW
Alias: CVE-2026-58016
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2494886 2494887 2494888
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-24 17:34 UTC by OSIDB Bzimport
Modified: 2026-06-30 13:04 UTC (History)
6 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-24 17:34:43 UTC
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).


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