BreachSpiderVerified, not vibes

CVE-2025-32438 in Nixos products

High 8.8

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 / unstabl...

Affects 0 products from 2 vendors. Facts below cite their sources.

CVSS 3.18.8
EPSS0.3%
EPSS percentile14th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Nixos — —
Program — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-32438
BreachSpider IDBS-2025-GLOBAL-254016-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published2025-04-15
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-378: CWE-378

CWE-379: CWE-379

Analysis AI-written, not human-reviewed

CVE-2025-32438 is a local privilege escalation vulnerability in make-initrd-ng, affecting all NixOS users. It allows a local user to execute arbitrary code as root during system shutdown if systemd.shutdownRamfs.enable is enabled.

An attacker with local user access can create a malicious program that will be executed by root during the system shutdown process, leveraging the systemd.shutdownRamfs.enable feature.

Questions

What is CVE-2025-32438?

CVE-2025-32438 is a local privilege escalation vulnerability in make-initrd-ng, affecting all NixOS users. It allows a local user to execute arbitrary code as root during system shutdown if systemd.shutdownRamfs.enable is enabled.

What is the CVSS score for CVE-2025-32438?

CVE-2025-32438 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.3%.

Is CVE-2025-32438 actively exploited?

No confirmed active exploitation of CVE-2025-32438 as of 2026-09-25.

How do I remediate CVE-2025-32438?

Priority: IMMEDIATE.

What systems are affected by CVE-2025-32438?

CVE-2025-32438 affects Nixos; Program.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Nixos","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.