CVE-2025-32438: Nixos Nixpkgs
High severity, CVSS 8.8. EPSS: 0.3% probability of exploitation activity in the next 30 days.
make-initrd-ng is a tool for copying binaries and their dependencies. Local privilege escalation affecting all NixOS users. With systemd.shutdownRamfs.enable enabled (the default) a local user is able to create a program that will be executed by root during shutdown. Patches exist for NixOS 24.11 and 25.05 / unstable. As a workaround, set systemd.shutdownRamfs.enable = false;.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Nixos Nixpkgs, before b17590193d8e5697000c23c66afcf11e1753734d: fixed in b17590193d8e5697000c23c66afcf11e1753734d
- Nixos Nixpkgs, before fbf76bf72b161b9f4ab97704a8258776d5f3ffba: fixed in fbf76bf72b161b9f4ab97704a8258776d5f3ffba
Affected products
- Nixos Nixpkgs: before b17590193d8e5697000c23c66afcf11e1753734d (fixed in b17590193d8e5697000c23c66afcf11e1753734d); before fbf76bf72b161b9f4ab97704a8258776d5f3ffba (fixed in fbf76bf72b161b9f4ab97704a8258776d5f3ffba)
Published 2025-04-15. Last modified 2026-06-17.