Kernel Kit / Infix / v26.10.0latest
CVE-2026-58013
8.2highlibglib2-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. A buffer over-read can occur in g_io_channel_read_line_backend() in the giochannel.c file when a custom line terminator with a length greater than one is set, causing memcmp to read past the GString buffer. This vulnerability can cause a minor information disclosure of 7 bytes or a denial of service when the buffer over-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
- 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 g_io_channel_read_line_backend() code is present unpatched in output/build/libglib2-bootstrap-2.82.5/glib/giochannel.c (memcmp of line_term_len bytes at every position up to the end of the buffer), and no patches are applied to this package.
However, libglib2-bootstrap is a build-only intermediate used solely to bootstrap gobject-introspection: its .mk sets LIBGLIB2_BOOTSTRAP_INSTALL_TARGET = NO and packages-file-list.txt contains zero files from it, so nothing from this package exists on a shipped device.
The libglib-2.0.so that does ship comes from the separate libglib2 2.82.5 package, which carries the same unfixed code and should be triaged under its own SBOM entry.
Evidence 8
Unfixed loop: nextchar iterates to lastchar and memcmp(channel->line_term, nextchar, line_term_len) runs without checking line_term_len bytes remain — the CVE's over-read
output/build/libglib2-bootstrap-2.82.5/glib/giochannel.c:1820-1825
Empty: no patches applied, no backported fix
output/build/libglib2-bootstrap-2.82.5/.applied_patches_list
Package installs only to staging/host; comment states it is an implementation detail only gobject-introspection should depend on
buildroot/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk (LIBGLIB2_BOOTSTRAP_INSTALL_TARGET = NO, INSTALL_STAGING = YES)
gobject-introspection is the sole selector of BR2_PACKAGE_LIBGLIB2_BOOTSTRAP (output/.config:2874,2920,4068)
buildroot/package/gobject-introspection/Config.in:35; gobject-introspection.mk:25,32
grep -c '^libglib2-bootstrap,' = 0 — no files from this package in the target rootfs; it appears only in packages-file-list-staging.txt and packages-file-list-host.txt
output/build/packages-file-list.txt
libglib-2.0.so.0.8200.5 in the target comes from the separate `libglib2` package
output/build/packages-file-list.txt:21307
Main libglib2 has the same unfixed code; its 5 Buildroot patches (gstring/gfileutils/gvariant) do not touch giochannel.c — track CVE there
output/build/libglib2-2.82.5/glib/giochannel.c:1820-1825 and .applied_patches_list
No target binary or Infix source references the custom line-terminator API (informational, for the libglib2 triage)
output/target/usr, src/ (grep g_io_channel_set_line_term)
Version and patches
NVD range includes 2.82.5; tree source is pristine upstream 2.82.5 with no giochannel.c fix and no patches applied to libglib2-bootstrap. Version match is correct, but the package is a build-time bootstrap that installs nothing to the target.
Recommendation
Document as N/A for libglib2-bootstrap (host/staging-only bootstrap for gobject-introspection, no files in the image). Re-file CVE-2026-58013 against the libglib2 2.82.5 SBOM entry, which ships libglib-2.0.so with the same unfixed code, and triage reachability there (initial check: no shipped consumer of g_io_channel_set_line_term found).
Open questions
Upstream fix commit and exact fixed version could not be retrieved (no network access); the verdict does not depend on it since the unfixed code is visibly present and the package does not ship.
Members of Kernel Kit decide. Sign in if you are one.