PoC Monitor
← All CVEs
CVE-2021-3156published 26 Jan 2021 00:00 UTCData: JSON · API

Sudo

Sudo Heap-Based Buffer Overflow Vulnerability

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.

First public PoC 1.7 daysafter publication · 27 Jan 2021
Public PoCs8279 on GitHub · 3 Exploit-DB, Metasploit or nuclei · +2 suspicious, not counted
CVSS7.8high · scored by CISA ADP · CWE-193
CISA KEV 6 Apr 20221.2 years after publication

Timeline

Days relative to CVE publication
t=0+60+120+180+240+300+360+420CVE published26 Jan 2021 · t = 0First public PoC27 Jan 2021 · t+1.7dAdded to CISA KEV6 Apr 2022 · t+1.2y

First public PoC 1.7 days after publication; added to CISA KEV 1.2 years after publication. First PoC: unauth401/CVE-2021-3156 (created 27 Jan 2021, found by us: backfilled).

PoC repositories

Found on GitHub.

79 PoCs · 17 pending · 19 informational · 3 not a PoC · 17 suspicious or fake

PoCs 79
RepositoryCreatedFound by usStarsAssessment
r4j0x00/exploits 26 Aug 2020 −152 d backfilled 2,519 PoC older repo: PoC date unknown, not used for the first PoC
unauth401/CVE-2021-3156 27 Jan 2021 +1.7 d backfilled 1 PoC via PoC Index
ymrsmns/CVE-2021-3156 27 Jan 2021 +1.9 d backfilled 0 PoC via PoC Index
elbee-cyber/CVE-2021-3156-PATCHER 27 Jan 2021 +1.9 d backfilled 3 PoC via PoC Index
kernelzeroday/CVE-2021-3156-Baron-Samedit 28 Jan 2021 +2.1 d backfilled 18 PoC
yaunsky/cve-2021-3156 28 Jan 2021 +2.1 d backfilled 5 PoC via PoC Index
baka9moe/CVE-2021-3156-Exp 28 Jan 2021 +2.4 d backfilled 4 PoC
binw2018/CVE-2021-3156-SCRIPT 29 Jan 2021 +3.1 d backfilled 1 PoC
stong/CVE-2021-3156 30 Jan 2021 +4.1 d backfilled 430 PoC
nobodyatall648/CVE-2021-3156 30 Jan 2021 +4.5 d backfilled 1 PoC
blasty/CVE-2021-3156 30 Jan 2021 +4.9 d backfilled 1,033 PoC
Q4n/CVE-2021-3156 31 Jan 2021 +5.3 d backfilled 2 PoC via PoC Index
kal1gh0st/CVE-2021-3156 31 Jan 2021 +5.7 d backfilled 3 PoC via PoC Index
apogiatzis/docker-CVE-2021-3156 31 Jan 2021 +6 d backfilled 7 PoC
SantiagoSerrao/ScannerCVE-2021-3156 1 Feb 2021 +6.8 d backfilled 1 PoC via PoC Index
njahrckstr/exploits- 2 Feb 2021 +7.9 d backfilled 1 PoC via PoC Index
DanielAzulayy/CTF-2021 3 Feb 2021 +8.4 d backfilled 0 PoC
Flags · score 25
  • contains archives (flask_internals/admin-dir/admin_uploads/docs.zip)

Below the suspicion threshold (50); does not change the assessment.

dinhbaouit/CVE-2021-3156 3 Feb 2021 +8.4 d backfilled 5 PoC via PoC Index
CptGibbon/CVE-2021-3156 3 Feb 2021 +8.8 d backfilled 158 PoC
0xdevil/CVE-2021-3156 8 Feb 2021 +14 d backfilled 51 PoC
jm33-m0/CVE-2021-3156 9 Feb 2021 +14 d backfilled 16 PoC
Rvn0xsy/CVE-2021-3156-plus 9 Feb 2021 +15 d backfilled 204 PoC
oneoy/CVE-2021-3156 23 Feb 2021 +28 d backfilled 0 PoC
worawit/CVE-2021-3156 15 Mar 2021 +49 d backfilled 813 PoC
lmol/CVE-2021-3156 19 Mar 2021 +53 d backfilled 4 PoC
capturingcats/CVE-2021-3156 5 Apr 2021 +70 d backfilled 0 PoC via PoC Index
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

