Bug 2466635 (CVE-2026-44028) - CVE-2026-44028 nix: coroutine stack-to-heap overflow via unbounded recursion in NAR directory parser
Summary: CVE-2026-44028 nix: coroutine stack-to-heap overflow via unbounded recursion ...
Keywords:
Status: NEW
Alias: CVE-2026-44028
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2478028 2478029
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-05 02:01 UTC by OSIDB Bzimport
Modified: 2026-05-19 12:32 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-05 02:01:29 UTC
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).


Note You need to log in before you can comment on or make changes to this bug.