Threats / Sudo / CVE-2021-3156
CVE-2021-3156
· EUVD no mirror located
· GCVE no mirror located
Verified 2026-06-22
Sudo vulnerability
Sudo contains an off-by-one error causing heap-based buffer overflow, enabling privilege escalation on affected systems.
Verdict
Today item — known-exploited.
A memory corruption flaw in Sudo's argument parsing allows unauthenticated or low-privileged attackers to overflow heap buffers and gain root access. Active exploitation in the wild with high EPSS score indicates immediate risk to unpatched deployments.
01
Is it exploitable?
— the evidence, ranked above the scoreExploit available
Public proof-of-concept exploit code is cataloged for this vulnerability.We link the existence of the exploit; we do not host or redistribute payloads.
Reported exploitation
7 independent public reports of in-the-wild exploitation are cataloged.Distinct reporting sources (vendor, incident response, government); open them for the underlying claims.
Exploited in the wild
Listed in the CISA Known Exploited Vulnerabilities catalog (added 2022-04-06).
Probability (EPSS)
EPSS 0.99305 — modeled likelihood of exploitation activity.EPSS is a daily-changing model output — open the source for today's value.
Severity / affected
Affected: Sudo, Sudo. Confirm exact fixed builds in the vendor advisory.
Weakness (CWE)
Mapped to CWE-122 Heap-based Buffer Overflow, CWE-193 CWE-193 — weakness family: Memory safety.CWE assignment from the public NVD record; the weakness class drives how the flaw is exploited.
02
Who’s exploiting it?
— attribution turns risk into urgencyAttribution not established
No confirmed (advisory-backed) threat-actor attribution is established for this record. Absence of a named actor is not absence of compromise — see Coverage & confidence.
03
Why it matters
— the attack path, told twice: adversary, then board1
Front door — unauthenticated access narrative 1
Attacker
I craft a malicious command-line argument that triggers the off-by-one error in Sudo's buffer handling.
Business
An attacker gains unauthorized root-level access to critical infrastructure, enabling full system compromise.
2
Keys to the kingdom — privilege/identity takeover narrative 2
Attacker
I exploit the heap overflow to overwrite adjacent memory structures and redirect execution flow to my payload.
Business
Confidential data, intellectual property, and operational systems become accessible to the threat actor.
3
Lateral reach — past segmentation narrative 3
Attacker
I establish persistent access by installing backdoors or modifying system configurations with elevated privileges.
Business
Incident response costs, forensic investigation, and extended remediation efforts multiply across affected environments.
04
What to do
— defensible action- Remediate per the vendor advisory — confirm the fixed build for your version and verify exposure.1
Say it to the boardA vulnerability with this evidence profile is a defensible budget line, not a backlog ticket — fund the change against the proof above.
05