Priority LOW 35
In Sudo through 1.9.17p2 before 3e474c2, a failure of a setuid, setgid, or setgroups call, during a privilege drop before running the mailer, is not a fatal error and can lead to privilege escalation.
CVSS 3.1HIGH 7.8· Local · Low privileges · No interaction · EPSS 0.00177 · Published 2026-04-03 · Fixed CWE-271
Priority CRITICAL 99KEV
Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf from a user-controlled directory is used with the --chroot option.
CVSS 3.1CRITICAL 9.3· Local · No auth · No interaction · EPSS 0.563 · Published 2025-06-30 · Fixed in 1.9.17p1 CWE-829
Priority MEDIUM 45
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.
CVSS 3.1HIGH 8.8· Local · Low privileges · No interaction · EPSS 0.04477 · Published 2025-06-30 · Fixed in 1.9.17p1 CWE-863
Priority LOW 39
A flaw was found in sudo in the handling of ipa_hostname, where ipa_hostname from /etc/sssd/sssd.conf was not propagated in sudo.
CVSS 3.1HIGH 8.8· Network · Low privileges · No interaction · EPSS 0.00687 · Published 2023-12-23 · Fixed in 1.8.28 CWE-269
Priority LOW 32
Sudo before 1.9.15 might allow row hammer attacks (for authentication bypass or privilege escalation) because application logic sometimes is based on not equaling an error value (instead of equaling a success value), and…
CVSS 3.1HIGH 7.0· Local · Low privileges · No interaction · EPSS 0.00545 · Published 2023-12-22 · Partial fix
Priority LOW 26
Sudo before 1.9.13 does not escape control characters in sudoreplay output.
CVSS 3.1MEDIUM 5.3· Network · No auth · No interaction · EPSS 0.00953 · Published 2023-03-16 · Partial fix CWE-116
Priority LOW 26
Sudo before 1.9.13 does not escape control characters in log messages.
CVSS 3.1MEDIUM 5.3· Network · No auth · No interaction · EPSS 0.00915 · Published 2023-03-16 · Partial fix CWE-116
Priority LOW 35
Sudo before 1.9.13p2 has a double free in the per-command chroot feature.
CVSS 3.1HIGH 7.2· Network · High privileges · No interaction · EPSS 0.01664 · Published 2023-02-28 · No fix listed CWE-415
Priority HIGH 69
In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR), allowing a local attacker to append arbitrary entries…
CVSS 3.1HIGH 7.8· Local · Low privileges · No interaction · EPSS 0.55367 · Published 2023-01-18 · Fixed CWE-269
Priority LOW 33
Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth/passwd.c array-out-of-bounds error that can result in a heap-based buffer over-read.
CVSS 3.1HIGH 7.1· Local · Low privileges · No interaction · EPSS 0.00298 · Published 2022-11-02 · No fix listed CWE-125
Priority CRITICAL 93KEV
Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root via "sudoedit -s" and a command-line argument that ends with a single backslash…
CVSS 3.1HIGH 7.8· Local · Low privileges · No interaction · EPSS 0.99962 · Published 2021-01-26 · Fixed CWE-193
Priority LOW 36
selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 allows a local unprivileged user to gain file ownership and escalate privileges by replacing a temporary file with a symlink to an arbitrary file target.
CVSS 3.1HIGH 7.8· Local · Low privileges · No interaction · EPSS 0.01079 · Published 2021-01-12 · Partial fix CWE-59
Priority LOW 15
The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudo_edit.c race condition in replacing a user-controlled directory by a symli…
CVSS 3.1LOW 2.5· Local · Low privileges · No interaction · EPSS 0.01042 · Published 2021-01-12 · Partial fix CWE-59
Priority MEDIUM 52
In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a stack-based buffer overflow in the privileged sudo process.
CVSS 3.1HIGH 7.8· Local · Low privileges · No interaction · EPSS 0.19276 · Published 2020-01-29 · Fixed CWE-787
Priority LOW 35
There is a possible tty hijacking in shadow 4.x before 4.1.5 and sudo 1.x before 1.7.4 via "su - user -c program".
CVSS 3.1HIGH 7.8· Local · Low privileges · No interaction · EPSS 0.0063 · Published 2019-11-04 · Partial fix · 4.1.5, 1.7.4 CWE-20
Priority LOW 31
Sudo through 1.8.29 allows local users to escalate to root if they have write access to file descriptor 3 of the sudo process.
CVSS 3.1HIGH 7.0· Local · Low privileges · No interaction · EPSS 0.00294 · Published 2019-11-04 · No fix listed CWE-362
Priority HIGH 74
In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, and can cause incorrect logging, by invoking sudo with a crafted user ID.
CVSS 3.1HIGH 8.8· Network · Low privileges · No interaction · EPSS 0.63764 · Published 2019-10-17 · Fixed CWE-755
Priority LOW 34
sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C library function with a user supplied argument.
CVSS 3.0HIGH 7.8· Local · Low privileges · No interaction · EPSS 0.00467 · Published 2018-05-29 · Partial fix CWE-184
Priority LOW 32
The SHA-2 digest support in the sudoers plugin in sudo after 1.8.7 allows local users with write permissions to parts of the called command to replace them before it is executed.
CVSS 3.0HIGH 7.0· Local · Low privileges · No interaction · EPSS 0.00542 · Published 2017-10-10 · Will not fix CWE-362
Priority LOW 36
Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded newlines) in the get_process_ttyname() function resulting in information disclosure and command execution.
CVSS 3.0HIGH 8.2· Local · High privileges · No interaction · EPSS 0.00573 · Published 2017-06-05 · Fixed CWE-20
Priority LOW 39
Todd Miller's sudo version 1.8.20 and earlier is vulnerable to an input validation (embedded spaces) in the get_process_ttyname() function resulting in information disclosure and command execution.
CVSS 3.0MEDIUM 6.4· Local · High privileges · No interaction · EPSS 0.08068 · Published 2017-06-05 · Fixed CWE-362
Priority LOW 17
sudo before 1.8.12 does not ensure that the TZ environment variable is associated with a zoneinfo file, which allows local users to open arbitrary files for read access (but not view file contents) by running a program w…
CVSS 3.0LOW 3.3· Local · Low privileges · No interaction · EPSS 0.00474 · Published 2017-04-24 · Partial fix CWE-200
Priority LOW 35
sudoedit in Sudo before 1.8.15 allows local users to gain privileges via a symlink attack on a file whose full path is defined using multiple wildcards in /etc/sudoers, as demonstrated by "/home/*/*/file.txt."
CVSS 2.0HIGH 7.2· Local · No auth · Interaction — · EPSS 0.01516 · Published 2015-11-17 · Will not fix CWE-264
Priority LOW 36
Sudo before 1.6.6 contains an off-by-one error that can result in a heap-based buffer overflow that may allow local users to gain root privileges via special characters in the -p (prompt) argument, which are not properly…
CVSS 3.1HIGH 7.8· Local · Low privileges · No interaction · EPSS 0.01199 · Published 2003-04-02 · Fixed CWE-131