Known Exploited Vulnerability

CVE-2021-3156

Sudo Heap-Based Buffer Overflow Vulnerability

Past federal due date 400 public exploits Added 06 Apr 2022 Due 27 Apr 2022 · 1558 days ago
VendorSudo
ProductSudo
WeaknessCWE-122, CWE-193
RansomwareNone confirmed

What the flaw is

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

Description as published by CISA. We have not independently reproduced it.

What CISA requires

Apply updates per vendor instructions.

This deadline is binding on US federal civilian agencies under BOD 22-01. It is not a legal deadline for anyone else, but it is a useful urgency signal — CISA sets it by how actively the flaw is being used, not by CVSS.

Public exploit code

400 public repositories referencing this CVE have been catalogued on GitHub. That volume usually means a reliable, widely-reproduced exploit. Treat this as a strong signal to prioritise patching, not as a verified working exploit — many such repositories are scanners, write-ups or forks rather than functional code.

Showing 8 of 400. Full list in the trickest/cve dataset.

Vendor advisories

Primary sources

Share

Was this page helpful?

If something here is wrong or out of date, tell us and we will check the source.

Other Sudo entries

See all

Source: CISA KEV catalog · last verified July 31, 2026. Rebuilt automatically twice a day.