Kernel Kit / Infix / v26.10.0latest
CVE-2026-58015
7.5highlibglib2-bootstraplibglib22.82.5in 3 of 4 releases
Reach libglib2-bootstrap · 6 builds in 3 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
A flaw was found in GLib. The D-Bus client-side implementation of the DBUS_COOKIE_SHA1 SASL authentication mechanism does not validate the cookie_context parameter received from the server. A malicious D-Bus server can supply a cookie_context containing path traversal sequences, causing the client to read an arbitrary file and exfiltrate sensitive data by verifying guessed file contents against a generated hash.
Published 2026-06-30NVD
CVSS 3.1Network · no privileges · no user interaction
How it is reached
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
What it costs
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Scope
- Unchanged
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References 84
- access.redhat.com/errata/RHSA-2026:49512
- access.redhat.com/errata/RHSA-2026:55440
- access.redhat.com/errata/RHSA-2026:57015
- access.redhat.com/errata/RHSA-2026:58981
- access.redhat.com/errata/RHSA-2026:61766
- access.redhat.com/errata/RHSA-2026:61783
- access.redhat.com/errata/RHSA-2026:63135
- access.redhat.com/errata/RHSA-2026:63138
Fable 5.1 · high confidence · 2026-11-05
libglib2-bootstrap 2.82.5 is a staging-only intermediate package (LIBGLIB2_BOOTSTRAP_INSTALL_TARGET = NO) that exists solely to bootstrap gobject-introspection; its .files-list.txt for the target is empty, so none of its code is in the shipped image.
The source it is built from is unfixed for CVE-2026-58015 (gio/gdbusauthmechanismsha1.c passes the server-supplied cookie_context straight into g_build_filename with no traversal check, and no patches are applied), but that is irrelevant to the device because the libgio actually shipped comes from the separate libglib2 target package.
Document this SBOM entry as N/A, and triage the libglib2 (target) package separately for the same CVE since it contains the identical unfixed code.
Evidence 7
LIBGLIB2_BOOTSTRAP_INSTALL_TARGET = NO, INSTALL_STAGING = YES: package installs only to staging sysroot, never to rootfs
buildroot/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk:27-28
Package is a bootstrap implementation detail used only to build gobject-introspection; the real libglib2 is rebuilt afterwards
buildroot/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk:7-17
0 lines: no files installed to target; .files-list-host.txt and .files-list-images.txt also empty; only .files-list-staging.txt (481 entries) populated
output/build/libglib2-bootstrap-2.82.5/.files-list.txt
BR2_PACKAGE_LIBGLIB2_BOOTSTRAP=y is a hidden bool pulled in by gobject-introspection (BR2_PACKAGE_GOBJECT_INTROSPECTION=y at .config:2874); not in x86_64_defconfig
output/.config:2920 and buildroot/package/gobject-introspection/gobject-introspection.mk:25,32
Empty: no patches applied to this package
output/build/libglib2-bootstrap-2.82.5/.applied_patches_list
Client uses server-supplied tokens[0] as cookie_context and calls keyring_lookup_entry -> g_build_filename(keyring_dir, cookie_context) with no '/' or '..' validation; upstream fix absent
output/build/libglib2-bootstrap-2.82.5/gio/gdbusauthmechanismsha1.c:1234,1246,403
The libgio-2.0.so.0.8200.5 actually shipped on the target comes from the separate libglib2 package, not libglib2-bootstrap
output/build/libglib2-2.82.5/.files-list.txt:450,469-470
Version and patches
Upstream 2.82.5 is within the affected range; the unvalidated cookie_context code path is present in gio/gdbusauthmechanismsha1.c and no fix backport exists. No Buildroot patches are applied to libglib2-bootstrap. The main libglib2 package applies patches 0001-0005 (gstring/gfileutils/gvariant), none addressing this CVE.
Recommendation
Document as N/A for the libglib2-bootstrap SBOM entry (build-time-only, nothing installed to the image). Separately triage the libglib2 2.82.5 target package for CVE-2026-58015, which ships the same unfixed gdbusauthmechanismsha1.c in libgio-2.0.so; upgrade to a fixed GLib release or backport the cookie_context validation if any GDBus client on the device can connect to an untrusted D-Bus server.
Open questions
None for this package. Reachability of the GDBus client SASL code on the device (which processes use GDBus as a client, whether a D-Bus server socket is network-reachable) must be answered in the review of the libglib2 target package.
Members of Kernel Kit decide. Sign in if you are one.