CVE-2021-31166: Microsoft HTTP Protocol Stack Remote Code Execution Vulnerability
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.
Listed as exploited by CISA (06-04-2022)
Source freshness unavailable
How is this decided?Timeline
- 11-05-2021PublishedVulnerability first disclosed.
- 06-04-2022Added to CISA KEVExploitedMicrosoft HTTP Protocol Stack Remote Code Execution Vulnerability
- 27-04-2022CISA remediation dueDeadline passedApply 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 versions- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
99.87%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 99.87% on 04-11-2026
Known exploited
Compare KEV catalogs- Added
- 06-04-2022
- Federal due date
- 27-04-2022
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
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
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
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