CVE-2026-44028
Published:May 05, 2026
Updated:June 23, 2026
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).
Affected Packages
https://github.com/NixOS/nix.git (GITHUB):
Affected version(s) >=2.34.0 <2.34.7Fix Suggestion:
Update to version 2.34.7https://github.com/NixOS/nix.git (GITHUB):
Affected version(s) >=2.30.0 <2.30.5Fix Suggestion:
Update to version 2.30.5https://github.com/NixOS/nix.git (GITHUB):
Affected version(s) >=2.33.0 <2.33.6Fix Suggestion:
Update to version 2.33.6https://github.com/NixOS/nix.git (GITHUB):
Affected version(s) >=2.31.0 <2.31.5Fix Suggestion:
Update to version 2.31.5https://github.com/NixOS/nix.git (GITHUB):
Affected version(s) >=2.24.4 <2.28.7Fix Suggestion:
Update to version 2.28.7https://github.com/NixOS/nix.git (GITHUB):
Affected version(s) >=2.32.0 <2.32.8Fix Suggestion:
Update to version 2.32.8https://github.com/NixOS/nix.git (GITHUB):
Affected version(s) >=2.29.0 <2.29.4Fix Suggestion:
Update to version 2.29.4Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Uncontrolled Recursion
EPSS
Base Score:
0.18