CVE-2021-3156

Attackers are using this High severity Published January 26, 2021 · updated June 17, 2026

Attackers are using this.

CISA added it to its list of vulnerabilities being exploited on April 6, 2022.

CISA's advice: Apply updates per vendor instructions.

What it is

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.

What it affects, and the version that fixes it

  • Debian No fixed version listed yet.
  • Synology DSM No fixed version listed yet.
  • BeyondTrust Privilege Management for Mac Make sure you are on 21.1.1 or later.
  • BeyondTrust Privilege Management for Unix/Linux Make sure you are on 10.3.2-10 or later.
  • Fedora No fixed version listed yet.
  • McAfee Web Gateway No fixed version listed yet.
  • NetApp Active IQ Unified Manager No fixed version listed yet.
  • NetApp Cloud Backup No fixed version listed yet.
  • NetApp HCI Management Node No fixed version listed yet.
  • NetApp OnCommand Unified Manager Core Package No fixed version listed yet.
  • NetApp ONTAP Select Deploy Administration Utility No fixed version listed yet.
  • NetApp Ontap Tools - for Vmware Vsphere No fixed version listed yet.
  • NetApp SolidFire No fixed version listed yet.
  • Oracle Communications Performance Intelligence Center No fixed version listed yet.
  • Oracle MICROS Compact Workstation 3 Firmware No fixed version listed yet.
  • Oracle MICROS ES400 Firmware No fixed version listed yet.
  • Oracle MICROS Kitchen Display System Firmware No fixed version listed yet.
  • Oracle MICROS Workstation No fixed version listed yet.
  • Oracle MICROS Workstation 6 Firmware No fixed version listed yet.
  • Oracle Tekelec Platform Distribution No fixed version listed yet.
  • Sudo Project Sudo Make sure you are on 1.9.5 or later.
  • Synology DiskStation Manager Unified Controller (DSMUC) No fixed version listed yet.
  • Synology SkyNAS Firmware No fixed version listed yet.
  • Synology VS960HD Firmware No fixed version listed yet.

The vendor's advice · The official record (NVD) · CVE.org