TheFlash2k/CVE-2021-3156 30 Jun 2021 +156 d backfilled 1 PoC via PoC Index
oriolOrnaque/TFG-Binary-exploitation 23 Jul 2021 +178 d backfilled 0 PoC
Exodusro/CVE-2021-3156 26 Jul 2021 +181 d backfilled 0 PoC
0x7183/CVE-2021-3156 13 Aug 2021 +200 d backfilled 1 PoC
sbladiamond/CVE-2021-3156 11 Sep 2021 +228 d backfilled 0 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Bubleh21/CVE-2021-3156 20 Oct 2021 +267 d backfilled 0 PoC
halissha/CVE-2021-3156 20 Oct 2021 +267 d backfilled 0 PoC
joaomagfreitas/tpas-binary-exploitation 3 Jan 2022 +343 d backfilled 2 PoC via PoC Index
chenaotian/CVE-2021-3156 27 Jan 2022 +1.0 y backfilled 10 PoC
puckiestyle/CVE-2021-3156 4 Mar 2022 +1.1 y backfilled 1 PoC
barebackbandit/CVE-2021-3156 10 Mar 2022 +1.1 y backfilled 0 PoC
grng3r/rs_exploits 14 Mar 2022 +1.1 y backfilled 0 PoC via PoC Index
RodricBr/CVE-2021-3156 18 Mar 2022 +1.1 y backfilled 1 PoC
weto91/GitHub_Search_CVE 26 Mar 2022 +1.2 y backfilled 0 PoC via PoC Index
juju306/CVE-2021-3156 26 May 2022 +1.3 y backfilled 1 PoC
q77190858/CVE-2021-3156 26 May 2022 +1.3 y backfilled 1 PoC
wangqian06/CVE-2021-3156 26 May 2022 +1.3 y backfilled 1 PoC
wangqian306/CVE-2021-3156 26 May 2022 +1.3 y backfilled 1 PoC
arvindshima/CVE-2021-3156 24 Jun 2022 +1.4 y backfilled 0 PoC
kldksd/server 2 Sep 2022 +1.6 y backfilled 0 PoC via PoC Index
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

PhuketIsland/CVE-2021-3156-centos7 3 Nov 2022 +1.8 y backfilled 30 PoC via PoC Index
hycheng15/CVE-2021-3156 25 Dec 2022 +1.9 y backfilled 0 PoC via PoC Index
meowhua15/CVE-2021-3156 25 Dec 2022 +1.9 y backfilled 0 PoC via PoC Index
pmihsan/Sudo-HeapBased-Buffer-Overflow 16 Jan 2023 +2.0 y backfilled 2 PoC via PoC Index
mutur4/CVE-2021-3156 11 May 2023 +2.3 y backfilled 0 PoC via PoC Index
PurpleOzone/PE_CVE-CVE-2021-3156 13 May 2023 +2.3 y backfilled 7 PoC
asepsaepdin/CVE-2021-3156 5 Sep 2023 +2.6 y backfilled 0 PoC
mrkronkz/exp 9 Nov 2023 +2.8 y backfilled 0 PoC via PoC Index
kasperyhr/CSCI620_FinalProject 26 Nov 2023 +2.8 y backfilled 0 PoC via PoC Index
DDayLuong/CVE-2021-3156 27 Dec 2023 +2.9 y backfilled 0 PoC via PoC Index
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

DASICS-ICT/DASICS-CVE-2021-3156 30 Dec 2023 +2.9 y backfilled 1 PoC
anukiii/Malware_Project_team3 11 Jan 2024 +3.0 y backfilled 0 PoC
wurwur/CVE-2021-3156 22 Jan 2024 +3.0 y backfilled 0 PoC via PoC Index
Whiteh4tWolf/Sudo-1.8.31-Root-Exploit 10 Apr 2024 +3.2 y backfilled 4 PoC via PoC Index
scaryPonens/cve_bot 3 May 2024 +3.3 y backfilled 0 PoC
lypd0/CVE-2021-3156-checker 14 May 2024 +3.3 y backfilled 2 Scanner
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

