CVE-2025-32438

High

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

SeverityHigh
CVSS8.8
Exploit probability—
ProductNixos Nixpkgs
PublishedApr 15, 2025
First seenApr 15, 2025

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
NixOS nixpkgs< b17590193d8e5697000c23c66afcf11e1753734d, < fbf76bf72b161b9f4ab97704a8258776d5f3ffba—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-32438 · Nixos Nixpkgs · Dark Radar