HTTP Protocol Stack Remote Code Execution Vulnerability
CVE-2021-31166
Score elevated to 9.8 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2022-04-06), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 9.8 retained for reference. Confidence: HIGH.
- Actively exploited in the wild (CISA-KEV)
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(high)
- EG Risk
- 99(Act)EG Risk 99/100SSVC: Act
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation100% × 40%Automatability100% × 15%Action: Fix now — active exploitation, automatable, high impact. - EPSS
- 99.9%
- KEV
- ⚠ Exploited
Published
May 11, 2021
Last Modified
October 30, 2025
Advisory Details (3)
Auto-updated May 26, 2026Known Exploited Vulnerabilities Catalog | CISA
Known Exploited Vulnerabilities Catalog | CISA. Listed in CISA Known Exploited Vulnerabilities catalog.
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-31166Security Update Guide - Microsoft Security Response Center
Security Update Guide - Microsoft Security Response Center. Patch available via Microsoft Security Update
https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31166Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(1)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 58× in last 7d / 365× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 704 total refreshes for this CVE.
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 02:00 UTCEG score recompute
- 2026-07-22 23:05 UTCVendor advisory
- 2026-07-22 23:05 UTCGHSA enrichment
- 2026-07-22 22:47 UTCEG score recompute
- 2026-07-22 19:40 UTCCISA KEV update
- 2026-07-22 19:20 UTCGHSA enrichment
- 2026-07-22 15:35 UTCVendor advisory
- 2026-07-22 15:35 UTCGHSA enrichment
- 2026-07-22 11:51 UTCVendor advisory
- 2026-07-22 11:51 UTCGHSA enrichment
- 2026-07-22 08:06 UTCVendor advisory
- 2026-07-22 08:05 UTCGHSA enrichment
- 2026-07-22 04:21 UTCVendor advisory
- 2026-07-22 04:21 UTCGHSA enrichment
- 2026-07-22 00:35 UTCVendor advisory
- 2026-07-22 00:35 UTCGHSA enrichment
- 2026-07-21 20:51 UTCVendor advisory
- 2026-07-21 20:50 UTCGHSA enrichment
- 2026-07-21 17:04 UTCVendor advisory
- 2026-07-21 17:04 UTCGHSA enrichment
- 2026-07-21 14:37 UTCCISA KEV update
- 2026-07-21 13:20 UTCVendor advisory
- 2026-07-21 13:20 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-07-21 09:35 UTCVendor advisory
- 2026-07-21 09:35 UTCGHSA enrichment
- 2026-07-21 05:49 UTCVendor advisory
- 2026-07-21 05:49 UTCGHSA enrichment
- 2026-07-21 02:04 UTCVendor advisory
- 2026-07-21 02:04 UTCGHSA enrichment
- 2026-07-20 22:18 UTCVendor advisory
- 2026-07-20 22:18 UTCGHSA enrichment
- 2026-07-20 18:33 UTCVendor advisory
- 2026-07-20 18:33 UTCGHSA enrichment
- 2026-07-20 14:49 UTCGHSA enrichment
- 2026-07-20 11:02 UTCGHSA enrichment
- 2026-07-20 07:17 UTCVendor advisory
- 2026-07-20 07:17 UTCGHSA enrichment
- 2026-07-20 03:33 UTCVendor advisory
- 2026-07-20 03:33 UTCGHSA enrichment
- 2026-07-19 23:48 UTCVendor advisory
- 2026-07-19 23:48 UTCGHSA enrichment
- 2026-07-19 20:03 UTCVendor advisory
- 2026-07-19 20:03 UTCGHSA enrichment
- 2026-07-19 16:19 UTCEG score recompute
- 2026-07-19 16:19 UTCVendor advisory
- 2026-07-19 16:18 UTCGHSA enrichment
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 12:34 UTCVendor advisory
- 2026-07-19 12:34 UTCGHSA enrichment
- 2026-07-19 08:50 UTCVendor advisory
- 2026-07-19 08:50 UTCGHSA enrichment
- 2026-07-19 05:05 UTCVendor advisory
- 2026-07-19 05:05 UTCGHSA enrichment
- 2026-07-19 01:20 UTCGHSA enrichment
- 2026-07-18 21:35 UTCVendor advisory
- 2026-07-18 21:35 UTCGHSA enrichment
- 2026-07-18 17:49 UTCVendor advisory
- 2026-07-18 17:49 UTCGHSA enrichment
- 2026-07-18 14:05 UTCVendor advisory
- 2026-07-18 14:05 UTCGHSA enrichment
- 2026-07-18 10:21 UTCVendor advisory
- 2026-07-18 10:21 UTCGHSA enrichment
- 2026-07-18 06:36 UTCVendor advisory
- 2026-07-18 06:36 UTCGHSA enrichment
- 2026-07-18 02:52 UTCVendor advisory
- 2026-07-18 02:52 UTCGHSA enrichment
- 2026-07-17 23:08 UTCVendor advisory
- 2026-07-17 23:08 UTCGHSA enrichment
- 2026-07-17 19:24 UTCVendor advisory
- 2026-07-17 19:24 UTCGHSA enrichment
- 2026-07-17 15:40 UTCVendor advisory
- 2026-07-17 15:40 UTCGHSA enrichment
- 2026-07-17 11:56 UTCVendor advisory
- 2026-07-17 11:56 UTCGHSA enrichment
- 2026-07-17 08:12 UTCEG score recompute
- 2026-07-17 08:12 UTCVendor advisory
- 2026-07-17 08:12 UTCGHSA enrichment
- 2026-07-17 04:28 UTCVendor advisory
- 2026-07-17 04:28 UTCGHSA enrichment
- 2026-07-17 00:44 UTCVendor advisory
- 2026-07-17 00:44 UTCGHSA enrichment
- 2026-07-16 20:57 UTCVendor advisory
- 2026-07-16 20:57 UTCGHSA enrichment
- 2026-07-16 17:12 UTCVendor advisory
- 2026-07-16 17:12 UTCGHSA enrichment
- 2026-07-16 17:04 UTCCISA KEV update
- 2026-07-16 13:28 UTCVendor advisory
- 2026-07-16 13:28 UTCGHSA enrichment
- 2026-07-16 09:44 UTCVendor advisory
- 2026-07-16 09:44 UTCGHSA enrichment
- 2026-07-16 06:00 UTCVendor advisory
- 2026-07-16 06:00 UTCGHSA enrichment
- 2026-07-16 02:15 UTCVendor advisory
- 2026-07-16 02:15 UTCGHSA enrichment
- 2026-07-15 22:31 UTCVendor advisory
- 2026-07-15 22:31 UTCGHSA enrichment
- 2026-07-15 18:46 UTCVendor advisory
- 2026-07-15 18:46 UTCGHSA enrichment
Publicly available exploits
(10 references)Working exploit code is in the public domain (1 Metasploit module) (9 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoC0xmaximus/Home-DemolisherFirst seen Nov 22, 2022
PoC for CVE-2021-31166 and CVE-2022-21907
Open source ↗ - GitHub PoCiranzai/CVE-2021-31166-exploitFirst seen Oct 20, 2021
Just a simple CVE-2021-31166 exploit tool
Open source ↗ - GitHub PoCZZ-SOCMAP/CVE-2021-31166First seen Sep 27, 2021
Windows HTTP协议栈远程代码执行漏洞 CVE-2021-31166
Open source ↗ - GitHub PoCy0g3sh-99/CVE-2021-31166-ExploitFirst seen Jul 3, 2021
Exploit for MS Http Protocol Stack RCE vulnerability (CVE-2021-31166)
Open source ↗ - GitHub PoCzecopro/CVE-2021-31166First seen May 19, 2021
simple bash script for exploit CVE-2021-31166
Open source ↗ - GitHub PoCzha0gongz1/CVE-2021-31166First seen May 17, 2021
PoC for CVE-2021-31166, a remote HTTP.sys use-after-free triggered remotely. Although it was defined as remote command execution, it can only cause the system to crash.
Open source ↗ - GitHub PoCcorelight/CVE-2021-31166First seen May 17, 2021
HTTP Protocol Stack CVE-2021-31166
Open source ↗ - GitHub PoCmvlnetdev/CVE-2021-31166-detection-rulesFirst seen May 17, 2021
Different rules to detect if CVE-2021-31166 is being exploited
Open source ↗ - GitHub PoC0vercl0k/CVE-2021-31166First seen May 16, 2021
Proof of concept for CVE-2021-31166, a remote HTTP.sys use-after-free triggered remotely.
Open source ↗ - Metasploitauxiliary/dos/windows/http/http_sys_accept_encoding_dos_cve_2021_31166✓ verifiedFirst seen May 11, 2021
Windows IIS HTTP Protocol Stack DOS
Open source ↗
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc
- CVE-2006-10003EG 9.8CRITICAL
- CVE-2015-20107NVD 7.6EG 9.8EPSS 94%HIGH
- CVE-2013-7381EG 9.8CRITICAL
- CVE-2014-0048EG 9.8EPSS 93%CRITICAL
- CVE-2007-4559EG 9.8EPSS 98%CRITICAL
- CVE-2013-3900NVD 5.5EG 9.0 KEVEPSS 99%MEDIUM
- CVE-2013-2094NVD 8.4EG 9.0 KEVEPSS 99%HIGH
- CVE-2014-9356EG 8.6EPSS 91%HIGH
- CVE-2014-5282EG 8.1HIGH
- CVE-2014-8141EG 7.8EPSS 94%HIGH
Same CWE
10 shownCWE-416
- CVE-2010-3962NVD 8.1EG 9.0 KEVEPSS 100%HIGH
- CVE-2010-0806NVD 8.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2010-0249NVD 8.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2009-4324NVD 7.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2010-3328EG 8.8EPSS 98%HIGH
- CVE-2010-1772EG 8.8HIGH
- CVE-2010-1208EG 8.8EPSS 92%HIGH
- CVE-2010-0050EG 8.8EPSS 96%HIGH
- CVE-2010-0378EG 8.8EPSS 93%HIGH
- CVE-2009-3658EG 8.8EPSS 95%HIGH
Frequently asked(6)
What is CVE-2021-31166?
When was CVE-2021-31166 disclosed?
Is CVE-2021-31166 actively exploited?
What is the CVSS score of CVE-2021-31166?
Which products are affected by CVE-2021-31166?
How do I remediate CVE-2021-31166?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2021-31166
Is Your Infrastructure Affected by CVE-2021-31166?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.