{"id":"UBUNTU-CVE-2025-32462","details":"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.","modified":"2026-02-04T04:17:33.713354Z","published":"2025-06-30T16:00:00Z","related":["USN-7604-1","USN-7604-2"],"upstream":["CVE-2025-32462"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-32462"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-32462"},{"type":"REPORT","url":"https://www.sudo.ws/security/advisories/host_any/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7604-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7604-2"}],"affected":[{"package":{"name":"sudo","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/sudo@1.8.9p5-1ubuntu1.5+esm8?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.9p5-1ubuntu1.5+esm8"}]}],"versions":["1.8.6p3-0ubuntu3","1.8.8-2ubuntu1","1.8.8-2ubuntu2","1.8.9p4-1ubuntu1","1.8.9p4-1ubuntu2","1.8.9p5-1ubuntu1","1.8.9p5-1ubuntu1.1","1.8.9p5-1ubuntu1.2","1.8.9p5-1ubuntu1.3","1.8.9p5-1ubuntu1.4","1.8.9p5-1ubuntu1.5+esm1","1.8.9p5-1ubuntu1.5+esm2","1.8.9p5-1ubuntu1.5+esm3","1.8.9p5-1ubuntu1.5+esm5","1.8.9p5-1ubuntu1.5+esm6","1.8.9p5-1ubuntu1.5+esm7"],"ecosystem_specific":{"priority_reason":"Allows local privilege escalation","availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"sudo","binary_version":"1.8.9p5-1ubuntu1.5+esm8"},{"binary_name":"sudo-ldap","binary_version":"1.8.9p5-1ubuntu1.5+esm8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-32462.json"}},{"package":{"name":"sudo","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/sudo@1.8.16-0ubuntu1.10+esm3?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.16-0ubuntu1.10+esm3"}]}],"versions":["1.8.12-1ubuntu3","1.8.16-0ubuntu1","1.8.16-0ubuntu1.1","1.8.16-0ubuntu1.2","1.8.16-0ubuntu1.3","1.8.16-0ubuntu1.4","1.8.16-0ubuntu1.5","1.8.16-0ubuntu1.6","1.8.16-0ubuntu1.7","1.8.16-0ubuntu1.8","1.8.16-0ubuntu1.9","1.8.16-0ubuntu1.10","1.8.16-0ubuntu1.10+esm1","1.8.16-0ubuntu1.10+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"sudo","binary_version":"1.8.16-0ubuntu1.10+esm3"},{"binary_name":"sudo-ldap","binary_version":"1.8.16-0ubuntu1.10+esm3"}],"priority_reason":"Allows local privilege escalation"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-32462.json"}},{"package":{"name":"sudo","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/sudo@1.8.21p2-3ubuntu1.6+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.21p2-3ubuntu1.6+esm1"}]}],"versions":["1.8.20p2-1ubuntu1","1.8.21p2-2ubuntu1","1.8.21p2-3ubuntu1","1.8.21p2-3ubuntu1.1","1.8.21p2-3ubuntu1.2","1.8.21p2-3ubuntu1.3","1.8.21p2-3ubuntu1.4","1.8.21p2-3ubuntu1.5","1.8.21p2-3ubuntu1.6"],"ecosystem_specific":{"priority_reason":"Allows local privilege escalation","availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"sudo","binary_version":"1.8.21p2-3ubuntu1.6+esm1"},{"binary_name":"sudo-ldap","binary_version":"1.8.21p2-3ubuntu1.6+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-32462.json"}},{"package":{"name":"sudo","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/sudo@1.8.31-1ubuntu1.5+esm1?arch=source&distro=esm-infra/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.31-1ubuntu1.5+esm1"}]}],"versions":["1.8.27-1ubuntu4","1.8.29-1ubuntu1","1.8.31-1ubuntu1","1.8.31-1ubuntu1.1","1.8.31-1ubuntu1.2","1.8.31-1ubuntu1.4","1.8.31-1ubuntu1.5"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"sudo","binary_version":"1.8.31-1ubuntu1.5+esm1"},{"binary_name":"sudo-ldap","binary_version":"1.8.31-1ubuntu1.5+esm1"}],"priority_reason":"Allows local privilege escalation"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-32462.json"}},{"package":{"name":"sudo","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/sudo@1.9.9-1ubuntu2.5?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.9-1ubuntu2.5"}]}],"versions":["1.9.5p2-3ubuntu2","1.9.9-1ubuntu2","1.9.9-1ubuntu2.1","1.9.9-1ubuntu2.2","1.9.9-1ubuntu2.3","1.9.9-1ubuntu2.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"sudo","binary_version":"1.9.9-1ubuntu2.5"},{"binary_name":"sudo-ldap","binary_version":"1.9.9-1ubuntu2.5"}],"priority_reason":"Allows local privilege escalation"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-32462.json"}},{"package":{"name":"sudo","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/sudo@1.9.15p5-3ubuntu5.24.04.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.15p5-3ubuntu5.24.04.1"}]}],"versions":["1.9.14p2-1ubuntu1","1.9.15p5-3ubuntu1","1.9.15p5-3ubuntu3","1.9.15p5-3ubuntu4","1.9.15p5-3ubuntu5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libnss-sudo","binary_version":"1.9.15p5-3ubuntu5.24.04.1"},{"binary_name":"sudo","binary_version":"1.9.15p5-3ubuntu5.24.04.1"},{"binary_name":"sudo-ldap","binary_version":"1.9.15p5-3ubuntu5.24.04.1"}],"priority_reason":"Allows local privilege escalation"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-32462.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"high"}]}