Skip to content
OpenAdvisories
Low · 2.8 Public exploit CVE-2025-32462 EUVD-2025-20867GHSA-c5x2-97hm-x895

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 …

Published Jun 30, 2025 · Updated Jul 14, 2026 · Assigned by mitre

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

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

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Azure Linux 3 sudo 1.9.17-1 —
Azure Linux 2 (CBL-Mariner) sudo 1.9.17-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 11 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 41

References