A flaw was found in sudo. When sudoers rules use NOTBEFORE or NOTAFTER time-based access restrictions with timestamps that omit the trailing 'Z' timezone indicator, the time evaluation relies on the TZ environment variable inherited from the calling user. Because sudo is a setuid...
Product
ubuntu/sudo vulnerabilities
23 published CVES affecting ubuntu/sudo, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 23
- Critical
- 0
- High
- 17
- Medium
- 4
- Low
- 2
- Unscored
- 0
- CISA KEV
- 2
Latest ubuntu/sudo CVEs
Newest publication first
-
HighCVSS 7.8 EPSS 0.32%
-
HighCVSS 8.5 EPSS 0.19%
Sudo through 1.9.17p2 fails to apply intercept policy checks to the execveat system call in ptrace-based intercept mode. Users permitted to run specific commands can execute denied programs by calling execveat directly or through fexecve, bypassing policy enforcement and logging.
-
HighCVSS 7.8 EPSS 0.18%
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.
-
HighCVSS 8.8 EPSS 4.5% Public exploit PoC
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.
-
HighCVSS 7.8 EPSS 56.3% CISA KEV added 2025-09-29 Exploited in the wild Framework module Public exploit PoC
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.
-
HighCVSS 8.8 EPSS 0.69%
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. Therefore, it leads to privilege mismanagement vulnerability in applications, where client hosts retain privileges even after retracting them.
-
CVE-2023-28487 Sudo before 1.9.13 does not escape control characters in sudoreplay output.
PublishedMediumCVSS 5.3 EPSS 0.95%Sudo before 1.9.13 does not escape control characters in sudoreplay output.
-
MediumCVSS 5.3 EPSS 0.92%
Sudo before 1.9.13 does not escape control characters in log messages.
-
HighCVSS 7.2 EPSS 1.7%
Sudo before 1.9.13p2 has a double free in the per-command chroot feature.
-
HighCVSS 7.8 EPSS 55.4% Framework module Public exploit
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 to the list of files to process. This can lead to privilege...
-
MediumCVSS 5.5 EPSS 1.1%
Protobuf-c v1.4.0 was discovered to contain an invalid arithmetic shift via the function parse_tag_and_wiretype in protobuf-c/protobuf-c.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via unspecified vectors.
-
HighCVSS 7.8 EPSS 100.0% CISA KEV added 2022-04-06 Exploited in the wild Framework module Public exploit PoC
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 character.
-
HighCVSS 7.8 EPSS 1.1%
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. This affects SELinux RBAC support in permissive mode. Machines witho...
-
LowCVSS 2.5 EPSS 1.0%
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 symlink to an arbitrary path.
-
HighCVSS 7.8 EPSS 19.3% Public exploit PoC
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. (pwfeedback is a default setting in Linux Mint and elementary OS; however, it is NOT the default for upstream and many other packages,...
-
HighCVSS 8.8 EPSS 63.8% Public exploit PoC
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. For example, this allows bypass of !root configuration, and USER= l...
-
HighCVSS 7.8 EPSS 0.47%
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. A local user permitted to run such application via sudo with noexec restriction could possibly us...
-
HighCVSS 7.0 EPSS 0.54%
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.
-
HighCVSS 8.2 EPSS 0.57%
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.
-
MediumCVSS 6.4 EPSS 8.1% Public exploit
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.
-
LowCVSS 3.3 EPSS 0.47%
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 within an sudo session, as demonstrated by interfering with t...
-
HighCVSS 7.0 EPSS 0.34%
sudo_noexec.so in Sudo before 1.8.15 on Linux might allow local users to bypass intended noexec command restrictions via an application that calls the (1) system or (2) popen function.
-
HighCVSS 7.2 EPSS 1.5% Public exploit
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."
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.