Live › vulnerability › CVE-2021-3156
Go to dashboardSudo has a heap-based buffer overflow caused by an off-by-one error, known as Baron Samedit. A local user without sudo rights can gain root privileges on the affected machine.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-23 19:11 UTC, 3h before NVD. All times on this page are UTC.
Apply updates per vendor instructions.
| Product | Ecosystem | Affected | Fixed in |
|---|---|---|---|
| Sudo Sudo | vendor | – | – |
Run sudo -V and compare the version with the fixed releases; on Linux, check the package manager for the sudo package version.
Update sudo to a fixed release per the vendor instructions (CISA KEV required action: apply updates per vendor instructions).
Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
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.
This page as .md · .json · in your agent: get_signal("CVE-2021-3156")
CISA KEV catalog, Creative Commons 0 · EPSS scores by FIRST, used with attribution · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.