CVE-2021-3156
🟠 Medium In CISA KEVsudo (scanner: sudo) · < 1.9.5p2
CVSS (Koffei note)
7.8CVSS (v3.1, CVE List)
7.8EPSS (2026-11-18)
99.962%99.98th percentile
CISA KEV
2022-04-06due 2022-04-27
Exploitation
Yes — CISA KEV since 06/04/2022 ; confirmed by the internal scanner
Timeline
- 26/01/2021CVE record published (CVE List)
- 06/04/2022Added to the CISA KEV catalogue
- 27/04/2022CISA deadline for US federal agencies
Risk
7.8 High (v3.1) — AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, EPSS 99.962% (CWE-193 : Off-by-one heap buffer overflow in sudo (Baron Samedit) allows local privilege escalation to root via 'sudoedit -s'.)
Fix
Yes — 1.9.5p2 (advisory)
Official description
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H