CVE-2025-32438

Summary

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 Software

VendorProductVersion RangeStatus
NixOSnixpkgs< b17590193d8e5697000c23c66afcf11e1753734daffected
NixOSnixpkgs< fbf76bf72b161b9f4ab97704a8258776d5f3ffbaaffected

Weaknesses

  • CWE-378: CWE-378: Creation of Temporary File With Insecure Permissions
  • CWE-379: CWE-379: Creation of Temporary File in Directory with Insecure Permissions

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References