Out-of-bounds Read Affecting sudo package, versions <1.9.12p1-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.28% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-SUDO-19432117
  • published30 Aug 2026
  • disclosed2 Nov 2022

Introduced: 2 Nov 2022

CVE-2022-43995  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Echo:latest sudo to version 1.9.12p1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sudo package and not the sudo package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1