Tools
Log in
English

Learn to codeSecurity check

CVE-2021-3156

HighCVSS 7.8Exploited

CVE-2021-3156 High 7.8 · Sudo Sudo · exploited · details and fixes

Severity
High
Score
7.8 · CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Product
Sudo Sudo
Known as
Sudo Heap-Based Buffer Overflow Vulnerability
Published
2021-01-27
Last modified
2026-06-17
Exploitation
Known to be exploited · listed on 2022-04-06

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.

Vendor advisories

Back to the CVE list