Affected versions
- Affected versions
- * || =2.24.9+dfsg-2ubuntu2 || =2.26.3+dfsg-1ubuntu1 || =2.26.3+dfsg-1ubuntu2 || =2.26.3+dfsg-1ubuntu4
- Fixed version
- Not reported
- Affected versions
- * || =2.26.3+dfsg-1ubuntu4 || =2.26.3+dfsg-1ubuntu5 || =2.32.5+dfsg-1ubuntu3 || =2.32.5+dfsg-2ubuntu1 || =2.34.3+dfsg-1
- Fixed version
- Not reported
- Affected versions
- * || =2.34.3+dfsg-1 || =2.34.6+dfsg-1 || =2.34.6+dfsg-1build1 || =2.34.8+dfsg-1 || =2.34.8+dfsg-1build1
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- * || =2.16.1+dfsg-3ubuntu1 || =2.18.1+dfsg-1ubuntu1 || =2.18.1+dfsg-1ubuntu2 || =2.18.1+dfsg-1ubuntu4 || =2.18.1+dfsg-1ubuntu5 || =2.18.1+dfsg-1ubuntu5+esm2
- Fixed version
- Not reported
Description
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).
Links
- https://discourse.nixos.org/t/security-advisory-local-privilege-escalation-in-lix-and-nix/77407
- https://github.com/NixOS/nix/security/advisories/GHSA-vh5x-56v6-4368
- https://ubuntu.com/security/CVE-2026-44028
- https://www.cve.org/CVERecord?id=CVE-2026-44028
- https://www.openwall.com/lists/oss-security/2026/05/04/33

