CVE
CVE-2025-32463
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
Critical
Base CVSS
9.3
Fixed in
84e7ca6752a2d3a32452adee177d1f57421dd814,1.9.15-8.p5.el10_0.2,1.9.16p2-3,0:1.9.15p5-3ubuntu5.24.10.1,1.9.15p5-3ubuntu5.24.04.1,1.9.17_p1-r0,1.9.17,0:1.9.15-8.p5.el10_0.2,0:1.9.15-1.p5.amzn2023.0.2,1.9.17-r0
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 scores
Source
Severity
Base score
CVSS version
Score vector
NVD
Critical
9.3
3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV
0
3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Endor Labs
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.
Known ransomware campaign use
Unknown
References
https://access.redhat.com/security/cve/cve-2025-32463, https://bugs.gentoo.org/showbug.cgi?id=CVE-2025-32463, https://explore.alas.aws.amazon.com/CVE-2025-32463.html, https://security-tracker.debian.org/tracker/CVE-2025-32463, https://www.cisa.gov/known-exploited-vulnerabilities-catalog?fieldcve=CVE-2025-32463, https://www.openwall.com/lists/oss-security/2025/06/30/3, https://www.stratascale.com/vulnerability-alert-CVE-2025-32463-sudo-chroot, https://www.sudo.ws/releases/changelog/, https://www.suse.com/security/cve/CVE-2025-32463.html, https://www.suse.com/support/update/announcement/2025/suse-su-202502177-1/, https://www.vicarius.io/vsociety/posts/cve-2025-32463-detect-sudo-vulnerability, https://www.vicarius.io/vsociety/posts/cve-2025-32463-mitigate-sudo-vulnerability, https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32463.json, https://nvd.nist.gov/vuln/detail/CVE-2025-32463, https://ubuntu.com/security/notices/USN-7604-1, https://www.sudo.ws/security/advisories/, https://www.sudo.ws/security/advisories/chroot_bug/, https://www.secpod.com/blog/sudo-lpe-vulnerabilities-resolved-what-you-need-to-know-about-cve-2025-32462-and-cve-2025-32463/, https://iototsecnews.jp/2025/07/01/linux-sudo-chroot-vulnerability-enables-hackers-to-elevate-privileges-to-root/
Basic information
Base CVSS
9.3
EPSS probability
0.5
EPSS percentile
0.99016
Introduced version
84e7ca6752a2d3a32452adee177d1f57421dd814,0,1.9.14
Fix available
84e7ca6752a2d3a32452adee177d1f57421dd814,1.9.15-8.p5.el10_0.2,1.9.16p2-3,0:1.9.15p5-3ubuntu5.24.10.1,1.9.15p5-3ubuntu5.24.04.1,1.9.17_p1-r0,1.9.17,0:1.9.15-8.p5.el10_0.2,0:1.9.15-1.p5.amzn2023.0.2,1.9.17-r0
Endor Patches
Fix critical vulnerabilities instantly
Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.
Fix without upgradingGet a demo of Endor Labs today.