HarborGuard / CVE
Back to search
HIGHCVE-2026-44028Published Modified CNA mitre

CVE-2026-44028: An issue was discovered in Nix before 2

An issue was discovered in Nix before 2.34.7 and Lix before 2.95.2. Unbounded recursion in the NAR (Nix Archive) parser could lead to a stack-to-heap overflow when the parser is run on a coroutine stack. The stack is allocated without a guard page, which means that a stack overflow could overwrite memory on the heap and could allow arbitrary code execution as the Nix daemon (run as root in multi-user installations) if ASLR hardening is bypassed. This can be exploited by all users able to connect to the daemon (e.g., in Nix, this is configurable via the allowed-users setting, defaulting to all users). The fixed versions are 2.34.7, 2.33.6, 2.32.8, 2.31.5, 2.30.5, 2.29.4, and 2.28.7 for Nix (introduced in 2.24.4); and 2.95.2, 2.94.2, and 2.93.4 for Lix (introduced in 2.93.0).

Metrics

CVSS v3.1
7.5
Severity
HIGH
Fixed in
2.28.7
Affected Products
2

Fix available

2.28.72.29.42.30.52.31.52.32.82.33.62.34.72.93.42.94.22.95.2
Affected packages
  • NixOS / Nix
    < 2.28.7 (from 2.24.4) · < 2.29.4 (from 2.29.0) · < 2.30.5 (from 2.30.0) · < 2.31.5 (from 2.31.0) · < 2.32.8 (from 2.32.0) · < 2.33.6 (from 2.33.0)
  • Lix Project / Lix
    < 2.93.4 (from 2.93.0) · < 2.94.2 (from 2.94.0) · < 2.95.2 (from 2.95.0)
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N