Local Privilege Escalation Vulnerability in make-initrd-ng for NixOS Users
CVE-2025-32438
What is CVE-2025-32438?
A local privilege escalation vulnerability exists in make-initrd-ng, a tool utilized for copying binaries and their dependencies. This issue impacts all NixOS users, particularly when systemd.shutdownRamfs.enable is enabled by default. A malicious local user can craft a program that will be executed with root privileges during the shutdown process, potentially leading to unauthorized access. Users are advised to apply the available patches for NixOS 24.11 and 25.05 / unstable, or alternatively disable the vulnerable feature by setting systemd.shutdownRamfs.enable to false.
Affected Version(s)
nixpkgs < b17590193d8e5697000c23c66afcf11e1753734d < b17590193d8e5697000c23c66afcf11e1753734d
nixpkgs < fbf76bf72b161b9f4ab97704a8258776d5f3ffba < fbf76bf72b161b9f4ab97704a8258776d5f3ffba
