CVE-2025-32463 Sudo Inclusion of Functionality from Untrusted Control Sphere
Local attackers can gain root access by exploiting the --chroot option to load a malicious nsswitch.conf from a user-controlled directory.
- Exploited in the wild
- Since 29 Sep 2025
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-32463?
CVE-2025-32463 is a critical vulnerability in Canonical Ubuntu Linux, published on 30 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf from a user-controlled directory is used with the --chroot option.
Weakness: CWE-829
Which versions are affected by CVE-2025-32463?
It affects 8 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Opensuse Leap, Redhat Enterprise Linux, Sudo Project Sudo, Suse Linux Enterprise Desktop and 2 more.
How do I fix CVE-2025-32463?
Upgrade to a fixed version. US federal agencies must fix it by 20 Oct 2025.
Is CVE-2025-32463 being exploited?
Yes. Attackers have exploited CVE-2025-32463 in the wild since at least 29 Sep 2025.
Public exploit code: 1 Metasploit module, 1 Exploit-DB entry and 69 proofs of concept on GitHub.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as AZL-64458, AZL-64464, BELL-CVE-2025-32463, DEBIAN-CVE-2025-32463, GHSA-695j-c63m-mvxc, UBUNTU-CVE-2025-32463.