CVE-2025-32438 HIGH

CVE-2025-32438: Local privilege escalation in make-initrd-ng

Vendor Nixos
Product nixpkgs
Weakness CWE-378
Published April 15, 2025
Last update April 15, 2025

CVSS base score

8.8/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

April 15, 2025 CVE published
April 15, 2025 Record updated