← Vulnerability feed

Vulnerability record · CVE-2022-43995 · published 2 November 2022

CVE-2022-43995: Sudo project sudo out-of-bounds read vulnerability

Sudo Project · Sudo

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 characters or fewer. The impact could vary depending on the system libraries, compiler, and processor architecture.

7.1 CVSS 3.1 High EPSS 0.30% · top 77.2% CWE-125 · Out-of-bounds read
7.1CVSS 3.1 base score
0.30%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

Description

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 characters or fewer. The impact could vary depending on the system libraries, compiler, and processor architecture.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-43995 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.8CVE-2025-32463Sudo chroot local privilege escalation via untrusted nsswitch.confSudo before 1.9.17p1 loads /etc/nsswitch.conf from a user-controlled directory when the --chroot option is used, allowing inclusion of functionality …KEVEPSS 56%analysed7.8CVE-2021-3156Sudo off-by-one heap overflow allows root privilege escalationSudo before 1.9.5p2 contains an off-by-one error leading to a heap-based buffer overflow. Triggering it via 'sudoedit -s' with a command-line argumen…KEVEPSS 100%analysed8.8CVE-2025-32462Sudo project sudo incorrect authorization vulnerabilitySudo 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 co…EPSS 4.5%8.8CVE-2023-7090Sudo project sudo improper privilege management vulnerabilityA 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…EPSS 0.69%8.8CVE-2019-14287Sudo policy bypass via crafted user ID in sudo -uSudo before 1.8.28 mishandles a crafted user ID passed to sudo -u, allowing an attacker who already holds a Runas ALL sudoer account to bypass policy…EPSS 64%analysed8.2CVE-2017-1000368Sudo project sudo improper input validation vulnerabilityTodd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded newlines) in the get_process_ttyname() function result…EPSS 0.57%7.8CVE-2026-35535Sudo project sudo vulnerabilityIn 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 …EPSS 0.18%7.8CVE-2023-22809Sudo sudoedit Argument Injection Enables Local Privilege EscalationSudo before 1.9.12p2 mishandles extra arguments supplied through the SUDO_EDITOR, VISUAL, and EDITOR environment variables in the sudoedit (-e) featu…EPSS 55%analysed

Source: NIST National Vulnerability Database (record CVE-2022-43995), CISA KEV, FIRST EPSS (scores of 2026-11-13). This page is refreshed as NVD updates the record.