NormalPerson001/sudo-1.8.31 20 Jun 2024 +3.4 y backfilled 1 PoC via PoC Index
JeanR12/Persistence-Script-Script-Exploit- 13 Aug 2024 +3.5 y backfilled 0 PoC via PoC Index
duedahl/sudoedit_exploit 10 Nov 2024 +3.8 y backfilled 0 PoC via PoC Index
Bad3r/CVE-2021-3156-without-ip-command 13 Nov 2024 +3.8 y backfilled 0 PoC
Sebastianbedoya25/CVE-2021-3156 3 Dec 2024 +3.9 y backfilled 0 PoC via PoC Index
Sornphut/CVE-2021-3156-Heap-Based-Buffer-Overflow-in-Sudo-Baron-Samedit- 10 Mar 2025 +4.1 y backfilled 0 PoC via PoC Index
ZacharyKirkeby/CVE_a_Week 27 May 2025 +4.3 y backfilled 0 PoC via PoC Index
gmh5225/cve-2021-3156- 4 Jun 2025 +4.4 y backfilled 0 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

ConstantineFedorov/Review.CVE-2021-3156 9 Jun 2025 +4.4 y backfilled 0 PoC
TopskiyPavelQwertyGang/Review.CVE-2021-3156 9 Jun 2025 +4.4 y backfilled 0 PoC
Maalfer/Sudo-CVE-2021-3156 18 Jul 2025 +4.5 y backfilled 8 PoC via PoC Index
HuzaifaTariqAfzalKhan/CVE-Exploit-Research-Development-ITSOLERA 25 Aug 2025 +4.6 y backfilled 0 PoC via PoC Index
TheLeopard65/CVE-2021-3156-Baron-Samedit 11 Mar 2026 +5.1 y backfilled 2 PoC
ngtuonghung/CVE-2021-3156 19 Mar 2026 +5.1 y backfilled 0 PoC
Shams-Ul-Mehmood/CVE-2021-3156-Project 7 Aug 2026 +5.5 y backfilled 0 PoC
sandesh9978/CVE-2021-3156-Sudo-Checker 17 Sep 2026 +5.6 y backfilled 0 Scanner
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

d4ytox/CVE-2021-3156 31 Oct 2026 +5.8 y 14 Nov 2026 1 PoC
Pending 17
RepositoryCreatedFound by usStarsAssessment
LiveOverflow/pwnedit 29 Apr 2021 +93 d backfilled 226 Pending · repository exceeds size limit
Mhackiori/CVE-2021-3156 4 Jul 2022 +1.4 y backfilled 5 Pending · repository exceeds size limit via PoC Index
Robblackcatchai/porfolio-Baron-Samedit 27 May 2026 +5.3 y backfilled 0 Pending · mkdir /quarantine/Robblackcatchai__porfolio-Baron-Samedit-765024c8ffbe: permission denied
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

calonnuotcabe/CVE-2021-3156 30 May 2026 +5.3 y backfilled 0 Pending · mkdir /quarantine/calonnuotcabe__CVE-2021-3156-69a8167b85d6: permission denied
HanaBouikni/AppArmor-Simulation-CVE-2021-3156 14 Nov 2026 +5.8 y 15 Nov 2026 0 Pending
HanaBouikni/Volatility3-Forensics-Incident-Response 14 Nov 2026 +5.8 y 15 Nov 2026 0 Pending
CyberCommands/CVE-2021-3156 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
EthicalSecurity-Agency/Y3A-CVE-2021-3156 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
SamTruss/LMU-CVE-2021-3156 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
Superliverbun/cve-2021-3156- unknown backfilled 0 Pending · repository unavailable (HTTP 404)
Typical0day/CVE-2021-3156 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
Y3A/CVE-2021-3156 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
ZTK-009/CVE-2021-3156 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
baka9moe/CVE-2021-3156-TestReport unknown backfilled 0 Pending · repository unavailable (HTTP 404)
duongdz96/CVE-2021-3156-main unknown backfilled 0 Pending · repository unavailable (HTTP 404)
password520/CVE-2021-3156 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
voidlsd/CVE-2021-3156 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
Informational 19
RepositoryCreatedFound by usStarsAssessment
mr-r3b00t/CVE-2021-3156 26 Jan 2021 +20 h backfilled 35 Informational · write-up
nexcess/sudo_cve-2021-3156 27 Jan 2021 +1.6 d backfilled 0 Informational · write-up
ph4ntonn/CVE-2021-3156 28 Jan 2021 +2.4 d backfilled 3 Informational · write-up
mbcrump/CVE-2021-3156 29 Jan 2021 +3.8 d backfilled 38 Informational · write-up
Ashish-dawani/CVE-2021-3156-Patch 1 Feb 2021 +6.4 d backfilled 0 Informational · detection
perlun/sudo-1.8.3p1-patched 5 Feb 2021 +10 d backfilled 0 Informational · list
lockedbyte/slides 19 Feb 2021 +25 d backfilled 8 Informational · write-up
BearCat4/CVE-2021-3156 30 Mar 2021 +63 d backfilled 1 Informational · write-up
ajtech-hue/CVE-2021-3156-Mitigation-ShellScript-Build 5 May 2021 +99 d backfilled 0 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

