CVE-2021-31166
Description
HTTP Protocol Stack Remote Code Execution Vulnerability
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C · source cna
Exploit chance (EPSS)
99.867%
chance of exploitation in the next 30 days
among the highest of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-04-06
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 1
Nuclei templates: 0
Weakness
- CWE-416: Use After Free
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Microsoft HTTP Protocol Stack Remote Code Execution Vulnerability |
|---|---|
| Vendor / product | Microsoft / HTTP Protocol Stack |
| Date added | 2022-04-06 |
| Federal remediation due date | 2022-04-27 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-02-07 |
Timeline
- 2021-05-11Published by the CNA19:11 UTC
- 2022-04-06Added to the CISA KEV catalog330 days after publication
- 2025-02-07CISA SSVC decision recorded1368 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| microsoft windows_10_1809 | 10.0.19041.982no fix listed | not listed |
| microsoft windows_10_2004 | before 10.0.19041.982fixed in 10.0.19041.982 | 10.0.19041.982 |
| microsoft windows_10_20h2 | before 10.0.19042.982fixed in 10.0.19042.98210.0.19042.982no fix listed | 10.0.19042.982not listed |
| microsoft windows_server_2004 | before 10.0.19041.982fixed in 10.0.19041.98210.0.19041.982no fix listed | 10.0.19041.982not listed |
| microsoft windows_server_20h2 | before 10.0.19042.982fixed in 10.0.19042.98210.0.19042.982no fix listed | 10.0.19042.982not listed |
References
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31166
- http://packetstormsecurity.com/files/162722/Microsoft-HTTP-Protocol-Stack-Remote-Code-Execution.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-31166
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-31166'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-31166'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-31166'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-31166'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2021-31166'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).