Description
A flaw was found in GLib. A state confusion issue exists in g_dbus_node_info_new_for_xml() in the gio/gdbusintrospection.c file when processing malformed D-Bus introspection XML, specifically with a <node> element nested within other elements like <method>, <signal>, <property> or <arg>. This issue can cause an unsigned integer overflow and lead to an out-of-bounds read, resulting in a denial of service.
Published: 2026-06-30
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in GLib’s GIO library causes an unsigned integer overflow in the function that parses D‑Bus introspection XML. When a <node> element is nested inside elements such as <method> or <signal>, the parser overflows a 32‑bit counter and reads beyond allocated memory. This out‑of‑bounds read can crash the application, resulting in a denial of service. The weakness is identified as a type conversion error leading to unsigned integer overflow (CWE‑191).

Affected Systems

The vulnerability affects systems that ship GLib with the GIO library, notably Red Hat Enterprise Linux distributions from version 6 through 10 and Red Hat Hardened Images. Any software on these platforms that processes D‑Bus introspection XML is potentially exposed.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity, and the EPSS score is not available. The CWE indicates that the flaw resides in handling of data. Based on the description, it is inferred that an attacker who can supply malformed D‑Bus introspection XML—either locally or remotely—to an application using g_dbus_node_info_new_for_xml() could trigger the overflow and crash it. No additional privileges or external infrastructure are required beyond the ability to deliver the crafted XML.

Generated by OpenCVE AI on June 30, 2026 at 16:11 UTC.

Remediation

Vendor Workaround

To mitigate this vulnerability, implement input validation to sanitize untrusted D-Bus introspection XML, specifically rejecting malformed structures such as <node> elements improperly nested within <method>, <signal>, <property> or <arg> elements before calling g_dbus_node_info_new_for_xml(). Alternatively, restricting the application to only process XML input from trusted, authenticated sources will completely neutralize this issue.


OpenCVE Recommended Actions

  • Implement input validation to reject malformed D‑Bus introspection XML, rejecting <node> elements nested inside <method>, <signal>, <property>, or <arg> before calling g_dbus_node_info_new_for_xml().
  • Restrict the processing of D‑Bus introspection XML to sources that are trusted and authenticated, thereby preventing untrusted inputs from reaching the vulnerable function.
  • When available, upgrade GLib to a future release that includes a fix, and keep the system updated to avoid similar data‑handling issues.

Generated by OpenCVE AI on June 30, 2026 at 16:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 21 Jul 2026 03:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/a:redhat:enterprise_linux:9::crb
cpe:/o:redhat:enterprise_linux:9::baseos
References

Mon, 20 Jul 2026 22:00:00 +0000

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.2
References

Mon, 20 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8::crb
cpe:/o:redhat:enterprise_linux:8::baseos
References

Wed, 01 Jul 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Gnome
Gnome glib
Redhat hardened Images
Vendors & Products Gnome
Gnome glib
Redhat hardened Images

Tue, 30 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 30 Jun 2026 13:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in GLib. A state confusion issue exists in g_dbus_node_info_new_for_xml() in the gio/gdbusintrospection.c file when processing malformed D-Bus introspection XML, specifically with a <node> element nested within other elements like <method>, <signal>, <property> or <arg>. This issue can cause an unsigned integer overflow and lead to an out-of-bounds read, resulting in a denial of service.
Title Glib: integer underflow in gio/gdbusintrospection.c via "g_dbus_node_info_new_for_xml"
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Weaknesses CWE-191
CPEs cpe:/a:redhat:hummingbird:1
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Gnome Glib
Redhat Enterprise Linux Hardened Images Hummingbird
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-21T02:34:11.101Z

Reserved: 2026-06-26T20:59:47.856Z

Link: CVE-2026-58016

cve-icon Vulnrichment

Updated: 2026-06-30T13:58:11.595Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T10:01:33Z

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)