CVE-2022-43995
Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.1
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.
- Record
CVE-2022-43995- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List
7.1
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.
- Record
CVE-2022-43995- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
EUVDEUVD-2022-46959
7.1
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.
- Record
EUVD-2022-46959- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-3r97-xp9v-83jf
7.1
Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth...
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 compiler and processor architecture.
- Record
GHSA-3r97-xp9v-83jf- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-43995
7.1
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.
- Record
ALPINE-CVE-2022-43995- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-03
OSVAZL-11400
7.1
CVE-2022-43995 affecting package sudo for versions less than 1.9.12p1-1
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.
- Record
AZL-11400- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
Show 11 moreShow less
OSV
7.1
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.
- Record
CVE-2022-43995- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-43995
7.1
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.
- Record
DEBIAN-CVE-2022-43995- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-03
OSVOESA-2022-2079
7.1
sudo security update
Sudo is a program designed to allow a sysadmin to give limited root privileges to users and log root activity. The basic philosophy is to give as few privileges as possible but still allow people to get their work done.
Security Fix(es):
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.(CVE-2022-43995)
- Record
OESA-2022-2079- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2022-0426 No score
Updated sudo packages fix security vulnerability
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. (CVE-2022-43995)
- Record
MGASA-2022-0426- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12483-1 No score
sudo-1.9.12-3.1 on GA media
These are all security issues fixed in the sudo-1.9.12-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12483-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:3886-1 No score
Security update for sudo
This update for sudo fixes the following issues:
- CVE-2022-43995: Fixed a potential heap-based buffer over-read when entering a password of seven characters or fewer and using the crypt() password backend (bsc#1204986).
- Record
SUSE-SU-2022:3886-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:3938-1 No score
Security update for sudo
This update for sudo fixes the following issues:
- CVE-2022-43995: Fixed a potential heap-based buffer over-read when entering a password of seven characters or fewer and using the crypt() password backend (bsc#1204986).
- Record
SUSE-SU-2022:3938-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:4001-1 No score
Security update for sudo
This update for sudo fixes the following issues:
- CVE-2022-43995: Fixed a potential heap-based buffer over-read when entering a password of seven characters or fewer and using the crypt() password backend (bsc#1204986).
- Record
SUSE-SU-2022:4001-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:4077-1 No score
Security update for sudo
This update for sudo fixes the following issues:
-
CVE-2022-43995: Fixed a potential heap-based buffer over-read when entering a passwor dof seven characters or fewer and using the crypt() password backend (bsc#1204986).
-
Fix wrong information output in the error message (bsc#1190818).
-
Make sure SIGCHLD is not ignored when sudo is executed; fixes race condition (bsc#1203201).
- Record
SUSE-SU-2022:4077-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:4240-1 No score
Security update for sudo
This update for sudo fixes the following issues:
Security fixes:
- CVE-2022-43995: Fixed a potential heap-based buffer over-read when entering a password of seven characters or fewer and using the crypt() password backend (bsc#1204986).
Other:
- Make sure SIGCHLD is not ignored when sudo is executed; fixes race condition (bsc#1203201).
- Change sudo-ldap schema from ASCII to UTF8 (bsc#1197998).
- Record
SUSE-SU-2022:4240-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:4280-1 No score
Security update for sudo
This update for sudo fixes the following issues:
Security fixes:
- CVE-2022-43995: Fixed a potential heap-based buffer over-read when entering a password of seven characters or fewer and using the crypt() password backend (bsc#1204986).
Other:
- Make sure SIGCHLD is not ignored when sudo is executed; fixes race condition (bsc#1203201).
- Change sudo-ldap schema from ASCII to UTF8 (bsc#1197998).
- Record
SUSE-SU-2022:4280-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sudoAlpine:v3.14 |
1.8.0 up to 1.9.12-r1 | 1.9.12-r1 |
sudoAlpine:v3.15 |
1.8.0 up to 1.9.12-r1 | 1.9.12-r1 |
sudoAzure Linux:2 |
before 1.9.12p1-1 | 1.9.12p1-1 |
sudoDebian:12 |
before 1.9.12p1-1 | 1.9.12p1-1 |
sudoDebian:13 |
before 1.9.12p1-1 | 1.9.12p1-1 |
sudoDebian:14 |
before 1.9.12p1-1 | 1.9.12p1-1 |
sudoMageia:8 |
before 1.9.5p2-2.1.mga8 | 1.9.5p2-2.1.mga8 |
sudoopenEuler:20.03-LTS-SP1 |
before 1.9.2-7.oe1 | 1.9.2-7.oe1 |
sudoopenEuler:20.03-LTS-SP3 |
before 1.9.2-7.oe1 | 1.9.2-7.oe1 |
sudoopenEuler:22.03-LTS |
before 1.9.8p2-4.oe2203 | 1.9.8p2-4.oe2203 |
Show 37 moreShow less
| Package | Affected | Fixed |
|---|---|---|
sudoSUSE:Linux Enterprise Server 12 SP2-BCL |
before 1.8.10p3-10.38.1 | 1.8.10p3-10.38.1 |
sudoSUSE:Linux Enterprise High Performance Computing 15-ESPOS |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise High Performance Computing 15-LTSS |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise Server 15-LTSS |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise Server 15 SP1-BCL |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise Server 15 SP1-LTSS |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise Server 15 SP2-BCL |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise Server 15 SP2-LTSS |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise Server for SAP Applications 15 |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise Server for SAP Applications 15 SP1 |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise Server for SAP Applications 15 SP2 |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Manager Proxy 4.1 |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Manager Retail Branch Server 4.1 |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Manager Server 4.1 |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Enterprise Storage 6 |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Enterprise Storage 7 |
before 1.8.27-150000.4.30.1 | 1.8.27-150000.4.30.1 |
sudoSUSE:Linux Enterprise Micro 5.3 |
before 1.9.9-150400.4.6.1 | 1.9.9-150400.4.6.1 |
sudoSUSE:Linux Enterprise Module for Basesystem 15 SP4 |
before 1.9.9-150400.4.6.1 | 1.9.9-150400.4.6.1 |
sudoopenSUSE:Leap 15.4 |
before 1.9.9-150400.4.6.1 | 1.9.9-150400.4.6.1 |
sudoSUSE:Linux Enterprise Module for Basesystem 15 SP3 |
before 1.9.5p2-150300.3.13.1 | 1.9.5p2-150300.3.13.1 |
sudoSUSE:Linux Enterprise Micro 5.1 |
before 1.9.5p2-150300.3.13.1 | 1.9.5p2-150300.3.13.1 |
sudoSUSE:Linux Enterprise Micro 5.2 |
before 1.9.5p2-150300.3.13.1 | 1.9.5p2-150300.3.13.1 |
sudoopenSUSE:Leap Micro 5.2 |
before 1.9.5p2-150300.3.13.1 | 1.9.5p2-150300.3.13.1 |
sudoopenSUSE:Leap 15.3 |
before 1.9.5p2-150300.3.13.1 | 1.9.5p2-150300.3.13.1 |
sudoSUSE:OpenStack Cloud 9 |
before 1.8.20p2-3.33.1 | 1.8.20p2-3.33.1 |
sudoSUSE:OpenStack Cloud Crowbar 9 |
before 1.8.20p2-3.33.1 | 1.8.20p2-3.33.1 |
sudoSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 1.8.20p2-3.33.1 | 1.8.20p2-3.33.1 |
sudoSUSE:Linux Enterprise Server 12 SP3-BCL |
before 1.8.20p2-3.33.1 | 1.8.20p2-3.33.1 |
sudoSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 1.8.20p2-3.33.1 | 1.8.20p2-3.33.1 |
sudoSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 1.8.27-4.30.1 | 1.8.27-4.30.1 |
sudoSUSE:Linux Enterprise Server 12 SP5 |
before 1.8.27-4.30.1 | 1.8.27-4.30.1 |
sudoSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 1.8.27-4.30.1 | 1.8.27-4.30.1 |
sudoopenSUSE:Tumbleweed |
before 1.9.12-3.1 | 1.9.12-3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-43995 is a high vulnerability (CVSS 7.1) in Sudo Project Sudo, published November 2, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.30%, the 22nd percentile. Fixed in sudo 1.9.12-r1.
References
sudo.ws/security/advisories
github.com/sudo-project/sudo/commit/bd209b9f16fcd1270c13db27ae3329c677d48050
news.ycombinator.com/item?id=33465707
bugzilla.redhat.com/show_bug.cgi?id=2139911
security.gentoo.org/glsa/202211-08
nvd.nist.gov/vuln/detail/CVE-2022-43995
Show 20 moreShow less
github.com/advisories/GHSA-3r97-xp9v-83jf
security.alpinelinux.org/vuln/CVE-2022-43995
github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43995.json
security-tracker.debian.org/tracker/CVE-2022-43995
advisories.mageia.org/MGASA-2022-0426.html
bugs.mageia.org/show_bug.cgi?id=31089
lists.suse.com/pipermail/sle-security-updates/2022-November/012820.html
sudo.ws/releases/stable
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2079
suse.com/support/update/announcement/2022/suse-su-20223886-1
bugzilla.suse.com/1204986
suse.com/security/cve/CVE-2022-43995
suse.com/support/update/announcement/2022/suse-su-20223938-1
suse.com/support/update/announcement/2022/suse-su-20224001-1
suse.com/support/update/announcement/2022/suse-su-20224077-1
bugzilla.suse.com/1190818
bugzilla.suse.com/1203201
suse.com/support/update/announcement/2022/suse-su-20224240-1
bugzilla.suse.com/1197998
suse.com/support/update/announcement/2022/suse-su-20224280-1