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;.
CVE ID: CVE-2025-32438
CVSS Base Severity: HIGH
CVSS Base Score: 8.8
CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Vendor: NixOS
Product: nixpkgs
EPSS Score: 0.01% (probability of being exploited)
EPSS Percentile: 1.09% (scored less or equal to compared to others)
EPSS Date: 2025-04-18 (when was this score calculated)