ACTIVELY EXPLOITED

CVE-2021-3156: Sudo Heap-Based Buffer Overflow Vulnerability

Facts
VendorSudo
ProductSudo
Actively exploitedYes
Added to CISA KEV6 Apr 2022
CISA federal deadline27 Apr 2022
Weakness (CWE)CWE-122, CWE-193

Required action (CISA's text)

Apply updates per vendor instructions.

Description (NVD)

Sudo contains an off-by-one error that can result in a heap-based buffer overflow, which allows for privilege escalation.

SOURCES

Other Sudo flaws

Data from NVD, CISA KEV, FIRST EPSS and vendor advisories. Updated 10 Nov 2026.