
Provides detailed analysis and mitigation guidance for CVE-2025-32463, a local privilege escalation vulnerability in Sudo, including affected versions, attack vectors, and detection methods.
CVE-2025-32463 is a Local Privilege Escalation (LPE) vulnerability discovered in Sudo. An attacker can exploit this vulnerability to gain root privileges under certain conditions.
-R (--chroot) option to create a malicious /etc/nsswitch.conf file in a user-specified root directory. When Sudo runs in this specially crafted environment, it reads the malicious configuration, leading to the loading of an attacker-supplied library, which may result in gaining root privileges.You can verify whether your system is affected by checking the Sudo version.
sudo command (Recommended)Run the following command to check the version. This command typically does not require a password:
sudo -V
If you cannot or do not want to use the sudo command, you can read the version information directly from the binary using the following commands:
sudo path (usually /usr/bin/sudo)./usr/bin/sudo with your actual path):strings /usr/bin/sudo | grep "Sudo version"
If the reported version number is between 1.9.14 and 1.9.17 (inclusive), your system may be at risk.