CVE-2021-3156
Sudo Heap-Based Buffer Overflow Vulnerability
What is affected
| Vendor | Sudo |
|---|---|
| Product | Sudo |
| Weakness | CWE-122, CWE-193 |
The vulnerability
Sudo contains an off-by-one error that can result in a heap-based buffer overflow, which allows for privilege escalation.
Required action
Apply updates per vendor instructions.
US federal civilian agencies were required to act by 27 April 2022 under BOD 22-01. The deadline is a compliance date, not a measure of severity — it says nothing about how dangerous the flaw is to anyone else.
Where this comes from
Every field on this page is taken from the CISA Known Exploited Vulnerabilities catalog, last synced 13 Nov 2026, 00:30. Nothing here is our own assessment. For the technical scoring, see the NVD record below.