CVEfocus › CVE database › CVE-2025-32462

CVE-2025-32462

CVSS 2.8 LowEPSS 4.4% (higher than 92% of CVEs)Published 2025-06-30Updated 2026-07-14Assigner: mitre

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.

CWE-863

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

22Fixed
4Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04sudoFixed1.9.15p5-3ubuntu5.24.04.1UBUNTU-CVE-2025-32462
Ubuntu 22.04sudoFixed1.9.9-1ubuntu2.5UBUNTU-CVE-2025-32462
Ubuntu 20.04sudoFix pending1.8.31-1ubuntu1.5+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-32462
Ubuntu 18.04sudoFix pending1.8.21p2-3ubuntu1.6+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-32462
Ubuntu 16.04sudoFix pending1.8.16-0ubuntu1.10+esm3 (Ubuntu Pro)UBUNTU-CVE-2025-32462
Ubuntu 14.04sudoFix pending1.8.9p5-1ubuntu1.5+esm8 (Ubuntu Pro)UBUNTU-CVE-2025-32462
Debian 14sudoFixed1.9.16p2-3DEBIAN-CVE-2025-32462
Debian 13sudoFixed1.9.16p2-3DEBIAN-CVE-2025-32462
Debian 12sudoFixed1.9.13p3-1+deb12u2DEBIAN-CVE-2025-32462
Red Hat Enterprise Linux 10sudoFixed0:1.9.15-8.p5.el10_0.2RHSA-2025:11537
Red Hat Enterprise Linux 10sudo-python-pluginFixed0:1.9.15-8.p5.el10_0.2RHSA-2025:11537
Red Hat Enterprise Linux 9sudoFixed0:1.9.5p2-10.el9_6.1RHSA-2025:9978
Red Hat Enterprise Linux 9sudo-python-pluginFixed0:1.9.5p2-10.el9_6.1RHSA-2025:9978
Red Hat Enterprise Linux 8sudoFixed0:1.9.5p2-1.el8_10.1RHSA-2025:10110
Red Hat Enterprise Linux 6sudoNot affected
Red Hat Enterprise Linux 6sudo-develNot affected
AlmaLinux 10sudoFixed1.9.15-8.p5.el10_0.2ALSA-2025:11537
AlmaLinux 10sudo-python-pluginFixed1.9.15-8.p5.el10_0.2ALSA-2025:11537
AlmaLinux 9sudoFixed1.9.5p2-10.el9_6.1ALSA-2025:9978
AlmaLinux 9sudo-python-pluginFixed1.9.5p2-10.el9_6.1ALSA-2025:9978
AlmaLinux 8sudoFixed1.9.5p2-1.el8_10.1ALSA-2025:10110
Rocky Linux 10sudoFixed0:1.9.15-8.p5.el10_0.2RLSA-2025:11537
Rocky Linux 9sudoFixed0:1.9.5p2-10.el9_6.1RLSA-2025:9978
Rocky Linux 8sudoFixed0:1.9.5p2-1.el8_10.1RLSA-2025:10110
Alpine Linux 3.24sudoFixed1.9.17_p1-r0ALPINE-CVE-2025-32462
Alpine Linux 3.23sudoFixed1.9.17_p1-r0ALPINE-CVE-2025-32462
Alpine Linux 3.22sudoFixed1.9.17_p1-r0ALPINE-CVE-2025-32462
Alpine Linux 3.21sudoFixed1.9.17_p1-r0ALPINE-CVE-2025-32462

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.