
This repository contains information and/or a proof of concept (PoC) about the vulnerability CVE-2025-32463, a critical local privilege escalation flaw in the sudo utility.
The vulnerability allows a local user to gain root access by leveraging the --chroot (or -R) option in vulnerable versions of Sudo. The flaw occurs because Sudo allows loading configuration files (such as /etc/nsswitch.conf) from a user-controlled directory before changing its privileges, which facilitates the loading of malicious libraries.
--chroot functionality)The recommended solution is to update the sudo package to the latest version available in your Linux distribution:
chmod +x CVE-2025-32463.sh
./CVE-2025-32463.sh