CVE-2025-32462
Sudo Privilege Escalation
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.
INFO
Published Date :
June 30, 2025, 9:15 p.m.
Last Modified :
July 19, 2025, 3:15 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
6.0
Exploitability Score :
2.0
Public PoC/Exploit Available at Github
CVE-2025-32462 has a 20 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-32462
.
URL | Resource |
---|---|
https://www.openwall.com/lists/oss-security/2025/06/30/2 | Mailing List Third Party Advisory |
https://www.secpod.com/blog/sudo-lpe-vulnerabilities-resolved-what-you-need-to-know-about-cve-2025-32462-and-cve-2025-32463/ | Third Party Advisory |
https://www.stratascale.com/vulnerability-alert-CVE-2025-32462-sudo-host | Exploit Third Party Advisory |
https://www.sudo.ws/releases/changelog/ | Release Notes |
https://www.sudo.ws/security/advisories/ | Vendor Advisory |
https://www.sudo.ws/security/advisories/host_any/ |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
A deep dive into two critical Sudo vulnerabilities (CVE‑2025‑32463 & CVE‑2025‑32462) that enable local privilege escalation across major Linux distributions.
cve cybersecurity linux privilege-escalation sudo
None
Makefile C++ Shell
Local Privilege Escalation to Root via Sudo chroot in Linux
Shell
Local Privilege Escalation to Root via Sudo chroot in Linux
None
Critical Sudo Vulnerabilities Let Local Users Gain Root Access on Linux, Impacting Major Distros
Shell
Docker PoC for CVE-2025-32462 & CVE-2025-32463 (sudo), based on Stratascale CRU research.
chroot cve-2025 cve-2025-32463 cybersecurity dockerfile linux poc privilege-escalation proof-of-concept cve-2025-32462 sudo sudoers
Shell Dockerfile
Linux distributions: Affects Ubuntu, Debian, Fedora, CentOS, SUSE, Amazon Linux, and others shipping sudo v1.9.14–1.9.17
Shell
cve-2025-32462' demo
Dockerfile Shell
🔓 Local privilege escalation PoC for CVE-2025-32462 (sudo -h bypass) – gain root via misconfigured sudoers
Shell
This repository ships an Ansible playbook that detects vulnerable versions and—only after you confirm—upgrades sudo to a safe release.
CVE-2025-32462 exploit code
C
CVE-2025-32462 Exploit
Shell
Exploit for CVE-2025-32462
A easy sudo poc by cryingn.
Dockerfile Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-32462
vulnerability anywhere in the article.

-
Help Net Security
Week in review: Sudo local privilege escalation flaws fixed, Google patches actively exploited Chrome
Here’s an overview of some of last week’s most interesting news, articles, interviews and videos: Sudo local privilege escalation vulnerabilities fixed (CVE-2025-32462, CVE-2025-32463) If you haven’t ... Read more

-
The Hacker News
Critical Sudo Vulnerabilities Let Local Users Gain Root Access on Linux, Impacting Major Distros
Cybersecurity researchers have disclosed two security flaws in the Sudo command-line utility for Linux and Unix-like operating systems that could enable local attackers to escalate their privileges to ... Read more

-
Cyber Security News
12-Year-Old Sudo Linux Vulnerability Enables Privilege Escalation to Root User
A significant security vulnerability discovered in the widely used Sudo utility has remained hidden for over 12 years, potentially exposing millions of Linux and Unix systems to privilege escalation a ... Read more

-
Help Net Security
Sudo local privilege escalation vulnerabilities fixed (CVE-2025-32462, CVE-2025-32463)
If you haven’t recently updated the Sudo utility on your Linux box(es), you should do so now, to patch two local privilege escalation vulnerabilities (CVE-2025-32462, CVE-2025-32463) that have been di ... Read more

-
Daily CyberSecurity
Critical Sudo Flaw (CVE-2025-32463, CVSS 9.3): Root Privilege Escalation & Host Bypass, PoC Available
In the world of Linux privilege management, Sudo reigns supreme. It’s the gatekeeper, the doorman, the bouncer of root-level access. But what happens when the bouncer hands over the keys to anyone who ... Read more
The following table lists the changes that have been made to the
CVE-2025-32462
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jul. 19, 2025
Action Type Old Value New Value Added Reference https://www.sudo.ws/security/advisories/host_any/ -
Initial Analysis by [email protected]
Jul. 17, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:* versions up to (excluding) 1.9.17 *cpe:2.3:a:sudo_project:sudo:1.9.17:-:*:*:*:*:*:* Added Reference Type MITRE: https://www.openwall.com/lists/oss-security/2025/06/30/2 Types: Mailing List, Third Party Advisory Added Reference Type MITRE: https://www.secpod.com/blog/sudo-lpe-vulnerabilities-resolved-what-you-need-to-know-about-cve-2025-32462-and-cve-2025-32463/ Types: Third Party Advisory Added Reference Type MITRE: https://www.stratascale.com/vulnerability-alert-CVE-2025-32462-sudo-host Types: Exploit, Third Party Advisory Added Reference Type MITRE: https://www.sudo.ws/releases/changelog/ Types: Release Notes Added Reference Type MITRE: https://www.sudo.ws/security/advisories/ Types: Vendor Advisory -
CVE Modified by [email protected]
Jul. 09, 2025
Action Type Old Value New Value Added Reference https://www.secpod.com/blog/sudo-lpe-vulnerabilities-resolved-what-you-need-to-know-about-cve-2025-32462-and-cve-2025-32463/ -
New CVE Received by [email protected]
Jun. 30, 2025
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N Added CWE CWE-863 Added Reference https://www.openwall.com/lists/oss-security/2025/06/30/2 Added Reference https://www.stratascale.com/vulnerability-alert-CVE-2025-32462-sudo-host Added Reference https://www.sudo.ws/releases/changelog/ Added Reference https://www.sudo.ws/security/advisories/
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-32462
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-32462
weaknesses.