vulnerability

Ubuntu: (Multiple Advisories) (CVE-2021-3156): Sudo vulnerabilities

Severity
7
CVSS
(AV:L/AC:L/Au:N/C:C/I:C/A:C)
Published
Jan 26, 2021
Added
Jan 27, 2021
Modified
Apr 16, 2026

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.

Solutions

ubuntu-pro-upgrade-sudoubuntu-upgrade-sudoubuntu-upgrade-sudo-ldap
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.