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

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-04-15T19:57:04.668Z
- Modified: 2026-06-17T09:11:59.637Z
- Weaknesses: CWE-378, CWE-379
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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;.

(As written by CVE List.)

## Affected

- NixOS nixpkgs: < b17590193d8e5697000c23c66afcf11e1753734d; < fbf76bf72b161b9f4ab97704a8258776d5f3ffba

## References

- <https://github.com/NixOS/nixpkgs/security/advisories/GHSA-m7pq-h9p4-8rr4>
- <https://github.com/NixOS/nixpkgs/commit/b17590193d8e5697000c23c66afcf11e1753734d>
- <https://github.com/NixOS/nixpkgs/commit/fbf76bf72b161b9f4ab97704a8258776d5f3ffba>

## Sources

- CVE List: [CVE-2025-32438](https://www.cve.org/CVERecord?id=CVE-2025-32438), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2025-32438](https://nvd.nist.gov/vuln/detail/CVE-2025-32438), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-32438 · Whole record: https://cve.day/CVE-2025-32438.json · Rebuilt by cve.day 2026-11-25T22:58:56.481Z
