CVE-2021-31166
CVE-2021-31166 is a critical-severity vulnerability in Microsoft Windows 10 2004 with a CVSS 3.x base score of 9.8. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2022-04-06). The underlying weakness is classified as CWE-416.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 100% (100th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2022-04-06)
- EU (EUVD) id: EUVD-2021-18079
- EU exploitation: Flagged exploited in the ENISA EU Vulnerability Database (since 2022-04-06)
- Weakness: CWE-416
- Affected product: Microsoft Windows 10 2004
- Published:
- Last modified:
Description
HTTP Protocol Stack Remote Code Execution Vulnerability
Frequently asked questions
- What is CVE-2021-31166?
- HTTP Protocol Stack Remote Code Execution Vulnerability
- How severe is CVE-2021-31166?
- CVE-2021-31166 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-31166 being actively exploited?
- Yes. CVE-2021-31166 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2022-04-06, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2021-31166?
- CVE-2021-31166 primarily affects Microsoft Windows 10 2004. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-31166?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- Does CVE-2021-31166 have an EU (EUVD) identifier?
- Yes. CVE-2021-31166 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2021-18079. It is also flagged as exploited in the EUVD (since 2022-04-06).
- When was CVE-2021-31166 published?
- CVE-2021-31166 was published on 2021-05-11 and last updated on 2026-06-17.
References
- http://packetstormsecurity.com/files/162722/Microsoft-HTTP-Protocol-Stack-Remote-Code-Execution.html
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31166
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-31166
Affected products (4)
- cpe:2.3:o:microsoft:windows_10_2004:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_10_20h2:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_server_2004:*:*:*:*:*:*:*:*
- cpe:2.3:o:microsoft:windows_server_20h2:*:*:*:*:*:*:*:*
More vulnerabilities in Microsoft Windows 10 2004
- CVE-2021-40444 — High (CVSS 8.8): <p>Microsoft is investigating reports of a remote code execution vulnerability in MSHTML that affects Microsoft…
- CVE-2021-33739 — High (CVSS 8.4): Microsoft DWM Core Library Elevation of Privilege Vulnerability
- CVE-2022-38396 — High (CVSS 7.8): HP Factory Preinstalled Images on certain systems that shipped with Windows 10 versions 20H2 and earlier OS versions…
- CVE-2021-43226 — High (CVSS 7.8): Windows Common Log File System Driver Elevation of Privilege Vulnerability
- CVE-2021-41357 — High (CVSS 7.8): Win32k Elevation of Privilege Vulnerability
- CVE-2021-40450 — High (CVSS 7.8): Win32k Elevation of Privilege Vulnerability
All CVEs affecting Microsoft Windows 10 2004 →
Other CWE-416 (Use After Free) vulnerabilities
- CVE-2026-13782 — Critical (CVSS 10.0): Use after free in Browser in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the…
- CVE-2026-4725 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Graphics: Canvas2D component. This vulnerability was fixed in Firefox 149…
- CVE-2026-4688 — Critical (CVSS 10.0): Sandbox escape due to use-after-free in the Disability Access APIs component. This vulnerability was fixed in Firefox…
- CVE-2025-24085 — Critical (CVSS 10.0): A use after free issue was addressed with improved memory management. This issue is fixed in iOS 18.3 and iPadOS 18.3,…
- CVE-2024-43102 — Critical (CVSS 10.0): Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of…
- CVE-2021-32495 — Critical (CVSS 10.0): Radare2 has a use-after-free vulnerability in pyc parser's get_none_object function. Attacker can read freed memory…