#VU50040 Heap-based buffer overflow in Sudo - CVE-2021-3156

 

#VU50040 Heap-based buffer overflow in Sudo - CVE-2021-3156

Published: January 26, 2021 / Updated: May 18, 2025


Vulnerability identifier: #VU50040
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Clear
CVE-ID: CVE-2021-3156
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: The vulnerability is being exploited in the wild
Vulnerable software:
Sudo
Software vendor:
Sudo

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error in sudo. A local user can pass specially crafted data to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system with root privileges.



Remediation

Install update from vendor's website.

External links