CVE Database · CVE-2021-3156
CVSS v3.1
7.8
EPSS
99.30%
Published
Jan 26, 2021
Modified
Nov 10, 2025
CISA Known Exploited Vulnerability
Added: 2022-04-06 · Due: 2022-04-27
Apply updates per vendor instructions.
Public PoC / Exploit (11)
All weaponized →Links to public security research (Exploit-DB, Nuclei, Trickest, GitHub) for defensive use only.
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 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeaknesses (CWE)
Affected Products (39)
References (20)