VYPR

Vendor CVEs

Sudo Project

All CVEs

50 total · sorted by risk
  • CVE-2025-32463CriKEVJun 30, 2025
    risk 0.72cvss 9.3epss 0.56

    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.

  • CVE-2021-3156HigKEVJan 26, 2021
    risk 0.67cvss 7.8epss 0.99

    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.

  • CVE-2019-14287HigOct 17, 2019
    risk 0.65cvss 8.8epss 0.64

    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=…

  • CVE-2023-22809HigJan 18, 2023
    risk 0.58cvss 7.8epss 0.55

    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…

  • CVE-2005-1831HigMay 31, 2005
    risk 0.55cvss 8.4epss 0.00

    Sudo 1.6.8p7 on SuSE Linux 9.3, and possibly other Linux distributions, allows local users to gain privileges by using sudo to call su, then entering a blank password and hitting CTRL-C. NOTE: SuSE and multiple third-party researchers have not been able to replicate this issue,…

  • CVE-2017-1000368HigJun 5, 2017
    risk 0.53cvss 8.2epss 0.01

    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.

  • CVE-2021-23240HigJan 12, 2021
    risk 0.51cvss 7.8epss 0.01

    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…

  • CVE-2009-0034HigJan 30, 2009
    risk 0.51cvss 7.8epss 0.00

    parse.c in sudo 1.6.9p17 through 1.6.9p19 does not properly interpret a system group (aka %group) in the sudoers file during authorization decisions for a user who belongs to that group, which allows local users to leverage an applicable sudoers file and gain root privileges via…

  • CVE-2019-19234HigDec 19, 2019
    risk 0.49cvss 7.5epss 0.03

    In Sudo through 1.8.29, the fact that a user has been blocked (e.g., by using the ! character in the shadow file instead of a password hash) is not considered, allowing an attacker (who has access to a Runas ALL sudoer account) to impersonate any blocked user. NOTE: The software…

  • CVE-2019-19232HigDec 19, 2019
    risk 0.49cvss 7.5epss 0.03

    In Sudo through 1.8.29, an attacker with access to a Runas ALL sudoer account can impersonate a nonexistent user by invoking sudo with a numeric uid that is not associated with any user. NOTE: The software maintainer believes that this is not a vulnerability because running a…

  • CVE-2019-18634HigJan 29, 2020
    risk 0.48cvss 7.8epss 0.19

    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,…

  • CVE-2023-27320HigFeb 28, 2023
    risk 0.47cvss 7.2epss 0.02

    Sudo before 1.9.13p2 has a double free in the per-command chroot feature.

  • CVE-2002-0184HigMay 16, 2002
    risk 0.47cvss 7.8epss 0.01

    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 expanded.

  • CVE-2019-18684HigNov 4, 2019
    risk 0.46cvss 7.0epss 0.00

    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. This occurs because of a race condition between determining a uid, and the setresuid and openat system calls. The attacker can write "ALL ALL=(ALL)…

  • CVE-2015-8239HigOct 10, 2017
    risk 0.46cvss 7.0epss 0.01

    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.

  • CVE-2016-7032HigApr 14, 2017
    risk 0.46cvss 7.0epss 0.00

    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.

  • CVE-2017-1000367MedJun 5, 2017
    risk 0.45cvss 6.4epss 0.08

    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.

  • CVE-2005-4890HigNov 4, 2019
    risk 0.44cvss 7.8epss 0.01

    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". The user session can be escaped to the parent session by using the TIOCSTI ioctl to push characters into the input buffer to be read by the next process.

  • CVE-2023-7090MedDec 23, 2023
    risk 0.43cvss 6.6epss 0.01

    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-2016-7076MedMay 29, 2018
    risk 0.42cvss 6.4epss 0.00

    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…

  • CVE-2026-35535HigApr 3, 2026
    risk 0.41cvss 7.4epss 0.00

    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.

  • CVE-2016-7091MedDec 22, 2016
    risk 0.29cvss 4.4epss 0.00

    sudo: It was discovered that the default sudo configuration on Red Hat Enterprise Linux and possibly other Linux implementations preserves the value of INPUTRC which could lead to information disclosure. A local user with sudo access to a restricted program that uses readline…

  • CVE-2014-9680LowApr 24, 2017
    risk 0.21cvss 3.3epss 0.00

    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…

  • CVE-2021-23239LowJan 12, 2021
    risk 0.16cvss 2.5epss 0.01

    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.

  • CVE-2025-32462LowJun 30, 2025
    risk 0.14cvss 2.8epss 0.04

    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.

  • CVE-2015-5602Nov 17, 2015
    risk 0.03cvss epss 0.01

    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."

  • CVE-2013-1775Mar 5, 2013
    risk 0.03cvss epss 0.03

    sudo 1.6.0 through 1.7.10p6 and sudo 1.8.0 through 1.8.6p6 allows local users or physically proximate attackers to bypass intended time restrictions and retain privileges without re-authenticating by setting the system clock and sudo user timestamp to the epoch.

  • CVE-2012-0809Feb 1, 2012
    risk 0.03cvss epss 0.03

    Format string vulnerability in the sudo_debug function in Sudo 1.8.0 through 1.8.3p1 allows local users to execute arbitrary code via format string sequences in the program name for sudo.

  • CVE-2005-4158Dec 11, 2005
    risk 0.03cvss epss 0.01

    Sudo before 1.6.8 p12, when the Perl taint flag is off, does not clear the (1) PERLLIB, (2) PERL5LIB, and (3) PERL5OPT environment variables, which allows limited local users to cause a Perl script to include and execute arbitrary library files that have the same name as library…

  • CVE-2004-1689Sep 16, 2004
    risk 0.03cvss epss 0.01

    sudoedit (aka sudo -e) in sudo 1.6.8 opens a temporary file with root privileges, which allows local users to read arbitrary files via a symlink attack on the temporary file before quitting sudoedit.

  • CVE-2023-42465HigDec 22, 2023
    risk 0.00cvss 7.0epss 0.01

    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 because the values do not resist flips of a single bit.

  • CVE-2023-28487MedMar 16, 2023
    risk 0.00cvss 5.3epss 0.01

    Sudo before 1.9.13 does not escape control characters in sudoreplay output.

  • CVE-2023-28486MedMar 16, 2023
    risk 0.00cvss 5.3epss 0.01

    Sudo before 1.9.13 does not escape control characters in log messages.

  • CVE-2022-43995HigNov 2, 2022
    risk 0.00cvss 7.1epss 0.00

    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. This can be triggered by arbitrary local users with access to Sudo by entering a password of seven…

  • CVE-2014-0106Mar 11, 2014
    risk 0.00cvss epss 0.00

    Sudo 1.6.9 before 1.8.5, when env_reset is disabled, does not properly check environment variables for the env_delete restriction, which allows local users with sudo permissions to bypass intended command restrictions via a crafted environment variable.

  • CVE-2013-2777Apr 8, 2013
    risk 0.00cvss epss 0.00

    sudo before 1.7.10p5 and 1.8.x before 1.8.6p6, when the tty_tickets option is enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another terminal via vectors related to a session…

  • CVE-2013-2776Apr 8, 2013
    risk 0.00cvss epss 0.00

    sudo 1.3.5 through 1.7.10p5 and 1.8.0 through 1.8.6p6, when running on systems without /proc or the sysctl function with the tty_tickets option enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the…

  • CVE-2013-1776Apr 8, 2013
    risk 0.00cvss epss 0.00

    sudo 1.3.5 through 1.7.10 and 1.8.0 through 1.8.5, when the tty_tickets option is enabled, does not properly validate the controlling terminal device, which allows local users with sudo permissions to hijack the authorization of another terminal via vectors related to connecting…

  • CVE-2012-2337May 18, 2012
    risk 0.00cvss epss 0.00

    sudo 1.6.x and 1.7.x before 1.7.9p1, and 1.8.x before 1.8.4p5, does not properly support configurations that use a netmask syntax, which allows local users to bypass intended command restrictions in opportunistic circumstances by executing a command on a host that has an IPv4…

  • CVE-2011-0010Jan 18, 2011
    risk 0.00cvss epss 0.01

    check.c in sudo 1.7.x before 1.7.4p5, when a Runas group is configured, does not require a password for command execution that involves a gid change but no uid change, which allows local users to bypass an intended authentication requirement via the -g option to a sudo command.

  • CVE-2010-2956Sep 10, 2010
    risk 0.00cvss epss 0.00

    Sudo 1.7.0 through 1.7.4p3, when a Runas group is configured, does not properly handle use of the -u option in conjunction with the -g option, which allows local users to gain privileges via a command line containing a "-u root" sequence.

  • CVE-2010-1646Jun 7, 2010
    risk 0.00cvss epss 0.00

    The secure path feature in env.c in sudo 1.3.1 through 1.6.9p22 and 1.7.0 through 1.7.2p6 does not properly handle an environment that contains multiple PATH variables, which might allow local users to gain privileges via a crafted value of the last PATH variable.

  • CVE-2010-1163Apr 16, 2010
    risk 0.00cvss epss 0.00

    The command matching functionality in sudo 1.6.8 through 1.7.2p5 does not properly handle when a file in the current working directory has the same name as a pseudo-command in the sudoers file and the PATH contains an entry for ".", which allows local users to execute arbitrary…

  • CVE-2010-0427Feb 25, 2010
    risk 0.00cvss epss 0.00

    sudo 1.6.x before 1.6.9p21, when the runas_default option is used, does not properly set group memberships, which allows local users to gain privileges via a sudo command.

  • CVE-2010-0426Feb 24, 2010
    risk 0.00cvss epss 0.01

    sudo 1.6.x before 1.6.9p21 and 1.7.x before 1.7.2p4, when a pseudo-command is enabled, permits a match between the name of the pseudo-command and the name of an executable file in an arbitrary directory, which allows local users to gain privileges via a crafted executable file,…

  • CVE-2007-3149Jun 11, 2007
    risk 0.00cvss epss 0.00

    sudo, when linked with MIT Kerberos 5 (krb5), does not properly check whether a user can currently authenticate to Kerberos, which allows local users to gain privileges, in a manner unintended by the sudo security model, via certain KRB5_ environment variable settings. NOTE:…

  • CVE-2005-2959Oct 25, 2005
    risk 0.00cvss epss 0.01

    Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

  • CVE-2005-1119May 2, 2005
    risk 0.00cvss epss 0.00

    Sudo VISudo 1.6.8 and earlier allows local users to corrupt arbitrary files via a symlink attack on temporary files.

  • CVE-2004-1051Mar 1, 2005
    risk 0.00cvss epss 0.01

    sudo before 1.6.8p2 allows local users to execute arbitrary commands by using "()" style environment variables to create functions that have the same name as any program within the bash script that is called without using the program's full pathname.

  • CVE-1999-1496Jun 8, 1999
    risk 0.00cvss epss 0.01

    Sudo 1.5 in Debian Linux 2.1 and Red Hat 6.0 allows local users to determine the existence of arbitrary files by attempting to execute the target filename as a program, which generates a different error message when the file does not exist.