Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
CISA KEV·Added 2022-04-06 — agencies required to remediate by 2022-04-27

CVE-2021-3156

HIGH
Published
Jan 26, 2021
Updated
Apr 16, 2026
Affected
0 pkgs
Patched
None yet
Exploits
83 known

EPSS Exploitation Probability

via FIRST.org ↗
92.6%probability of exploitation in next 30 days
Very High Risk100th percentile0.00%
91.6%92.1%92.6%93.1%92.1%92.6%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

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.

Exploits & PoCs
83

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-49521localmultiple

Sudo 1.9.5p1 - 'Baron Samedit ' Heap-Based Buffer Overflow Privilege Escalation (1)

by West Shepherd · Feb 3, 2021

EDB-49522localmultiple

Sudo 1.9.5p1 - 'Baron Samedit ' Heap-Based Buffer Overflow Privilege Escalation (2)

by nu11secur1ty · Feb 3, 2021

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-3156 in your stack?

O3 detects CVE-2021-3156 across dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.