cybersecurity Request an audit

Actively exploited vulnerability / CVE-2021-3156

Sudo on Linux and Unix: an ordinary user can gain full control of the system

This flaw lets an attacker who already has an ordinary account on a server become a full administrator (root). They can then read or change any data, install malicious software and hide their tracks, turning a stolen account or minor breach into a complete compromise. It is on the lists of vulnerabilities used in real attacks kept by both CISA, the US cybersecurity agency, and ENISA, the EU cybersecurity agency.

Identifier
CVE-2021-3156 · EUVD-2021-26500
Severity
High (7.8/10)
On the CISA list (US)
yes, since 6 April 2022
Deadline given to US federal agencies
27 April 2022
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
100.0% (FIRST's estimate for the next 30 days)

Does it concern you?

Sudo is a utility found on almost every Linux or Unix server and computer, letting authorized users run administrative commands. Some products that include it are also affected, such as BeyondTrust Privilege Management for Mac and for Unix/Linux and certain Oracle systems, including MICROS ES400 and Workstation 6 point of sale terminals.

Ask whoever manages your servers to check the Sudo version: versions from 1.8.2 up to but not including 1.9.5p2 are affected. For BeyondTrust, versions before 21.1.1 (Mac) and 10.3.2-10 (Unix/Linux) are affected; for Oracle products, ask your supplier or support partner.

Affected products and versions

  • Sudo
  • privilege management for mac: before 21.1.1
  • privilege management for unix/linux: before 10.3.2-10
  • communications performance intelligence center: from 10.3.0.0.0 up to and including 10.3.0.2.1; from 10.4.0.1.0 up to and including 10.4.0.3.1
  • tekelec platform distribution: from 7.4.0 up to and including 7.7.1
  • sudo: from 1.8.2 before 1.8.32; from 1.9.0 before 1.9.5
  • micros es400 firmware: from 400 up to and including 410
  • micros workstation 6 firmware: from 610 up to and including 655

What to do

Install the operating system update that brings Sudo 1.9.5p2 or later, and upgrade BeyondTrust to 21.1.1 (Mac) or 10.3.2-10 (Unix/Linux). For Oracle systems, apply updates according to the vendor's instructions.

Versions that contain the fix: 1.8.32, 1.9.5, 10.3.2-10, 21.1.1.

The official description

The text below is the description from the public database.

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.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

Other exploited vulnerabilities in Sudo

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.