Description
Nix before 2.35.3 and Lix before 2.95.4 have an integer overflow and resultant out-of-bounds write when evaluating untrusted expressions because list allocation is mishandled.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NixOS | Nix | < 2.28.8, 2.29.0 – < 2.30.6, 2.31.0 – < 2.31.6, 2.32.0 – < 2.34.9, 2.35.0 – < 2.35.3 | 2.28.8 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nix | 2.35.4+dfsg-1 | — |
| Debian 13 | nix | No fix yet | — |
| Debian 12 | nix | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | nix | No fix yet | — |
| Ubuntu 26.04 LTS | nix | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | nix | No fix yet | — |
| Ubuntu Pro 22.04 LTS | nix | No fix yet | — |