Skip to main content
CISA Known Exploited Vulnerabilities

Sudo Heap-Based Buffer Overflow Vulnerability is confirmed as actively exploited and is listed in the CISA KEV catalog.

Added to KEV
2022-04-06
Remediation due
2022-04-27

Required action
Apply updates per vendor instructions.

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

Also Known as Baron Samedit

Baron Samedit is a heap-based buffer overflow in sudo, named by its discoverer Qualys and disclosed on January 26, 2021. Any local user can use it to gain root, and it affected sudo releases going back to a July 2011 change.

Name sources

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.

Severity

CVSS 3.1 · CISA7.8 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SSVC · CISA-ADP
Exploitationactive
Automatableno
Technical impacttotal

Exploitation Context

as of October 13, 2026
All KEV statistics→
  • CISA added CVE-2021-3156 to the KEV catalog 435 days after its CVE record was published.
  • It is one of 2 Sudo entries in the CISA KEV catalog, and the only one added in 2022.
  • Its current EPSS score (100.0%) is higher than that of 94% of CISA KEV entries.

Affected Products

ProductAffected versions
-
n/a

References

34 Links
Third-party advisories
Mailing lists
Other references

Record Details

Published
2021-01-26
Last updated
2025-10-21
Assigner (CNA)
mitre
Credited to
-

CVE record data © The MITRE Corporation, used under the CVE Terms of Use. Exploited-in-the-wild data from the CISA Known Exploited Vulnerabilities catalog (CC0). Exploit prediction scores by FIRST EPSS (first.org/epss). This site is not endorsed or certified by MITRE, NVD, CISA, or FIRST.