bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-58010

8.2high

libglib2-bootstraplibglib22.82.5in 3 of 4 releases

Reach libglib2-bootstrap · 6 builds in 3 of 4 releases

full reviewcross-check✓ a member decided

v25.03.1not in NVD's range
v26.01.02.82.5
v26.09.02.82.5
v26.10.0latest2.82.5
aarch64_minimal
x86_64
aarch64_minimal–
x86_64–
aarch64_minimalOpenx86_64Openaarch64_minimalANot built · autox86_64ANot built · autoaarch64_minimalANot built · autox86_64ANot built

Description · NVD

A flaw was found in GLib. An off-by-one error can occur in the gvs_tuple_is_normal function in the glib/gvariant-serialiser.c file when doing an alignment padding check because the bounds check uses > instead of >=, causing an out-of-bounds read of only 1 byte. This issue can cause a minor information disclosure of 1 byte and a denial of service when the out-of-bounds read 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
None
Availability
High
Scope
Unchanged

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

References 79
Review Av26.10.0x86_64Not built✓ accepted by a member, 2026-11-17 · settles 4 of 6

Fable 5.1 · high confidence · 2026-11-05

The libglib2-bootstrap 2.82.5 source in this tree does contain the unfixed off-by-one (offset > value.size in gvs_tuple_is_normal, glib/gvariant-serialiser.c:1253) and no patches are applied to it, so the source matches the CVE.

However libglib2-bootstrap is a Buildroot-internal build-ordering artefact: it is selected only by gobject-introspection, has LIBGLIB2_BOOTSTRAP_INSTALL_TARGET = NO, is installed only to staging (no .stamp_target_installed, empty .files-list.txt), and nothing from it ships in the image.

The GLib that actually lands on the target comes from the separate libglib2 2.82.5 package, which carries the same unfixed line and must be triaged under its own SBOM entry.

Evidence 8
  1. `if (offset > value.size || value.data[offset] != '\0')` – the vulnerable `>` check described by the CVE; upstream fix (`>=`) is not present

    output/build/libglib2-bootstrap-2.82.5/glib/gvariant-serialiser.c:1253

  2. Empty – no patches applied to the bootstrap package, so no backport of the fix

    output/build/libglib2-bootstrap-2.82.5/.applied_patches_list

  3. `LIBGLIB2_BOOTSTRAP_INSTALL_TARGET = NO`, `INSTALL_STAGING = YES`; header comment says it is an implementation detail only gobject-introspection should depend on

    buildroot/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk:LIBGLIB2_BOOTSTRAP_INSTALL_TARGET

  4. `select BR2_PACKAGE_LIBGLIB2_BOOTSTRAP` – the only thing pulling the package in (BR2_PACKAGE_GOBJECT_INTROSPECTION=y at output/.config:2874)

    buildroot/package/gobject-introspection/Config.in:35

  5. Has .stamp_staging_installed but no .stamp_target_installed, unlike output/build/libglib2-2.82.5 which has .stamp_target_installed

    output/build/libglib2-bootstrap-2.82.5/.stamp_*

  6. 0 bytes (no target files); only .files-list-staging.txt is populated

    output/build/libglib2-bootstrap-2.82.5/.files-list.txt

  7. BR2_PACKAGE_LIBGLIB2=y and BR2_PACKAGE_LIBGLIB2_BOOTSTRAP=y – the real libglib2 package provides the GLib shipped on the target

    output/.config:2919-2920

  8. Same unfixed `offset > value.size` line in the target-installed libglib2 package; its 5 applied patches (gstring/gfileutils/gvariant-parser) do not touch gvariant-serialiser.c and libglib2.mk has no IGNORE_CVES entry for CVE-2026-58010

    output/build/libglib2-2.82.5/glib/gvariant-serialiser.c:1253

Version and patches

Affected: GLib 2.82.5 (unfixed gvs_tuple_is_normal; the CVE fix changes > to >= at gvariant-serialiser.c:1253). Fixed version per NVD/RHSA: later upstream stable release (not available in this tree). Patches applied to libglib2-bootstrap: none. Patches applied to the sibling libglib2 package: 0001-0005 (gstring overflow, gfileutils temp name, gvariant-parser x3) – none address this CVE.

Recommendation

Document CVE-2026-58010 as N/A for the libglib2-bootstrap SBOM entry: it is a host/staging-only build helper that is never installed to the target image. Separately, triage the same CVE against the libglib2 2.82.5 SBOM entry, which ships libglib-2.0 on the target with the identical unfixed code; that entry will likely need the upstream one-line fix backported (or a bump to a fixed 2.82.x/2.84.x) and its own reachability assessment (GVariant deserialisation via D-Bus / dbus-glib / json-glib consumers).

Open questions

None for the bootstrap package. Reachability of the vulnerable code via the target libglib2 package (which services on the device deserialise untrusted GVariant data, e.g. over D-Bus or network) was not assessed here since it belongs to a different SBOM entry.

Members of Kernel Kit decide. Sign in if you are one.