CVE-2026-44028 nix: coroutine stack-to-heap overflow via unbounded recursion in NAR directory parser
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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).
Upgrade path
12 packages: 7 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/nix(Debian 13) | = 2.26.3+dfsg-1; = 2.32.5+dfsg-1; = 2.32.5+dfsg-2; = 2.34.3+dfsg-1 +3 more | No fix listed | No fix yet |
| ubuntu/nix(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/nix(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/nix(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/nix(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/nix(Debian 14) | < 2.34.8+dfsg-1; = 2.26.3+dfsg-1; = 2.32.5+dfsg-1; = 2.32.5+dfsg-2 +2 more | 2.34.8+dfsg-1 | Fixed |
| Lix Project Lix | >= 2.93.0, < 2.93.4; >= 2.94.0, < 2.94.2; >= 2.95.0, < 2.95.2 | 2.93.4, 2.94.2, 2.95.2 | Fixed |
| NixOS Nix | >= 2.24.4, < 2.28.7; >= 2.29.0, < 2.29.4; >= 2.30.0, < 2.30.5; >= 2.31.0, < 2.31.5 +3 more | 2.28.7, 2.29.4, 2.30.5, 2.31.5, 2.32.8, 2.33.6, 2.34.7 | Fixed |
| redhat/bootc-main(Red Hat hummingbird 1) | < 1.14.0-0.1.1.hum1 | 1.14.0-0.1.1.hum1 | Fixed |
| redhat/chunkah-main(Red Hat hummingbird 1) | < 0.4.0-1.hum1 | 0.4.0-1.hum1 | Fixed |
| redhat/ruff-main(Red Hat hummingbird 1) | < 0.15.11-1.hum1 | 0.15.11-1.hum1 | Fixed |
| redhat/rust-main(Red Hat hummingbird 1) | < 1.95.0-2.hum1 | 1.95.0-2.hum1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| NixOS Nix | >= 2.24.4, < 2.28.7 | 2.28.7 |
| NixOS Nix | >= 2.29.0, < 2.29.4 | 2.29.4 |
| NixOS Nix | >= 2.30.0, < 2.30.5 | 2.30.5 |
| NixOS Nix | >= 2.31.0, < 2.31.5 | 2.31.5 |
| NixOS Nix | >= 2.32.0, < 2.32.8 | 2.32.8 |
| NixOS Nix | >= 2.33.0, < 2.33.6 | 2.33.6 |
| NixOS Nix | >= 2.34.0, < 2.34.7 | 2.34.7 |
| Lix Project Lix | >= 2.93.0, < 2.93.4 | 2.93.4 |
| Lix Project Lix | >= 2.94.0, < 2.94.2 | 2.94.2 |
| Lix Project Lix | >= 2.95.0, < 2.95.2 | 2.95.2 |
| redhat/chunkah-main(Red Hat:hummingbird:1) | < 0.4.0-1.hum1 | 0.4.0-1.hum1 |
| redhat/ruff-main(Red Hat:hummingbird:1) | < 0.15.11-1.hum1 | 0.15.11-1.hum1 |
| redhat/bootc-main(Red Hat:hummingbird:1) | < 1.14.0-0.1.1.hum1 | 1.14.0-0.1.1.hum1 |
| redhat/rust-main(Red Hat:hummingbird:1) | < 1.95.0-2.hum1 | 1.95.0-2.hum1 |
| debian/nix(Debian:13) | All versions | No fix listed |
| debian/nix(Debian:13) | = 2.26.3+dfsg-1 | No fix listed |
| debian/nix(Debian:13) | = 2.32.5+dfsg-1 | No fix listed |
| debian/nix(Debian:13) | = 2.32.5+dfsg-2 | No fix listed |
| debian/nix(Debian:13) | = 2.34.3+dfsg-1 | No fix listed |
| debian/nix(Debian:13) | = 2.34.6+dfsg-1 | No fix listed |
| debian/nix(Debian:13) | = 2.34.8+dfsg-1 | No fix listed |
| debian/nix(Debian:14) | < 2.34.8+dfsg-1 | 2.34.8+dfsg-1 |
| debian/nix(Debian:14) | = 2.26.3+dfsg-1 | No fix listed |
| debian/nix(Debian:14) | = 2.32.5+dfsg-1 | No fix listed |
| debian/nix(Debian:14) | = 2.32.5+dfsg-2 | No fix listed |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/nix(Debian:14) | = 2.34.3+dfsg-1 | No fix listed |
| debian/nix(Debian:14) | = 2.34.6+dfsg-1 | No fix listed |
| ubuntu/nix(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/nix(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/nix(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/nix(Ubuntu:26.10) | All versions | No fix listed |
References
- discourse.nixos.org
- github.com
- www.openwall.com
- www.openwall.com
- lix.systems
- Red Hat CVE page vendor-advisory
- RHSA-2026:10208 patch vendor-advisory
- RHSA-2026:10999 patch vendor-advisory
- RHSA-2026:7046 patch vendor-advisory
- RHSA-2026:9438 patch vendor-advisory
- Red Hat Bugzilla 2466635 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-44028 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking