# CVE-2025-32463: Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf from a user-controlled directo…

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Yes: in CISA KEV since 2025-09-29; federal due date 2025-10-20
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 14.02% (percentile 97, 2026-11-26)
- **CWE:** CWE-829
- **Aliases:** EDB-52352
- **Published:** 2025-06-30T00:00:00.000Z
- **Modified:** 2026-06-17T09:12:02.147Z

## Who should check

- Anyone running Sudo project Sudo \>= 1.9.14, \< 1.9.17p1

## 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.

## Affected and fixed versions

- Sudo project Sudo: \>= 1.9.14, \< 1.9.17p1 (cvelist)

## Mitigation

- Upgrade Sudo to 1.9.17p1 or later.

## Timeline

- 2025-06-30: Published
- 2025-09-29: Added to CISA KEV (exploited in the wild)
- 2025-10-20: CISA remediation due date for US federal agencies
- 2026-06-17: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-32463. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-32463.md
Affected: Sudo project Sudo >= 1.9.14, < 1.9.17p1
Fixed in: Sudo project Sudo 1.9.17p1

Steps:
1. Search this machine and project for Sudo project Sudo: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-32463 being exploited?

Yes. CISA lists CVE-2025-32463 in its Known Exploited Vulnerabilities catalog since 2025-09-29, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 14.02% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-32463?

Critical: CVSS 9.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-32463?

Sudo project Sudo \>= 1.9.14, \< 1.9.17p1.

### Is there a fix for CVE-2025-32463?

Yes. Fixed in Sudo project Sudo 1.9.17p1. Upgrade Sudo to 1.9.17p1 or later.

### How do I check if I'm affected by CVE-2025-32463?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.sudo.ws/security/advisories/>
- vendor: <https://www.sudo.ws/security/advisories/chroot_bug/>
- exploit: <https://www.stratascale.com/vulnerability-alert-CVE-2025-32463-sudo-chroot>
- exploit: <https://www.secpod.com/blog/sudo-lpe-vulnerabilities-resolved-what-you-need-to-know-about-cve-2025-32462-and-cve-2025-32463/>
- exploit: <https://iototsecnews.jp/2025/07/01/linux-sudo-chroot-vulnerability-enables-hackers-to-elevate-privileges-to-root/>
- exploit: <https://www.exploit-db.com/exploits/52352>
- other: <https://www.sudo.ws/releases/changelog/>
- other: <https://www.openwall.com/lists/oss-security/2025/06/30/3>
- other: <https://access.redhat.com/security/cve/cve-2025-32463>
- other: <https://ubuntu.com/security/notices/USN-7604-1>
- other: <https://security-tracker.debian.org/tracker/CVE-2025-32463>
- other: <https://explore.alas.aws.amazon.com/CVE-2025-32463.html>
- other: <https://bugs.gentoo.org/show_bug.cgi?id=CVE-2025-32463>
- other: <https://www.suse.com/support/update/announcement/2025/suse-su-202502177-1/>
- other: <https://www.suse.com/security/cve/CVE-2025-32463.html>
- other: <https://www.vicarius.io/vsociety/posts/cve-2025-32463-detect-sudo-vulnerability>
- other: <https://www.vicarius.io/vsociety/posts/cve-2025-32463-mitigate-sudo-vulnerability>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-32463>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-32463>
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/52352>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2025-32463> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-32463>
