Skip to main content
Network Thinking Solutions Logo

CVE-2021-3156

Privilege escalation via heap overflow in argument parsing

All CVEs
CVE-2021-3156
Known exploited · CISA KEV
Published 1/26/2021

Privilege escalation via heap overflow in argument parsing

Vendor advisory
CVSS7.8High

Overview

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.

Published
1/26/2021
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

Known exploited · CISA KEV

The source record flags evidence of exploitation in the wild. Whether a specific system is affected depends on the product, version, and advisory conditions.

Added to KEV: Not available

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
sudo
sudo project
≥ 1.8.2, < 1.8.32

Verify advisory

Source
sudo
sudo project
≥ 1.9.0, < 1.9.5

Verify advisory

Source
sudo
sudo project
1.9.5

Verify advisory

Source
sudo
sudo project
1.9.5

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
fedora
fedoraproject
32

Verify advisory

Source
fedora
fedoraproject
33

Verify advisory

Source
debian linux
debian
9.0

Verify advisory

Source
debian linux
debian
10.0

Verify advisory

Source
active iq unified manager
netapp
Range not specified — verify advisory

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
cloud backup
netapp
Range not specified — verify advisory

Verify advisory

Source
hci management node
netapp
Range not specified — verify advisory

Verify advisory

Source
oncommand unified manager core package
netapp
Range not specified — verify advisory

Verify advisory

Source
ontap select deploy administration utility
netapp
Range not specified — verify advisory

Verify advisory

Source
ontap tools
netapp
9

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
solidfire
netapp
Range not specified — verify advisory

Verify advisory

Source
web gateway
mcafee
8.2.17

Verify advisory

Source
web gateway
mcafee
9.2.8

Verify advisory

Source
web gateway
mcafee
10.0.4

Verify advisory

Source
diskstation manager unified controller
synology
3.0

Verify advisory

Source
diskstation manager
synology
6.2

Verify advisory

Source
skynas firmware
synology
Range not specified — verify advisory

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
vs960hd firmware
synology
Range not specified — verify advisory

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
privilege management for mac
beyondtrust
< 21.1.1

Verify advisory

Source
micros compact workstation 3 firmware
oracle
310

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
micros es400 firmware
oracle
≥ 400, ≤ 410

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
micros kitchen display system firmware
oracle
210

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
micros workstation 5a firmware
oracle
5a

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
micros workstation 6 firmware
oracle
≥ 610, ≤ 655

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
communications performance intelligence center
oracle
≥ 10.3.0.0.0, ≤ 10.3.0.2.1

Verify advisory

Source
communications performance intelligence center
oracle
≥ 10.4.0.1.0, ≤ 10.4.0.3.1

Verify advisory

Source
tekelec platform distribution
oracle
≥ 7.4.0, ≤ 7.7.1

Verify advisory

Source
n/a
n/a
n/a

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.