d3c3ptic0n/CVE-2021-3156 27 Sep 2021 +244 d backfilled 0 Informational · write-up
ret2basic/SudoScience 14 Feb 2022 +1.1 y backfilled 0 Informational · write-up
rfago/tpas-binary-exploitation 9 Mar 2022 +1.1 y backfilled 0 Informational · write-up
Shuhaib88/Baron-Samedit-Heap-Buffer-Overflow-CVE-2021-3156 23 May 2025 +4.3 y backfilled 1 Informational · write-up
VilmarTuminskii/cve-2021-3156-sudo-lab 2 Jan 2026 +4.9 y backfilled 0 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

DakerQirszh/cve-2021-3156 5 Jan 2026 +4.9 y backfilled 0 Informational · detection
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Rana-Ali93/CVE-2021-3156-Sudo-Buffer-Overflow-Linux 18 Mar 2026 +5.1 y backfilled 0 Informational · write-up
IJBaig/CVE-2021-3156 7 Jul 2026 +5.4 y backfilled 0 Informational · write-up
WhatsWrongAndWhy/CVE-2021-3156 21 Jul 2026 +5.5 y backfilled 0 Informational · write-up
AmroYasserH/DFIR-CVE-2021-3156-Incident-Response 2 Nov 2026 +5.8 y 14 Nov 2026 0 Informational · detection
Not a PoC 3
RepositoryCreatedStarsAssessment
lockedbyte/CVE-Exploits 12 Dec 2020 −45 d 690 Not a PoC · unrelated
redhawkeye/sudo-exploit 25 Sep 2021 +243 d 17 Not a PoC · unrelated
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

0x4ndy/clif 28 Nov 2022 +1.8 y 100 Not a PoC · unrelated
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Suspicious or fake 17
RepositoryCreatedStarsAssessment
reverse-ex/CVE-2021-3156 27 Jan 2021 +1.7 d 112 Fake
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

freeFV/CVE-2021-3156 29 Jan 2021 +3.5 d 0 Fake
teamtopkarl/CVE-2021-3156 31 Jan 2021 +5.2 d 7 Fake
saucer-man/exploit 1 Feb 2021 +6.5 d 11 Fake
1N53C/CVE-2021-3156-PoC 6 Feb 2021 +12 d 7 Fake
gmldbd94/cve-2021-3156 9 Feb 2021 +14 d 0 Fake
greg-workspace/my_sudo_heap_overflow_exploit 31 Mar 2021 +64 d 0 Fake
donghyunlee00/CVE-2021-3156 25 Jun 2021 +150 d 1 Fake
blackberry/Falco-bypasses 15 Jul 2021 +171 d 91 Fake
musergi/CVE-2021-3156 13 Oct 2021 +261 d 2 Fake
sharkmoos/Baron-Samedit 1 Nov 2021 +280 d 0 Fake
ypl6/heaplens 22 Mar 2022 +1.2 y 2 Suspicious · score 55
Why suspicious
  • contains executables (tests/env-in-heap, tests/heap-dump)
  • no network code found (normal for a local exploit)
joshmcorreia/SDSU_Cyber_Security_Red_Team 4 Apr 2023 +2.2 y 0 Fake
shishirpandey18/CVE-2021-3156 12 May 2025 +4.3 y 0 Fake
Nerix-code/hello 13 May 2025 +4.3 y 0 Fake
WilliamQ28/Worst-autoLinPrivesc 28 Jul 2025 +4.5 y 0 Fake
Kranti08/CVE-2021-3156-Baron-Samedit 17 Jun 2026 +5.4 y 0 Suspicious · score 55
Why suspicious
  • contains executables (CVE-2021-3156_Source_Code/exploit_it, CVE-2021-3156_Source_Code/libnss_X/P0P_SH3LLZ_ .so.2)
  • no network code found (normal for a local exploit)

Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.