CVE-2021-3156

Sudo Sudo — Sudo Heap-Based Buffer Overflow Vulnerability
⚠️ CVSS 3.1  7.8 / 10 — HIGH 🔴 CISA Known Exploited Vulnerability

Overview

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

https://nvd.nist.gov/vuln/detail/CVE-2021-3156

Key Details

PropertyValue
CVE ID CVE-2021-3156
Vendor / Product Sudo — Sudo
NVD Published2021-01-26
NVD Last Modified2025-11-10
CVSS 3.1 Score7.8
CVSS 3.1 VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SeverityHIGH
CWE CWE-193
CISA KEV Added2022-04-06
CISA KEV Deadline2022-04-27
Known Ransomware Use No

CVSS 3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2022-04-27. Apply updates per vendor instructions.

Timeline

DateEvent
2022-04-06Added to CISA Known Exploited Vulnerabilities catalog
2022-04-27CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2021-3156 Vulnerability Database
CISA KEV Catalog Entry US Government