bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2025-4056

7.5high

libglib2-bootstraplibglib22.82.5in 4 of 4 releases

Reach libglib2 · 8 builds in 4 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

References 3
Review Av26.10.0x86_64Not affected✓ accepted by a member, 2026-11-12 · settles 8 of 8

Fable 5.1 · high confidence · 2026-11-05

CVE-2025-4056 is a Windows-only denial of service in GLib's g_spawn implementation (glib/gspawn-win32.c, protect_argv/protect_argv_string, GNOME issue #3668, fixed in 2.84.1).

This build targets Linux: glib/meson.build only compiles gspawn-win32.c when host_system == 'windows', and the actual build output (buildroot-build/build.ninja) contains only gspawn.c.o and gspawn-posix.c.o, with glibconfig.h defining G_OS_UNIX. The vulnerable code is therefore not compiled into the product, so the finding can be documented as not applicable.

Evidence 7
  1. gspawn-win32.c is only added to glib_sources when host_system == 'windows'; Linux branch adds gspawn-posix.c

    output/build/libglib2-2.82.5/glib/meson.build:369,375

  2. only gspawn.c.o and gspawn-posix.c.o are compiled; no gspawn-win32 object

    output/build/libglib2-2.82.5/buildroot-build/build.ninja

  3. system = 'linux'

    output/build/libglib2-2.82.5/buildroot-build/cross-compilation.conf [host_machine]

  4. #define G_OS_UNIX (not G_OS_WIN32)

    output/build/libglib2-2.82.5/buildroot-build/glib/glibconfig.h:120

  5. protect_argv_string/protect_argv (the code fixed for issue #3668) exist only in the Windows-only source file

    output/build/libglib2-2.82.5/glib/gspawn-win32.c:252,316

  6. BR2_PACKAGE_LIBGLIB2=y - package selected, but affected feature not compiled

    output/.config:2919

  7. 5 Buildroot patches (gstring, gfileutils, gvariant-parser x3) are unrelated to gspawn

    output/build/libglib2-2.82.5/.applied_patches_list

Version and patches

NVD range: glib < 2.84.1; fixed upstream in 2.84.1 (GNOME issue #3668, gspawn-win32.c). 2.82.5 is nominally in range and no backport patch is applied, but the affected file gspawn-win32.c is not compiled for the Linux target.

Recommendation

Document as N/A: Windows-only code path, not compiled for this Linux build. No upgrade or backport required for this CVE.

Open questions

None.

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