CVE-2025-4056
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-4056 is a denial-of-service vulnerability in GNOME GLib affecting Windows platforms, where an application attempting to spawn a program using an extremely long command line will crash. It affects GLib versions prior to 2.84.1. The vulnerability was first reported on April 29, 2025, and published to NVD on July 28, 2025. It carries a CVSS v3.1 base score of 7.5 (High) per NVD, though Red Hat's assessment scores it lower at 3.7 (Low) with higher attack complexity (Red Hat CVE, Red Hat Bugzilla).

Technical details

The root cause is classified under CWE-94 (Improper Control of Generation of Code), though the practical mechanism is a crash triggered by excessively long command-line arguments passed to GLib's process-spawning functions on Windows. When an application calls GLib's spawn APIs with a command line that exceeds Windows platform limits, GLib fails to handle the edge case gracefully and crashes instead of returning an error. The vulnerability is specific to Windows platforms and does not affect Linux or macOS deployments of GLib. No public proof-of-concept exploit code has been identified (Red Hat Bugzilla, Red Hat CVE).

Impact

Successful exploitation results in a crash of the affected GLib-based application on Windows, causing a denial of service with high availability impact. There is no confidentiality or integrity impact — attackers cannot read data or modify system state through this vulnerability. The scope is limited to the affected application process; lateral movement or data exfiltration are not applicable to this vulnerability (Red Hat CVE, Red Hat Bugzilla).

Exploitability

No known active exploitation in the wild has been reported, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.041%, indicating a very low probability of exploitation in the near term. No exploit kits or weaponized code have been publicly identified. The attack vector is network-based with no authentication required, but exploitation depends on an attacker's ability to influence the command-line arguments passed to a GLib spawn function on a Windows host (Red Hat CVE).

Mitigation and workarounds

The fix is available in GLib version 2.84.1 and later; users should upgrade to this version or newer to remediate the vulnerability. No configuration-based workarounds have been officially documented. Organizations running GLib-based applications on Windows should prioritize upgrading, particularly where those applications accept externally influenced input that could affect command-line length. Tenable Nessus plugins 249194 and 249201 are available to detect vulnerable installations (Red Hat Bugzilla, Red Hat CVE).

Community reactions

Red Hat has assessed the vulnerability at a lower severity (Low, CVSS 3.7) than NVD's High rating, reflecting their view that exploitation requires high attack complexity. The Yocto Project security mailing list discussed the vulnerability in the context of embedded Linux builds. Splunk also issued an advisory (SVD-2026-0307) referencing this CVE, indicating downstream impact on products bundling GLib. No significant social media discussion or notable researcher commentary has been identified beyond standard vulnerability tracking.

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management