BlogPHP2Shell Exploitation: How Secure.com Can Protect YouRead more
← CVE Radar

CVE-2021-3156Sudo Heap-Based Buffer Overflow Vulnerability

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.

7.8 HIGHEPSS 99.96%⚡ Known Exploited (CISA KEV)NVD: Analyzed

Overview

Severity

ScoreSeverityVersionVector String
7.8HIGH3.1NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
7.2HIGH2.0NVDAV:L/AC:L/Au:N/C:C/I:C/A:C

CISA required action

⚡ Known exploited · remediation due Apr 27, 2022

Apply updates per vendor instructions.

Details

CVE ID
CVE-2021-3156
Status
Analyzed
Assigner (CNA)
mitre
Published
Jan 26, 2021
Last modified
2026-06-17 04:04 UTC
Weaknesses

Sources

Refreshed hourly from the sources above. Last fetched 2026-11-09 14:27 UTC.