Kernel Kit / Infix / v26.10.0latest
CVE-2025-4056
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. A denial of service on Windows platforms may occur if an application attempts to spawn a program using long command lines.
Published 2025-07-28NVD
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
- None
- Integrity
- None
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fable 5.1 · high confidence · 2026-11-05
CVE-2025-4056 is a denial of service in GLib's Windows-only process spawning code (glib/gspawn-win32.c, upstream issue #3668).
This build cross-compiles GLib for a Linux target: meson.build only includes gspawn-win32.c when host_system == 'windows', and the generated build.ninja/compile_commands.json contain only gspawn.c and gspawn-posix.c with glibconfig.h defining G_OS_UNIX. The vulnerable code is therefore not compiled.
Additionally libglib2-bootstrap is a staging-only bootstrap build (INSTALL_TARGET = NO) pulled in only by gobject-introspection and never ships in the image.
Evidence 8
gspawn-win32.c is only added to glib_sources when host_system == 'windows'; the else branch uses glib-unix.c, gspawn-posix.c, giounix.c
output/build/libglib2-bootstrap-2.82.5/glib/meson.build:359-376
Only glib/libglib-2.0.so.0.8200.5.p/gspawn.c.o and gspawn-posix.c.o are built; zero occurrences of gspawn-win32
output/build/libglib2-bootstrap-2.82.5/buildroot-build/build.ninja
No compile entry for gspawn-win32.c or gwin32.c
output/build/libglib2-bootstrap-2.82.5/buildroot-build/compile_commands.json
#define G_OS_UNIX — target platform is Unix/Linux (cross-compilation.conf uses x86_64-linux-gcc)
output/build/libglib2-bootstrap-2.82.5/buildroot-build/glib/glibconfig.h:120
No patches applied; source is pristine upstream 2.82.5 (no backport, but none needed on Linux)
output/build/libglib2-bootstrap-2.82.5/.applied_patches_list
LIBGLIB2_BOOTSTRAP_INSTALL_TARGET = NO — bootstrap package is staging-only and not installed in the target image
buildroot/package/libglib2/libglib2-bootstrap/libglib2-bootstrap.mk:27
Only gobject-introspection selects BR2_PACKAGE_LIBGLIB2_BOOTSTRAP
buildroot/package/gobject-introspection/Config.in:35
BR2_PACKAGE_LIBGLIB2=y and BR2_PACKAGE_LIBGLIB2_BOOTSTRAP=y are selected
output/.config:2919-2920
Version and patches
NVD/Red Hat range: GLib < 2.84.2 (fix in gspawn-win32.c via GNOME/glib issue #3668). 2.82.5 is inside the range by version number and no backport patch is applied, but the affected file is Windows-only and is excluded by meson.build for a Linux host_system, so the vulnerable code is not present in the compiled library.
Recommendation
Document as N/A: Windows-only code path not compiled for Linux target; package is additionally a staging-only bootstrap build never installed to the image. No upgrade or backport needed. The same reasoning covers the main libglib2 2.82.5 package.
Open questions
None.
Members of Kernel Kit decide. Sign in if you are one.