# CVE-2021-31166: Microsoft HTTP Protocol Stack Remote Code Execution Vulnerability

- Priority: **Act now**
- Reason: Listed as exploited by CISA (06-04-2022)
- Next step: Check the vendor advisory
- Status: published
- Published: 2021-05-11 · Modified: 2025-10-21
- Record: https://cvemate.com/vulnerability/CVE-2021-31166 · JSON: https://cvemate.com/vulnerability/CVE-2021-31166/json

## Description

```text
HTTP Protocol Stack Remote Code Execution Vulnerability
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) 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
- EPSS: 99.867%, percentile 99.962%, as of 2026-12-04
- Known exploited (KEV): CISA listed 2022-04-06, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (metasploit)

## Affected

- microsoft windows\_10\_2004: \< 10.0.19041.982
- microsoft windows\_10\_20h2: \< 10.0.19042.982
- microsoft windows 10 version 2004: ≥ 10.0.0, \< 10.0.19041.982
- microsoft windows 10 version 20h2: ≥ 10.0.0, \< 10.0.19042.982
- microsoft windows\_server\_2004: \< 10.0.19041.982
- microsoft windows\_server\_20h2: \< 10.0.19042.982
- microsoft windows server version 2004: ≥ 10.0.0, \< 10.0.19041.982
- microsoft windows server version 20h2: ≥ 10.0.0, \< 10.0.19042.982

## 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>

---

Data as of 2026-12-05T02:31:24.942Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
