Back to search
CVE-2021-3156
Published: Jan 26, 2021
Modified: Oct 21, 2025
PUBLISHED
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 | Product | Versions |
|---|---|---|
n/a | n/a | affected n/a |
References
GLSA-202101-33
vendor-advisory
DSA-4839
vendor-advisory
FEDORA-2021-2cb63d912a
vendor-advisory
FEDORA-2021-8840cbdccd
vendor-advisory
VU#794544
third-party-advisory
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now