Ubuntu update for sudo



| Updated: 2025-07-03
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2025-32462
CWE-ID CWE-693
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

sudo (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Protection mechanism failure

EUVDB-ID: #VU112067

Risk: Low

CVSSv4.0: 6.4 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear]

CVE-ID: CVE-2025-32462

CWE-ID: CWE-693 - Protection Mechanism Failure

Exploit availability: Yes

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to insufficient implementation of security measures when running sudo with -h (--host) option. If the current configuration provides access to users based on the host they are allowed to execute commands, a local user can bypass such a restriction by providing the hostname via the "-h" option they are allowed to execute commands. The vulnerability affects systems that use a common sudoers file that is distributed to multiple machines or when LDAP-based sudoers (including SSSD) is used. 

Mitigation

Update the affected package sudo to the latest version.

Vulnerable software versions

Ubuntu: 14.04 - 20.04

sudo (Ubuntu package): before 1.8.9p5-1ubuntu1.5+esm8

CPE2.3 External links

https://ubuntu.com/security/notices/USN-7604-2


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###