CVE-2025-32463
Sudo Inclusion of Functionality from Untrusted Control Sphere Vulnerability
Known exploited
CISA added this CVE to its list of known exploited vulnerabilities on 29 Sep 2025. US federal agencies had to act by 20 Oct 2025.
- Name
- 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.
- Ransomware
- Use in ransomware campaigns is not known
- Notes
- https://www.sudo.ws/security/advisories/chroot_bug/ https://nvd.nist.gov/vuln/detail/CVE-2025-32463
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 14.0%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.2% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 27 Sep 2025):
- Exploitation
- active: CISA has reliable evidence of exploitation in the wild
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-829 Inclusion of Functionality from Untrusted Control Sphere
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Sudo |
affected from 1.9.14, before 1.9.17p1
Other versions: unaffected
|
Is my server affected?
Find the installed version of sudo and compare it with the fixed version of your distribution. Distributions often fix a CVE in their own package version, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i sudo
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-32463 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-32463RHEL, Rocky, Alma, Fedora
rpm -q sudo
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-32463Alpine
apk list --installed | grep -i sudoWith Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:
trivy rootfs --scanners vuln / | grep CVE-2025-32463
trivy image --scanners vuln IMAGE | grep CVE-2025-32463
Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.
References
Advisories
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-32463 cisa.gov · government resource
Exploits and proof of concept
- https://iototsecnews.jp/2025/07/01/linux-sudo-chroot-vulnerability-enables-hackers-to-elevate-privileges-to-root/ iototsecnews.jp · exploit
Other references
- https://www.sudo.ws/security/advisories/ sudo.ws
- https://www.sudo.ws/releases/changelog/ sudo.ws
- https://www.stratascale.com/vulnerability-alert-CVE-2025-32463-sudo-chroot stratascale.com
- https://www.openwall.com/lists/oss-security/2025/06/30/3 openwall.com
- https://access.redhat.com/security/cve/cve-2025-32463 access.redhat.com
- https://ubuntu.com/security/notices/USN-7604-1 ubuntu.com
- https://security-tracker.debian.org/tracker/CVE-2025-32463 security-tracker.debian.org
- https://explore.alas.aws.amazon.com/CVE-2025-32463.html explore.alas.aws.amazon.com
- https://bugs.gentoo.org/show_bug.cgi?id=CVE-2025-32463 bugs.gentoo.org
- https://www.suse.com/support/update/announcement/2025/suse-su-202502177-1/ suse.com
- https://www.suse.com/security/cve/CVE-2025-32463.html suse.com
- https://www.secpod.com/blog/sudo-lpe-vulnerabilities-resolved-what-you-need-to-know-about-cve-2025-32462-and-cve-2025-32463/ secpod.com
- https://www.sudo.ws/security/advisories/chroot_bug/ sudo.ws
- https://www.vicarius.io/vsociety/posts/cve-2025-32463-detect-sudo-vulnerability vicarius.io
- https://www.vicarius.io/vsociety/posts/cve-2025-32463-mitigate-sudo-vulnerability vicarius.io
Guides
- CISA KEV explained: the list of known exploited vulnerabilities What the CISA Known Exploited Vulnerabilities catalog is, how a CVE gets on it, what the fields mean and how to check your servers against it.
- What to do when a known exploited CVE hits your server A CVE from the CISA KEV list matched one of your servers. Confirm it, contain it, fix it, look for signs of use, and write down what you did.
Source: the record CVE-2025-32463 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.