Kernel Kit / Infix / v26.10.0latest
CVE-2026-58014
8.6highlibglib2-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. An off-by-one error can occur in the g_key_file_get_locale_string_list function in the gkeyfile.c file when loading a key file with an empty value. This flaw can cause an out-of-bounds access of 1 byte or a denial of service when the out-of-bounds access crosses a page boundary.
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
- Low
- Integrity
- Low
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
References 87
- 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
The vulnerable code is present and unfixed in the libglib2-bootstrap 2.82.5 sources (g_key_file_get_locale_string_list still does value[len - 1] with no len > 0 guard, and no patches are applied to this package), so the package is technically affected.
However, libglib2-bootstrap is a pure build-time bootstrap artefact: its .mk sets LIBGLIB2_BOOTSTRAP_INSTALL_TARGET = NO, the build directory has no .stamp_target_installed, and it exists only so that gobject-introspection can be built (host variant runs on the build host, target variant goes to staging only). Nothing from this package is shipped in the image, so there is no reachability on a device.
Note that the separately-tracked main libglib2 2.82.5 package, which IS target-installed, contains the identical unfixed hunk and should be triaged on its own SBOM entry.
Evidence 8
`len = strlen (value); if (value[len - 1] == key_file->list_separator)` with no `len > 0` check — the CVE-2026-58014 off-by-one is unfixed in this source.
output/build/libglib2-bootstrap-2.82.5/glib/gkeyfile.c:2412-2414 (g_key_file_get_locale_string_list)
Empty/absent — no patches applied to the bootstrap package, so no backported fix.
output/build/libglib2-bootstrap-2.82.5/.applied_patches_list
Target variant is installed to staging only, never to the rootfs; comment states it is 'an implementation detail that nothing except gobject-introspection should depend on'.
buildroot/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk (LIBGLIB2_BOOTSTRAP_INSTALL_TARGET = NO, LIBGLIB2_BOOTSTRAP_INSTALL_STAGING = YES)
Build log stamps confirm the bootstrap package was never installed into output/target, whereas the main libglib2 package was.
output/build/libglib2-bootstrap-2.82.5/.stamp_* (no .stamp_target_installed; compare output/build/libglib2-2.82.5/.stamp_target_installed exists)
BR2_PACKAGE_GOBJECT_INTROSPECTION=y, BR2_PACKAGE_LIBGLIB2_BOOTSTRAP=y, BR2_PACKAGE_HOST_GOBJECT_INTROSPECTION=y — bootstrap is selected only as a dependency of gobject-introspection.
output/.config:2832,2878,3981
gobject-introspection selects BR2_PACKAGE_LIBGLIB2_BOOTSTRAP and depends on libglib2-bootstrap / host-libglib2-bootstrap — the only consumer.
buildroot/package/gobject-introspection/Config.in:35 and gobject-introspection.mk:25,32
Hidden bool with no prompt; not user-selectable, only reachable via `select` from gobject-introspection.
buildroot/package/libglib2/libglib2-bootstrap/Config.in
Main (target-installed) libglib2 2.82.5 has the identical unfixed hunk — relevant for the separate libglib2 SBOM entry, not this one.
output/build/libglib2-2.82.5/glib/gkeyfile.c:2413-2414
Version and patches
Source is glib 2.82.5 (output/build/libglib2-bootstrap-2.82.5/meson.build:2). NVD/CPE match gnome:glib:2.82.5 is correct for the code. The upstream fix (adding a len > 0 guard before value[len - 1] in g_key_file_get_locale_string_list) is not present; fixed versions are in the 2.84.x/2.86.x stable series per the RHSA references (exact tags could not be verified offline). Patches applied to this package: none. Patches applied to the main libglib2 package (0001–0005, gstring/gfileutils/gvariant-parser) do not touch gkeyfile.c.
Recommendation
Document as N/A for libglib2-bootstrap: it is a build-only bootstrap package (INSTALL_TARGET = NO) whose output never reaches the shipped image; the host variant only runs on the build machine. No action for this SBOM entry. Separately, triage CVE-2026-58014 against the main libglib2 2.82.5 SBOM entry (target-installed, same unfixed code) and consider backporting the one-line gkeyfile.c fix there or bumping glib.
Open questions
output/target in this artefact appears to have been cleaned (only 2 .so files remain), so I could not directly list the shipped rootfs libraries; the conclusion rests on the .mk INSTALL_TARGET=NO setting and the absence of .stamp_target_installed, which is conclusive for Buildroot. Exact upstream fixed version tags were not verifiable without network access.
Members of Kernel Kit decide. Sign in if you are one.