Apply updates per vendor instructions.
Evidence dossier
CVE-2021-3156
CVE-2021-3156
gen-56ccdaf9Normalized restatement
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.
- State
- PUBLISHED
- Published
- Jan 26, 2021
- Updated
- Oct 21, 2025
- Evidence coverage
- 85%
2026-07-18 · v2026.06.15 · percentile 99.9%
Distinct CVSS assessments remain side by side; none are averaged.
Source comparison
Who said what
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.
Sudo Heap-Based Buffer Overflow Vulnerability
Probability 0.992950000000; percentile 0.999340000000
Applicability
Cited product scope
[{"status": "affected", "version": "n/a"}]unknowncpe:2.3:a:beyondtrust:privilege_management_for_mac:*:*:*:*:*:*:*:*; end excluding 21.1.1supportedcpe:2.3:a:beyondtrust:privilege_management_for_unix\/linux:*:*:*:*:basic:*:*:*; end excluding 10.3.2-10supportedcpe:2.3:a:mcafee:web_gateway:10.0.4:*:*:*:*:*:*:*supportedcpe:2.3:a:mcafee:web_gateway:8.2.17:*:*:*:*:*:*:*supportedcpe:2.3:a:mcafee:web_gateway:9.2.8:*:*:*:*:*:*:*supportedcpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*supportedcpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:*supportedcpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:*supportedcpe:2.3:a:netapp:oncommand_unified_manager_core_package:-:*:*:*:*:*:*:*supportedcpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*supportedcpe:2.3:a:netapp:ontap_tools:9:*:*:*:*:vmware_vsphere:*:*supportedcpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*supportedcpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:*; start including 10.3.0.0.0; end including 10.3.0.2.1supportedcpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:*; start including 10.4.0.1.0; end including 10.4.0.3.1supportedcpe:2.3:a:oracle:tekelec_platform_distribution:*:*:*:*:*:*:*:*; start including 7.4.0; end including 7.7.1supportedcpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*; start including 1.8.2; end excluding 1.8.32supportedcpe:2.3:a:sudo_project:sudo:*:*:*:*:*:*:*:*; start including 1.9.0; end excluding 1.9.5supportedcpe:2.3:a:sudo_project:sudo:1.9.5:-:*:*:*:*:*:*supportedcpe:2.3:a:sudo_project:sudo:1.9.5:patch1:*:*:*:*:*:*supportedcpe:2.3:a:synology:diskstation_manager_unified_controller:3.0:*:*:*:*:*:*:*supportedcpe:2.3:h:oracle:micros_compact_workstation_3:-:*:*:*:*:*:*:*constrainedcpe:2.3:h:oracle:micros_es400:-:*:*:*:*:*:*:*constrainedcpe:2.3:h:oracle:micros_kitchen_display_system:-:*:*:*:*:*:*:*constrainedcpe:2.3:h:oracle:micros_workstation_5a:-:*:*:*:*:*:*:*constrainedcpe:2.3:h:oracle:micros_workstation_6:-:*:*:*:*:*:*:*constrainedcpe:2.3:h:synology:skynas:-:*:*:*:*:*:*:*constrainedcpe:2.3:h:synology:vs960hd:-:*:*:*:*:*:*:*constrainedcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*supportedcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*supportedcpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*supportedcpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*supportedcpe:2.3:o:oracle:micros_compact_workstation_3_firmware:310:*:*:*:*:*:*:*supportedcpe:2.3:o:oracle:micros_es400_firmware:*:*:*:*:*:*:*:*; start including 400; end including 410supportedcpe:2.3:o:oracle:micros_kitchen_display_system_firmware:210:*:*:*:*:*:*:*supportedcpe:2.3:o:oracle:micros_workstation_5a_firmware:5a:*:*:*:*:*:*:*supportedcpe:2.3:o:oracle:micros_workstation_6_firmware:*:*:*:*:*:*:*:*; start including 610; end including 655supportedcpe:2.3:o:synology:diskstation_manager:6.2:*:*:*:*:*:*:*supportedcpe:2.3:o:synology:skynas_firmware:-:*:*:*:*:*:*:*supportedcpe:2.3:o:synology:vs960hd_firmware:-:*:*:*:*:*:*:*supportedAssessments
CVSS by origin
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAV:L/AC:L/Au:N/C:C/I:C/A:CCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLimitations and unknowns
- KEV membership is authoritative for the catalog, not proof of exposure in any environment.
- EPSS is a dated model probability and not an individual-environment prediction.
- Affected or fixed status applies only to the exact cited product and version scope; unresolved scope remains unknown.
- NVD-carried upstream facts remain derivative and are not independent corroboration.
- Only NVD metrics validated under the generation-bound calculator are Public Priority eligible; direct CVE record metrics remain display-only.
- NVD CVSS source eligibility is closed: NVD-authored, exact record-source, or registered same-CVE container origin; unmapped sources remain display-only.
- Factor D is unknown in Public Core because no accepted canonical mapping-obligation ledger is present.
- Core replay supports the active and immediately prior generation; retrospective valid-at replay is deferred.