CVE-2025-32438
JSON

8.8high

Local privilege escalation in make-initrd-ng

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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;.

Affected

Product or packageVersionsReported by
NixOS nixpkgs< b17590193d8e5697000c23c66afcf11e1753734d, < fbf76bf72b161b9f4ab97704a8258776d5f3ffbaCVE List

Classification

CWE-378CWE-379

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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;.

NVD (es)

make-initrd-ng es una herramienta para copiar binarios y sus dependencias. La escalada de privilegios locales afecta a todos los usuarios de NixOS. Con systemd.shutdownRamfs.enable habilitado (predeterminado), un usuario local puede crear un programa que serĂ¡ ejecutado por root durante el apagado. Existen parches para NixOS 24.11 y 25.05 (inestable). Como workaround, configure systemd.shutdownRamfs.enable = false;.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-32438 changed 2025-04-15CVE Terms of Use
NVDCVE-2025-32438 changed 2026-06-17Public domain