CVE-2021-31166: Microsoft HTTP Protocol Stack Remote Code Execution Vulnerability
CVSS: 9.8v3.1CriticalKEVAnalyzed
Published 11-05-2021Last modified 21-10-2025
Vulnerability summary
CVE-2021-31166 is a critical (CVSS 9.8) Use After Free vulnerability in Microsoft HTTP Protocol Stack. It is known to be exploited: CISA lists it, first on 06-04-2022. EPSS estimates a 99.87% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)EPSS score
99.87%
0%100%
Critical · +0.09 pp in 30 daysKEVListedCISA
RansomwareNone recordedNo known use recorded
Public exploits1metasploit
Timeline
- 11-05-2021PublishedVulnerability first disclosed.
- 06-04-2022Added to CISA KEVMicrosoft HTTP Protocol Stack Remote Code Execution Vulnerability
- 27-04-2022CISA remediation dueApply updates per vendor instructions.
- 21-10-2025Last modifiedVulnerability information updated.
Description
HTTP Protocol Stack Remote Code Execution Vulnerability
CVSS metrics
3 scores · 2 sources · 2 versionsCritical 9.8Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:CSourcesAll 2 agree
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
99.87%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
+0.09 pp
From 99.77% on 19-09-2026
19-09-202619-10-2026
EPSS score99.87%
Known exploited
Compare KEV catalogs- Added
- 06-04-2022
- Federal due date
- 27-04-2022
CISA required action
Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2021-31166
Public exploits
1 foundWindows IIS HTTP Protocol Stack DOS
auxiliary/dos/windows/http/http_sys_accept_encoding_dos_cve_2021_31166
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Microsoft8 products
- windows_10_2004< 10.0.19041.982
- windows_10_20h2< 10.0.19042.982
- windows 10 version 2004≥ 10.0.0, < 10.0.19041.982
- windows 10 version 20h2≥ 10.0.0, < 10.0.19042.982
- windows_server_2004< 10.0.19041.982
1 vendor · 8 products
References
3 links- portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31166X Refsource MISCPatchVendor Advisory
- packetstormsecurity.com/files/162722/Microsoft-HTTP-Protocol-Stack-Remote-Code-Execution.htmlX Refsource MISCThird Party AdvisoryVDB Entry
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-31166Government ResourceUS Government Resource