Skip to main intelligence content
SOURCES: CISA KEV + NIST NVD 2.0 + FIRST EPSS
LOOT & EXPLOITS
DEFENSIVE VULN & TOOL TRIAGE

PAID STACK WATCH · $99/year or $12/month

Back to Exploit Watch
Free RSS · SudoLast Sync: 2026-11-29 00:17:02 UTC

CVE-2021-3156

CONFIRMED EXPLOITED
7.8HIGHNIST NVDEPSS 99.96%(>99.9th pct)
Sudo // Sudo

Sudo Heap-Based Buffer Overflow Vulnerability

Added to CISA KEV2022-04-06
NVD Published Date2021-01-26
NVD Last Modified2026-06-17
CWE ClassificationCWE-122, CWE-193

Is Sudo Sudo affected by CVE-2021-3156?

Sudo Sudo is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2021-3156, added on 2022-04-06. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.

Affected products published by NIST NVD (32 vulnerable CPE entries): beyondtrust privilege_management_for_mac, beyondtrust privilege_management_for_unix\/linux, debian debian_linux, fedoraproject fedora, mcafee web_gateway and netapp active_iq_unified_manager and 18 further CPE product entries.

Published CPE version bounds mark releases below 21.1.1 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.

The CISA remediation deadline for this entry is 2022-04-27.

RELATED VULNERABILITY DOSSIERS

Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.

1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM

CISA KEV Verified Summary

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

Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)

What the Vulnerability Actually Does (NVD / CNA Technical 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.

2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS

CISA REPORTED VENDORSudo
CISA REPORTED PRODUCTSudo
Verified NIST NVD CPE 2.3 Version Ranges (39 entries):
sudo_project:sudo
>= 1.8.2 , < 1.8.32
sudo_project:sudo
>= 1.9.0 , < 1.9.5
sudo_project:sudo
== 1.9.5
sudo_project:sudo
== 1.9.5
fedoraproject:fedora
== 32
fedoraproject:fedora
== 33
debian:debian_linux
== 9.0
debian:debian_linux
== 10.0
netapp:active_iq_unified_manager
All/Unspecified in CPE
netapp:cloud_backup
All/Unspecified in CPE
netapp:hci_management_node
All/Unspecified in CPE
netapp:oncommand_unified_manager_core_package
All/Unspecified in CPE
netapp:ontap_select_deploy_administration_utility
All/Unspecified in CPE
netapp:ontap_tools
== 9
netapp:solidfire
All/Unspecified in CPE
mcafee:web_gateway
== 8.2.17
mcafee:web_gateway
== 9.2.8
mcafee:web_gateway
== 10.0.4
synology:diskstation_manager_unified_controller
== 3.0
synology:diskstation_manager
== 6.2
synology:skynas_firmware
All/Unspecified in CPE
synology:skynas
All/Unspecified in CPE
synology:vs960hd_firmware
All/Unspecified in CPE
synology:vs960hd
All/Unspecified in CPE
beyondtrust:privilege_management_for_mac
< 21.1.1
beyondtrust:privilege_management_for_unix\/linux
< 10.3.2-10
oracle:micros_compact_workstation_3_firmware
== 310
oracle:micros_compact_workstation_3
All/Unspecified in CPE
oracle:micros_es400_firmware
>= 400 , <= 410
oracle:micros_es400
All/Unspecified in CPE
oracle:micros_kitchen_display_system_firmware
== 210
oracle:micros_kitchen_display_system
All/Unspecified in CPE
oracle:micros_workstation_5a_firmware
== 5a
oracle:micros_workstation_5a
All/Unspecified in CPE
oracle:micros_workstation_6_firmware
>= 610 , <= 655
oracle:micros_workstation_6
All/Unspecified in CPE
oracle:communications_performance_intelligence_center
>= 10.3.0.0.0 , <= 10.3.0.2.1
oracle:communications_performance_intelligence_center
>= 10.4.0.1.0 , <= 10.4.0.3.1
oracle:tekelec_platform_distribution
>= 7.4.0 , <= 7.7.1

3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT

Confirmed Exploitation Evidence (Cited to CISA KEV)

This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-04-06. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".

Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Sudo has been compromised.

Potential Impact (Vector-Derived)
  • CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
Defensive Detection Opportunities
  • Kernel / local privilege surface (Sudo Sudo): monitor endpoint syscall and process telemetry (`Linux auditd`, `Tetragon` eBPF LSM/kprobe policies, Windows Security Event IDs 4672/4688 & Sysmon, `Velociraptor` VQL) for unexpected UID/token elevation, namespace escapes, or unauthorized child processes.
  • Memory corruption class (CWE-119/416/787): monitor system logs (`dmesg`, `journalctl`, Windows Event ID 1000, crash dumps) for segmentation faults (`SIGSEGV`/`SIGABRT`) or worker process restarts.
  • Inventory all hosts running Sudo Sudo and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.

4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS

CISA Required Remediation Action (Due Date: 2022-04-27)

Apply updates per vendor instructions.

CISA KEV Cited Vendor & NVD Links:
NIST NVD Official Reference Advisories (25):

SCORING & VECTOR TELEMETRY

NIST NVD CVSS v3.1 Base Score
7.8 / 10.07.8HIGHNIST NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary assessment authored by NIST NVD (nvd@nist.gov).

FIRST EPSS 30-Day Exploitation Probability
99.96%EPSS 99.96%(>99.9th pct)
Percentile: >99.9th pct · Raw: 0.99962 · Date: 2026-11-28

EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.

RELEVANT DEFENSIVE TOOLS

Curated open-source defensive and verification utilities from The Loot applicable to this asset class:

SOURCE PROVENANCE LOG

CISA KEV Feed
Catalog v2026.11.27 · Synced 2026-11-29T00:16:56Z
NVD CVE 2.0 API & CVSS Authority
Enriched: 2026-11-29T00:17:02Z
Score Source: NIST NVD (nvd@nist.gov)
FIRST EPSS v1 API
Score Date: 2026-11-28