ZeroHour

CVE-2025-32463

KEV PoC ×2mass

Local Privilege Escalation to Root in Sudo via Untrusted nsswitch.conf with --chroot

CISA: Sudo Inclusion of Functionality from Untrusted Control Sphere Vulnerability

CVSS 3.1
7.8 high
EPSS
59%p99
Published
()
KEV added
AI analysis

Sudo before 1.9.17p1 mishandles the --chroot option: when sudo runs chrooted, it loads /etc/nsswitch.conf from the user-controlled chroot directory rather than the trusted system copy. A local user who can invoke sudo with --chroot can plant a crafted nsswitch.conf (and the NSS libraries it references) in that directory, causing sudo to load untrusted functionality as root. Successful exploitation grants full root privileges on the host, and any Linux deployment running an unpatched sudo is affected, including Ubuntu, Debian, Red Hat Enterprise Linux, SUSE and openSUSE products per the CPE data. The vulnerability is confirmed exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2025-09-29 (ransomware association not yet reported), and EPSS assigns a high 59.4% probability of exploitation within 30 days. Public proof-of-concept references are already available from the researchers who disclosed the flaw.

What to do: Upgrade Sudo to 1.9.17p1 or later, or apply your distribution's updated sudo packages (Ubuntu, Debian, Red Hat Enterprise Linux, SUSE and openSUSE have issued patches); the same update also fixes the related local privilege escalation CVE-2025-32462. Until patched, remove or restrict the -R/--chroot option in sudoers policies and identify local users permitted to run sudo with chroot, and audit installed sudo versions across servers and container images. Federal agencies must satisfy the CISA KEV required action, including applicable BOD 22-01 guidance for cloud services.

Affected
sudo project sudobefore 1.9.17p1
canonical ubuntu linuxreleases shipping Sudo before 1.9.17p1 (distro-specific version ranges not provided in source data; see vendor advisories)
debian linuxreleases shipping Sudo before 1.9.17p1 (distro-specific version ranges not provided in source data; see vendor advisories)
redhat enterprise linuxreleases shipping Sudo before 1.9.17p1 (distro-specific version ranges not provided in source data; see vendor advisories)
opensuse leapreleases shipping Sudo before 1.9.17p1 (distro-specific version ranges not provided in source data; see vendor advisories)
suse linux enterprise desktopreleases shipping Sudo before 1.9.17p1 (distro-specific version ranges not provided in source data; see vendor advisories)
suse linux enterprise real timereleases shipping Sudo before 1.9.17p1 (distro-specific version ranges not provided in source data; see vendor advisories)
suse linux enterprise server for sapreleases shipping Sudo before 1.9.17p1 (distro-specific version ranges not provided in source data; see vendor advisories)
Estimated exposure
masshundreds of millions of Linux hosts (sudo is installed by default on virtually every Ubuntu, Debian, RHEL, SUSE and openSUSE server, desktop and container… — Sudo ships enabled by default with all major distributions covered by the CPE data, so exposure scales with the global Linux installed base of servers, workstations, cloud instances and containers; exploitation additionally requires local…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

CISA Known Exploited Vulnerability
Affected
Sudo Sudo
Required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Due date
Ransomware use
Unknown
Vendors
sudo projectcanonicaldebianopensuseredhatsuse
Products
sudo, ubuntu linux, debian linux, leap, enterprise linux, linux enterprise desktop, linux enterprise real time, linux enterprise server for sap
Weakness
CWE-829
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news