Sudo Project vulnerabilities
24 vulnerabilities
Known vulnerabilities in Sudo Project products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 1 product.
Products
1- Sudo24 vulnerabilities
RoutineCVE-2026-35535sudo_project · sudo +30 moresudo_project sudoIn 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.CVSS7.8HighEPSS0.19%Act nowCVE-2025-32463Sudo +13 moreSudo Inclusion of Functionality from Untrusted Control Sphere VulnerabilitySudo 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.CVSS9.3CriticalKEVEPSS53.81%RoutineCVE-2025-32462sudo_project · sudo +32 moresudo_project sudoSudo 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.CVSS8.8HighEPSS4.75%RoutineCVE-2023-7090sudo_project · sudo +2 moreSudo: improper handling of ipa_hostname leads to privilege mismanagementA 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.CVSS8.8HighEPSS0.69%PrioritiseCVE-2023-42465sudo_project · sudo +26 moresudo_project sudoSudo 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.CVSS7.0HighEPSS0.57%RoutineCVE-2023-28487netapp · active_iq_unified_manager +3 morenetapp active_iq_unified_managerSudo before 1.9.13 does not escape control characters in sudoreplay output.CVSS5.3MediumEPSS0.96%RoutineCVE-2023-28486netapp · active_iq_unified_manager +3 morenetapp active_iq_unified_managerSudo before 1.9.13 does not escape control characters in log messages.CVSS5.3MediumEPSS0.92%PrioritiseCVE-2023-27320fedoraproject · fedora +5 morefedoraproject fedoraSudo before 1.9.13p2 has a double free in the per-command chroot feature.CVSS7.2HighEPSS1.66%PrioritiseCVE-2023-22809apple · macos +46 moreapple macosIn 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 escalation. Affected versions are 1.8.0 through 1.9.12.p1. The problem exists because a user-specified editor may contain a "--" argument that defeats a protection mechanism, e.g., an EDITOR='vim -- /path/to/extra/file' value.CVSS7.8HighEPSS55.37%RoutineCVE-2022-43995sudo_project · sudo +40 moresudo_project sudoSudo 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 characters or fewer. The impact could vary depending on the system libraries, compiler, and processor architecture.CVSS7.1HighEPSS0.30%Act nowCVE-2021-3156Sudo +67 moreSudo Heap-Based Buffer Overflow VulnerabilitySudo 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.CVSS7.8HighKEVEPSS99.96%PrioritiseCVE-2021-23240fedoraproject · fedora +6 morefedoraproject fedoraselinux_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 without SELinux are not vulnerable.CVSS7.8HighEPSS1.08%RoutineCVE-2021-23239debian · debian_linux +8 moredebian debian_linuxThe 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.CVSS2.5LowEPSS1.00%PrioritiseCVE-2019-18634debian · debian_linux +36 moredebian debian_linuxIn 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, and would exist only if enabled by an administrator.) The attacker needs to deliver a long string to the stdin of getln() in tgetpass.c.CVSS7.8HighEPSS19.28%PrioritiseCVE-2005-4890red hat · shadow +8 morered hat shadowThere 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.CVSS7.8HighEPSS0.63%PrioritiseCVE-2019-18684sudo_project · sudosudo_project sudoSudo 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) NOPASSWD:ALL" to /proc/#####/fd/3 at a time when Sudo is prompting for a password. NOTE: This has been disputed due to the way Linux /proc works. It has been argued that writing to /proc/#####/fd/3 would only be viable if you had permission to write to /etc/sudoers. Even with write permission to /proc/#####/fd/3, it would not help you write to /etc/sudoersCVSS7.0HighEPSS0.29%PrioritiseCVE-2019-14287canonical · ubuntu_linux +46 morecanonical ubuntu_linuxIn 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= logging, for a "sudo -u \#$((0xffffffff))" command.CVSS9.0CriticalEPSS63.76%RoutineCVE-2016-7076[unknown] · sudo +4 more[unknown] sudosudo 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 use this flaw to execute arbitrary commands with elevated privileges.CVSS7.8HighEPSS0.47%RoutineCVE-2015-8239sudo_project · sudo +3 moresudo_project sudoThe 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.CVSS7.0HighEPSS0.54%RoutineCVE-2017-1000368sudo_project · sudo +16 moresudo_project sudoTodd 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.CVSS8.2HighEPSS0.57%