Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2021-3156 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3156 CISA-ADPUS Government Resource
http://packetstormsecurity.com/files/161160/Sudo-Heap-Based-Buffer-Overflow.html CVEExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/161230/Sudo-Buffer-Overflow-Privilege-Escalation.html CVEExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/161270/Sudo-1.9.5p1-Buffer-Overflow-Privilege-Escalation.html CVEExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/161293/Sudo-1.8.31p2-1.9.5p1-Buffer-Overflow.html CVEExploitThird Party AdvisoryVDB Entry

see all 68 references

This CVE is in CISA's Known Exploited Vulnerabilities Catalog

Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.

Vulnerability NameDate AddedDue DateRequired Action
Sudo Heap-Based Buffer Overflow VulnerabilityApr 6, 2022Apr 27, 2022Apply updates per vendor instructions.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-193Off-by-one Error[email protected]
CWE-193Off-by-one ErrorCISA-ADP

Affected Products

ProductVersions

Change History

52 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-3156
NVD Published Date:
Jan 26, 2021
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2021-3156 Details - Not Deferred