VULNERABILITY INTELLIGENCE

CVE-2021-3156

CVSS score7.8 HIGH
EPSS probability99.96%
CISA KEVKnown exploited vulnerability
Published2021-01-26
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Known Exploited Vulnerability

Sudo Heap-Based Buffer Overflow Vulnerability

Vendor / product: Sudo / Sudo

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.

Weakness classification

  • CWE-193: Off-by-one Error

Primary references