Uncontrolled Recursion in nix - #VU129558
Published: May 4, 2026
nix
Detailed vulnerability description
The vulnerability allows a local user to execute arbitrary code.
The vulnerability exists due to uncontrolled recursion in the NAR directory parser when parsing a crafted NAR archive on a coroutine stack. A local user can supply a specially crafted NAR archive to execute arbitrary code.
Exploitation is possible for users able to connect to the Nix daemon, and successful exploitation may run code as the Nix daemon in multi-user installations if ASLR hardening is bypassed.