# CVE-2021-3156

**CISA KEV**

> As of 2026-11-10, CVE-2021-3156 is a HIGH-severity vulnerability, CVSS v3.1 7.8, EPSS 99.9% (99.9th percentile). It is listed in the CISA Known Exploited Vulnerabilities catalog (added 2022-04-06), with a US federal remediation deadline of 2022-04-27. Threadlinqs Intelligence links 2 tracked threat campaigns to CVE-2021-3156, most recently “CTO at NCSC Weekly Summary (week ending July 26, 2026): Cl0p PTC Windchill/FlexPLM exploitation (CVE-2026-12569), SonicWall SMA 1000 zero-days (CVE-2026-15409/CVE-2026-15410), and multi-actor state-linked activity”.

**Last updated:** 2026-11-10

## What is CVE-2021-3156?

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.

The record classifies CVE-2021-3156 under weakness class [CWE-193](https://cwe.mitre.org/data/definitions/193.html). Its CVSS v3 base vector states that the flaw requires local access to the host, needs low-privilege credentials, needs no user interaction, and has high impact on confidentiality, integrity, availability. The identifier was first published 2123 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 7.8 — HIGH (`CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`)
- **EPSS (FIRST):** 99.9% probability of exploitation in the next 30 days, higher than 99.9% of all scored CVEs
- **CISA KEV:** Listed since 2022-04-06, federal remediation deadline 2022-04-27
- **Threadlinqs priority:** 9/10 — CISA KEV-listed, which Threadlinqs floors at 9
- **Published:** 2021-01-26

## Is CVE-2021-3156 being exploited?

CISA added CVE-2021-3156 to the Known Exploited Vulnerabilities catalog on 2022-04-06, which means the agency holds evidence of exploitation in the wild; US federal civilian agencies had to remediate it by 2022-04-27 under BOD 22-01. Weaponised exploit code for CVE-2021-3156 is publicly available. 11 public proof-of-concept repositories are tracked for this identifier. It currently carries a trending score of 53 in the Threadlinqs vulnerability feed.

- [blasty/CVE-2021-3156](https://github.com/blasty/CVE-2021-3156) (github)
- [worawit/CVE-2021-3156](https://github.com/worawit/CVE-2021-3156) (github)
- [stong/CVE-2021-3156](https://github.com/stong/CVE-2021-3156) (github)
- [LiveOverflow/pwnedit](https://github.com/LiveOverflow/pwnedit) (github)
- [Rvn0xsy/CVE-2021-3156-plus](https://github.com/Rvn0xsy/CVE-2021-3156-plus) (github)
- [CptGibbon/CVE-2021-3156](https://github.com/CptGibbon/CVE-2021-3156) (github)
- [reverse-ex/CVE-2021-3156](https://github.com/reverse-ex/CVE-2021-3156) (github)
- [0x4ndy/clif](https://github.com/0x4ndy/clif) (github)

## Affected products and versions

No affected-product or package list has been recorded for CVE-2021-3156 in the tracked sources. The vendor advisory and the references below are the authoritative statement of what is affected.

## How to fix CVE-2021-3156

Vendor advisory: [https://security.gentoo.org/glsa/202101-33](https://security.gentoo.org/glsa/202101-33). Because CVE-2021-3156 is KEV-listed, US federal civilian agencies were required to apply the vendor fix, or stop using the product, by 2022-04-27. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

## Threat activity tracking CVE-2021-3156

2 tracked threats in the Threadlinqs corpus reference CVE-2021-3156, either in the campaign’s CVE list or as an indicator on the campaign record.

- [CTO at NCSC Weekly Summary (week ending July 26, 2026): Cl0p PTC Windchill/FlexPLM exploitation (CVE-2026-12569), SonicWall SMA 1000 zero-days (CVE-2026-15409/CVE-2026-15410), and multi-actor state-linked activity](https://intel.threadlinqs.com/threat/TL-2026-5637) — HIGH · 2026-11-10
- [Chinese-speaking threat group UAT-10147 uses agentic AI to automate exploitation of internet-facing web servers](https://intel.threadlinqs.com/threat/TL-2026-2096) — HIGH · 2026-08-21

## Sources

Enriched from CVE.org, FIRST EPSS, CISA KEV, GitHub Security Advisories, public proof-of-concept repositories.

**Vendor advisory and patch**

- [security.gentoo.org — vendor advisory](https://security.gentoo.org/glsa/202101-33)
- [debian.org — vendor advisory](https://www.debian.org/security/2021/dsa-4839)
- [lists.fedoraproject.org — vendor advisory](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LHXK6ICO5AYLGFK2TAX5MZKUXTUKWOJY/)
- [lists.fedoraproject.org — vendor advisory (CALA5FTXIQBRRYUA2ZQNJXB6OQMAXEII)](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CALA5FTXIQBRRYUA2ZQNJXB6OQMAXEII/)
- [tools.cisco.com — vendor advisory](https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-sudo-privesc-jan2021-qnYQfcM)

**Third-party advisory**

- [kb.cert.org — third party advisory](https://www.kb.cert.org/vuls/id/794544)

**Mailing list and disclosure**

- [lists.debian.org — mailing list](https://lists.debian.org/debian-lts-announce/2021/01/msg00022.html)
- [seclists.org — mailing list](http://seclists.org/fulldisclosure/2021/Jan/79)
- [openwall.com — mailing list](http://www.openwall.com/lists/oss-security/2021/01/26/3)
- [openwall.com — mailing list (1)](http://www.openwall.com/lists/oss-security/2021/01/27/1)
- [openwall.com — mailing list (2)](http://www.openwall.com/lists/oss-security/2021/01/27/2)

**Other references**

- [oracle.com](https://www.oracle.com//security-alerts/cpujul2021.html)
- [sudo.ws](https://www.sudo.ws/stable.html#1.9.5p2)
- [openwall.com](https://www.openwall.com/lists/oss-security/2021/01/26/3)
- [packetstormsecurity.com](http://packetstormsecurity.com/files/161160/Sudo-Heap-Based-Buffer-Overflow.html)
- [security.netapp.com](https://security.netapp.com/advisory/ntap-20210128-0002/)

_Showing 16 of 20 recorded references._

Canonical: https://intel.threadlinqs.com/cve/CVE-2021-3156
Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Sign up free (Blue): https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents needs Purple: https://intel.threadlinqs.com/mcp
