CVE-2021-3156: Informational: Impact of Sudo Vulnerability CVE-2021-3156
CVE-2021-3156 affects 1 listed version of Synology DSM in the Dawnsentry catalogue. It is known to be exploited in the wild.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Synology DSM
1 of 129 listed versions are affected. No fixed release is named. The newest release, 7.4.1-90080-2, is not affected.
What it is
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by MITRE on 26 January 2021. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).
Sources
Check one version you run: look CVE-2021-3156 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.