{"id":"CVE-2026-44028","details":"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).","aliases":["GHSA-vh5x-56v6-4368"],"modified":"2026-05-27T04:03:04.537845624Z","published":"2026-05-05T00:30:16.205Z","related":["openSUSE-SU-2026:10696-1"],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44028.json","cwe_ids":["CWE-674"],"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"2.93.0"},{"fixed":"2.93.4"},{"introduced":"2.94.0"},{"fixed":"2.94.2"},{"introduced":"2.95.0"},{"fixed":"2.95.2"}]}]},"references":[{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2026/05/04/32"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2026/05/04/33"},{"type":"ADVISORY","url":"https://discourse.nixos.org/t/security-advisory-local-privilege-escalation-in-lix-and-nix/77407"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44028.json"},{"type":"ADVISORY","url":"https://github.com/NixOS/nix/security/advisories/GHSA-vh5x-56v6-4368"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44028"},{"type":"ARTICLE","url":"https://lix.systems/blog/2026-05-05-lix-unsigned-integer-overflow/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nixos/nix","events":[{"introduced":"8e6cda649a12964370addcdf68907b66661c3265"},{"fixed":"2c6d06e9387cf58167cb5a7ab91cee7333d8d17c"}]}],"versions":["2.34.6","2.34.5","2.34.4","2.34.3","2.34.2","2.34.1","2.34.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-44028.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N"}]}