CVE-2025-52992

NameCVE-2025-52992
DescriptionThe Nix, Lix, and Guix package managers fail to properly set permissions when a derivation build fails. This may allow arbitrary processes to modify the content of a store outside of the build sandbox. This affects Nix before 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix before 2.91.2, 2.92.2, and 2.93.1; and Guix before 1.4.0-38.0e79d5b.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1108318

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
guix (PTS)bullseye1.2.0-4+deb11u2vulnerable
bullseye (security)1.2.0-4+deb11u3vulnerable
bookworm, bookworm (security)1.4.0-3+deb12u2vulnerable
sid, trixie1.4.0-9vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
guixsource(unstable)(unfixed)1108318

Notes

https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/
https://codeberg.org/guix/guix/pulls/788
https://codeberg.org/guix/guix/commit/7173c2c0cad8afc9d8d1ad26f345b5a04f47716a
https://codeberg.org/guix/guix/commit/be8aca065118aa4485c02f991c51bea89034defa
https://codeberg.org/guix/guix/commit/fb42611b8f27960304db5a1c0d33b8371dcde2a8
https://codeberg.org/guix/guix/commit/c659f977bb09de6d5615e6aa9efddedc1d9ff458
https://codeberg.org/guix/guix/commit/0e79d5b6550729e6ce3bac1e979638ac054ba5a5
https://codeberg.org/guix/guix/commit/30a5d140aa5a789a362749d057754783fea83dde

Search for package or bug name: Reporting problems