Description
Sudo before 1.9.17p1, when used with a sudoers file that specifies a host that is neither the current host nor ALL, allows listed users to execute commands on unintended machines.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Sudo project | Sudo | 1.8.8 – < 1.9.17p1 | 1.9.17p1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | sudo | 1.9.16p2-3 | — |
| Debian 13 | sudo | 1.9.16p2-3 | — |
| Debian 12 | sudo | 1.9.13p3-1+deb12u2 | DSA-5954-1 |
| Debian 11 | sudo | 1.9.5p2-3+deb11u2 | DLA-4235-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | sudo | 1.9.15p5-3ubuntu5.24.04.1 | USN-7604-1 |
| Ubuntu 22.04 LTS | sudo | 1.9.9-1ubuntu2.5 | USN-7604-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | sudo | 1.8.31-1ubuntu1.5+esm1 | USN-7604-2 |
| Ubuntu Pro 18.04 LTS | sudo | 1.8.21p2-3ubuntu1.6+esm1 | USN-7604-2 |
| Ubuntu Pro 16.04 LTS | sudo | 1.8.16-0ubuntu1.10+esm3 | USN-7604-2 |
| Ubuntu Pro 14.04 LTS | sudo | 1.8.9p5-1ubuntu1.5+esm8 | USN-7604-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | sudo +1 | 1.9.15-8.p5.el10_0.2 | RHSA-2025:11537 |
| RHEL 9 | sudo +1 | 1.9.5p2-10.el9_6.1 | RHSA-2025:9978 |
| RHEL 8 | sudo | 1.9.5p2-1.el8_10.1 | RHSA-2025:10110 |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.4 EUS | sudo +1 | 1.9.5p2-10.el9_4.1 | RHSA-2025:10707 |
| RHEL 9.2 E4S | sudo +1 | 1.9.5p2-9.el9_2.3 | RHSA-2025:10779 |
| RHEL 9.0 E4S | sudo +1 | 1.9.5p2-7.el9_0.5 | RHSA-2025:10835 |
| RHEL 8.8 TUS | sudo | 1.9.5p2-1.el8_8.1 | RHSA-2025:10836 |
| RHEL 8.8 E4S | sudo | 1.9.5p2-1.el8_8.1 | RHSA-2025:10836 |
| RHEL 8.6 TUS | sudo | 1.9.5p2-1.el8_6.1 | RHSA-2025:10520 |
| RHEL 8.6 E4S | sudo | 1.9.5p2-1.el8_6.1 | RHSA-2025:10520 |
| RHEL 8.6 AUS | sudo | 1.9.5p2-1.el8_6.1 | RHSA-2025:10520 |
| RHEL 8.4 EUS Long Life | sudo | 1.8.29-7.el8_4.3 | RHSA-2025:10383 |
| RHEL 8.4 AUS | sudo | 1.8.29-7.el8_4.3 | RHSA-2025:10383 |
| RHEL 8.2 AUS | sudo | 1.8.29-5.el8_2.3 | RHSA-2025:10518 |
| RHEL 7 ELS | sudo +1 | 1.8.23-10.el7_9.4 | RHSA-2025:10871 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | sudo +1 | 1.9.15-8.p5.el10_0.2 | ALSA-2025:11537 |
| AlmaLinux 9 | sudo +1 | 1.9.5p2-10.el9_6.1 | ALSA-2025:9978 |
| AlmaLinux 8 | sudo | 1.9.5p2-1.el8_10.1 | ALSA-2025:10110 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | sudo | 1.9.15-8.p5.el10_0.2 | RLSA-2025:11537 |
| Rocky Linux 9 | sudo | 1.9.5p2-10.el9_6.1 | RLSA-2025:9978 |
| Rocky Linux 8 | sudo | 1.9.5p2-1.el8_10.1 | RLSA-2025:10110 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | sudo | 1.9.15p5-150600.3.9.1 | SUSE-SU-2025:02177-1 |
| SLES 15 SP6 | sudo | 1.9.15p5-150600.3.9.1 | SUSE-SU-2025:02177-1 |
| SLES 15 SP5 | sudo | 1.9.12p1-150500.7.13.1 | SUSE-SU-2025:02179-1 |
| SLES 15 SP4 | sudo | 1.9.9-150400.4.39.1 | SUSE-SU-2025:02178-1 |
| SLES 15 SP3 | sudo | 1.9.5p2-150300.3.36.1 | SUSE-SU-2025:02175-1 |
Show 17 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | sudo | 1.8.27-4.54.1 | SUSE-SU-2025:02174-1 |
| SLES for SAP 15 SP5 | sudo | 1.9.12p1-150500.7.13.1 | SUSE-SU-2025:02179-1 |
| SLES for SAP 15 SP4 | sudo | 1.9.9-150400.4.39.1 | SUSE-SU-2025:02178-1 |
| SLES for SAP 15 SP3 | sudo | 1.9.5p2-150300.3.36.1 | SUSE-SU-2025:02175-1 |
| SLE Micro 6.1 | sudo | 1.9.15p5-slfo.1.1_2.1 | SUSE-SU-2025:20478-1 |
| SLE Micro 6.0 | sudo | 1.9.15p5-2.1 | SUSE-SU-2025:20489-1 |
| SLE Micro 5.5 | sudo | 1.9.12p1-150500.7.13.1 | SUSE-SU-2025:02179-1 |
| SLE Micro 5.4 | sudo | 1.9.9-150400.4.39.1 | SUSE-SU-2025:02178-1 |
| SLE Micro 5.3 | sudo | 1.9.9-150400.4.39.1 | SUSE-SU-2025:02178-1 |
| SLE Micro 5.2 | sudo | 1.9.5p2-150300.3.36.1 | SUSE-SU-2025:02175-1 |
| SLE Micro 5.1 | sudo | 1.9.5p2-150300.3.36.1 | SUSE-SU-2025:02175-1 |
| SLE HPC 15 SP5 | sudo | 1.9.12p1-150500.7.13.1 | SUSE-SU-2025:02179-1 |
| SLE HPC 15 SP4 | sudo | 1.9.9-150400.4.39.1 | SUSE-SU-2025:02178-1 |
| SLE HPC 15 SP3 | sudo | 1.9.5p2-150300.3.36.1 | SUSE-SU-2025:02175-1 |
| SUSE Manager Server 4.3 | sudo | 1.9.9-150400.4.39.1 | SUSE-SU-2025:02178-1 |
| SUSE Manager Proxy 4.3 | sudo | 1.9.9-150400.4.39.1 | SUSE-SU-2025:02178-1 |
| SUSE Enterprise Storage 7.1 | sudo | 1.9.5p2-150300.3.36.1 | SUSE-SU-2025:02175-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | sudo | 1.9.17p1-1.1 | openSUSE-SU-2025:15298-1 |
| openSUSE Leap 15.6 | sudo | 1.9.15p5-150600.3.9.1 | SUSE-SU-2025:02177-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | sudo | 1.9.17_p1-r0 | — |
| Alpine v3.23 | sudo | 1.9.17_p1-r0 | — |
| Alpine v3.22 | sudo | 1.9.17_p1-r0 | — |
| Alpine v3.21 | sudo | 1.9.17_p1-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | sudo +3 | 1.9.15-1.p5.amzn2023.0.2 | ALAS2023-2025-1070 |
| Amazon Linux 2 | sudo +1 | 1.8.23-10.amzn2.3.8 | ALAS2-2025-2924 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | sudo | 1.9.17-1 | — |
| Azure Linux 2 (CBL-Mariner) | sudo | 1.9.17-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | sudo +1 | 1.9.15-8.p5.el10_0.2 | ELSA-2025-11537 |
| Oracle Linux 9 | sudo +1 | 1.9.5p2-10.el9_6.1 | ELSA-2025-9978 |
| Oracle Linux 8 | sudo | 1.9.5p2-1.0.1.el8_10.1 | ELSA-2025-10110 |
| Oracle Linux 7 | sudo +1 | 1.8.23-10.0.1.el7_9.3 | ELSA-2025-10871 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | sudo | 1.9.17-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Sudo 1.9.17 Host Option - Elevation of Privilege EDB-52354 · local · Jul 8, 2025
GitHub 11 repositories · most starred shown
-
CryingN/CVE-2025-32462 ★ 13 · Jul 3, 2025
A easy sudo poc by cryingn.
-
0p5cur/CVE-2025-32462-POC ★ 9 · Jul 4, 2025
🔓 Local privilege escalation PoC for CVE-2025-32462 (sudo -h bypass) – gain root via misconfigured sudoers
-
MAAYTHM/CVE-2025-32462_32463-Lab ★ 5 · Jul 7, 2025
Docker PoC for CVE-2025-32462 & CVE-2025-32463 (sudo), based on Stratascale CRU research.
-
SpongeBob-369/cve-2025-32462 ★ 3 · Jul 5, 2025
cve-2025-32462' demo
-
yonathanpy/CVE-2025-32462-CVE-2025-32463-PoC-Lab ★ 2 · Mar 5, 2026
-
j3r1ch0123/CVE-2025-32462 ★ 1 · Jul 28, 2025
The vulnerability was found by Rich Mirch. More details on it here: https://cxsecurity.com/issue/WLB-2025070022
-
cybersentinelx1/CVE-2025-32462-Exploit ★ 1 · Jul 3, 2025
CVE-2025-32462 Exploit
-
OffSecPlaybook/CVE-2025-32462- ★ 0 · Dec 25, 2025
CVE-2025-32462 is a local privilege escalation vulnerability in sudo
-
toohau/CVE-2025-32462-32463-Detection-Script- ★ 0 · Jul 11, 2025
Critical Sudo Vulnerabilities Let Local Users Gain Root Access on Linux, Impacting Major Distros
-
mylovem313/CVE-2025-32462 ★ 0 · Jul 3, 2025
CVE-2025-32462 exploit code
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 41
- ALSA-2025:11537 Important: sudo security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:9978 Important: sudo security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:10110 Important: sudo security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:9978 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:11537 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:10871 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:10835 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:10836 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:10779 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:10707 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:10520 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:10383 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:10518 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2025:10110 Red Hat Security Advisory: sudo security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- WID-SEC-2025-2475 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2025-1428 sudo: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 6, 2026
- ICSA-26-202-04 Siemens SIDIS Secured SmartPlug CISA ICS & IT advisories · Jul 21, 2026
- NCSC-2026-0229 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Jul 14, 2026
- SSA-585531 SSA-585531: Multiple Vulnerabilities in SIDIS Secured SmartPlug before V7.26.0310 Siemens ProductCERT · Jul 14, 2026
- USN-7604-2 sudo vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- openSUSE-SU-2025:15298-1 sudo-1.9.17p1-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20478-1 Security update for sudo SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20489-1 Security update for sudo SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-4235-1 sudo - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-5954-1 sudo - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-7604-1 sudo vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2025:02175-1 Security update for sudo SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:02178-1 Security update for sudo SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:02177-1 Security update for sudo SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:02179-1 Security update for sudo SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2025-0351 Kwetsbaarheden verholpen in Apple MacOS NCSC-NL (Netherlands) · Nov 4, 2025
- RLSA-2025:11537 Important: sudo security update Rocky Linux Security Advisories · Oct 8, 2025
- RLSA-2025:9978 Important: sudo security update Rocky Linux Security Advisories · Oct 7, 2025
- RLSA-2025:10110 Important: sudo security update Rocky Linux Security Advisories · Jul 29, 2025
- ELSA-2025-10871 Important: sudo security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jul 23, 2025
- ELSA-2025-11537 Important: sudo security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jul 22, 2025
- ALAS2-2025-2924 Important: sudo security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 10, 2025
- ALAS2023-2025-1070 Important: sudo security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 10, 2025
- SUSE-SU-2025:02174-1 Security update for sudo SUSE / openSUSE Security Updates · Jul 1, 2025
- ELSA-2025-10110 Important: sudo security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 1, 2025
- ELSA-2025-9978 Important: sudo security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jun 30, 2025
References
- https://www.sudo.ws/security/advisories/
- https://www.sudo.ws/releases/changelog/
- https://www.stratascale.com/vulnerability-alert-CVE-2025-32462-sudo-host
- https://www.openwall.com/lists/oss-security/2025/06/30/2
- https://ubuntu.com/security/notices/USN-7604-1
- https://www.secpod.com/blog/sudo-lpe-vulnerabilities-resolved-what-you-need-to-know-about-cve-2025-32462-and-cve-2025-32463/
- https://www.sudo.ws/security/advisories/host_any/
- https://lists.debian.org/debian-security-announce/2025/msg00118.html
- https://explore.alas.aws.amazon.com/CVE-2025-32462.html
- https://bugs.gentoo.org/show_bug.cgi?id=CVE-2025-32462
- https://security-tracker.debian.org/tracker/CVE-2025-32462
- https://www.suse.com/security/cve/CVE-2025-32462.html
- https://access.redhat.com/security/cve/cve-2025-32462