{"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-07-08T08:11:24.728950345Z","published":"2026-05-05T00:30:16.205Z","related":["openSUSE-SU-2026:10696-1"],"database_specific":{"unresolved_ranges":[{"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"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"mitre","cwe_ids":["CWE-674"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44028.json"},"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":"cb0439f0c2d28f971369365d0937dbfaa76b0cce"},{"fixed":"af8365d4b4bb75bfffbb8b5484ea4865e6dcb92b"},{"introduced":"0cd1fce3c3fde7dade50b23a19d9cdea0e6e2137"},{"fixed":"620b5e764649d78581d0653646af4999a79380ab"},{"introduced":"812e0693022c77a3ce77b1342be1d0aef850f2d8"},{"fixed":"3a1c0b40158384a8ad4e1229c67336ed96cec721"},{"introduced":"ec6ba866d1a75f04a43d3ac4061a3b0277be842b"},{"fixed":"cc38c0c5ca55d533c5fb3e944305ca9926d32181"},{"introduced":"d069633b3df1db53b9724a5bb332f910d71c5daf"},{"fixed":"ad2aac683cda793a3b860eabd9c0ad528097ae65"},{"introduced":"231d5b41ed1b4b65f4cb875994691a4e40b150d9"},{"fixed":"66e78e0aaaf8b82c4e7c6cd69129b659422711c8"},{"introduced":"8e6cda649a12964370addcdf68907b66661c3265"},{"fixed":"2c6d06e9387cf58167cb5a7ab91cee7333d8d17c"}],"database_specific":{"extracted_events":[{"introduced":"2.24.4"},{"fixed":"2.28.7"},{"introduced":"2.29.0"},{"fixed":"2.29.4"},{"introduced":"2.30.0"},{"fixed":"2.30.5"},{"introduced":"2.31.0"},{"fixed":"2.31.5"},{"introduced":"2.32.0"},{"fixed":"2.32.8"},{"introduced":"2.33.0"},{"fixed":"2.33.6"},{"introduced":"2.34.0"},{"fixed":"2.34.7"}],"source":"AFFECTED_FIELD"}}],"versions":["2.33.5","2.34.6","2.29.3","2.30.4","2.31.4","2.32.7","2.33.4","2.34.5","2.34.4","2.34.3","2.34.2","2.34.1","2.34.0","2.32.6","2.33.3","2.33.2","2.33.1","2.31.3","2.32.5","2.33.0","2.32.4","2.32.3","2.32.2","2.32.1","2.32.0","2.31.2","2.31.1","2.30.3","2.29.2","2.31.0","2.30.2","2.30.1","2.30.0","2.29.1","2.29.0"],"database_specific":{"source":"https://storage.googleapis.com/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"}]}