← Vulnerability feed

Vulnerability record · CVE-2025-32463 · published 30 June 2025

CVE-2025-32463: Sudo chroot local privilege escalation via untrusted nsswitch.conf

Sudo Project · Sudo

Sudo before 1.9.17p1 loads /etc/nsswitch.conf from a user-controlled directory when the --chroot option is used, allowing inclusion of functionality from an untrusted control sphere. A local user can therefore influence configuration read by a privileged process and escalate to root. The flaw affects sudo and multiple Linux distributions that ship it.

7.8 CVSS 3.1 High CISA KEV since 29 Sep 2025 EPSS 61% · top 0.9% CWE-829 · Inclusion from untrusted sphere
7.8CVSS 3.1 base score
61%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
8Affected product versions listed by NVD
17References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

critical priorityA locally reachable, low-complexity sudo flaw that yields root, is listed in CISA KEV with documented exploit references and a very high EPSS score.

What it is

Sudo before 1.9.17p1 loads /etc/nsswitch.conf from a user-controlled directory when the --chroot option is used, allowing inclusion of functionality from an untrusted control sphere. A local user can therefore influence configuration read by a privileged process and escalate to root. The flaw affects sudo and multiple Linux distributions that ship it.

Impact

An attacker with a local account gains full root privileges, giving complete control of the host including credential access, persistence and data modification.

Attack surface

Reached locally by running sudo with the --chroot option pointed at a directory the attacker controls; no authentication beyond a local user session and no user interaction are required, per the AV:L/PR:L/UI:N vector.

Exploitation

CVE-2025-32463 is listed in CISA KEV with a 2025-10-20 remediation due date, and two references are tagged Exploit; EPSS 30-day probability is 0.59417 (99th percentile). No ransomware campaign use is documented.

What to do

  • Upgrade sudo to 1.9.17p1 or later, or apply the vendor update for your distribution (Ubuntu USN-7604-1, SUSE, Red Hat, Debian advisories).
  • If patching is not immediately possible, restrict or remove use of sudo's --chroot option and limit sudo privileges to trusted users.
  • Ensure directories passed to sudo --chroot are not writable by unprivileged users, and audit for attacker-controlled nsswitch.conf files.
  • Track KEV remediation deadlines and verify patched sudo versions across all Linux hosts, including containers and build images.

Detection

  • Alert on sudo executions using the --chroot option, especially with paths under user-writable directories such as /tmp, /home or /var/tmp.
  • Monitor for creation or modification of nsswitch.conf files outside /etc and for unexpected root-owned processes spawned by sudo.
  • Audit sudo version inventory to find hosts still running versions before 1.9.17p1.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2025-32463 to the Known Exploited Vulnerabilities catalog on 29 September 2025 as "Sudo Inclusion of Functionality from Untrusted Control Sphere Vulnerability". 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. Federal deadline 20 October 2025.

Affected products

8 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://access.redhat.com/security/cve/cve-2025-32463 Third Party Advisory
https://bugs.gentoo.org/show_bug.cgi?id=CVE-2025-32463 Issue TrackingThird Party Advisory
https://explore.alas.aws.amazon.com/CVE-2025-32463.html Third Party Advisory
https://security-tracker.debian.org/tracker/CVE-2025-32463 Third Party Advisory
https://ubuntu.com/security/notices/USN-7604-1 Third Party Advisory
https://www.openwall.com/lists/oss-security/2025/06/30/3 Third Party Advisory
https://www.secpod.com/blog/sudo-lpe-vulnerabilities-resolved-what-you-need-to-know-about-cve-2025-32462-and-cve-2025-32 ExploitThird Party Advisory
https://www.stratascale.com/vulnerability-alert-CVE-2025-32463-sudo-chroot ExploitThird Party Advisory
https://www.sudo.ws/releases/changelog/ Release Notes
https://www.sudo.ws/security/advisories/ Vendor Advisory
https://www.sudo.ws/security/advisories/chroot_bug/ Vendor Advisory
https://www.suse.com/security/cve/CVE-2025-32463.html Third Party Advisory
https://www.suse.com/support/update/announcement/2025/suse-su-202502177-1/ Third Party Advisory
https://www.vicarius.io/vsociety/posts/cve-2025-32463-detect-sudo-vulnerability Third Party Advisory
https://www.vicarius.io/vsociety/posts/cve-2025-32463-mitigate-sudo-vulnerability MitigationThird Party Advisory
https://iototsecnews.jp/2025/07/01/linux-sudo-chroot-vulnerability-enables-hackers-to-elevate-privileges-to-root/ Third Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-32463 US Government Resource

Track CVE-2025-32463 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2025-32463), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.