CVE-2026-44028
Deferred
Deferred - Pending Action
Stack Overflow in Nix Package Manager
Publication date: 2026-05-05
Last updated on: 2026-05-09
Assigner: MITRE
Description
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).
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| nix | nix | 2.34.7 |
| nix | nix | 2.33.6 |
| nix | nix | 2.32.8 |
| nix | nix | 2.31.5 |
| nix | nix | 2.30.5 |
| nix | nix | 2.29.4 |
| nix | nix | 2.28.7 |
| lix | lix | 2.95.2 |
| lix | lix | 2.94.2 |
| lix | lix | 2.93.4 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-674 | The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. |