CVE-2025-32438

Source
https://cve.org/CVERecord?id=CVE-2025-32438
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32438.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-32438
Aliases
  • GHSA-m7pq-h9p4-8rr4
Published
2025-04-15T19:57:04.668Z
Modified
2026-04-10T05:25:11.829108Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Local privilege escalation in make-initrd-ng
Details

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

Database specific
{
    "cwe_ids": [
        "CWE-378",
        "CWE-379"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32438.json"
}
References

Affected packages

Git / github.com/nixos/nixpkgs

Affected ranges

Type
GIT
Repo
https://github.com/nixos/nixpkgs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/nixos/nixpkgs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.1
0.13
0.14
0.2
0.3
0.4
15.*
15.09-beta
18.*
18.03-beta
18.09-beta
21.*
21.11-pre
23.*
23.05-pre
23.11-beta
23.11-pre
24.*
24.05-pre
24.11
24.11-beta
24.11-pre
branch-off-24.*
branch-off-24.11
Other
v192
v206
v208

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32438.json"