Skip to content
Server Security Center
KEVcritical9.8

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

Microsoft HTTP Protocol Stack · listed in the CISA catalog of actively exploited vulnerabilities since 2022-04-06.

CVSS v3.1 (CVE record)
9.8
critical
EPSS (exploit probability, 30 days)
99.8%
among the highest 0.1% of all CVEs
Added to CISA KEV
2022-04-06
US federal due date 2022-04-27
Automatable (CISA SSVC)
yes
technical impact: total

What is CVE-2021-31166?

Microsoft HTTP Protocol Stack contains a vulnerability in http.sys that allows for remote code execution.

CISA required action: Apply updates per vendor instructions.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Microsoft Windows 10 Version 200432-bit, ARM64, x64
    Affected
    • < 10.0.19041.982
    Fixed in
    • 10.0.19041.982
  • Microsoft Windows Server version 2004x64
    Affected
    • < 10.0.19041.982
    Fixed in
    • 10.0.19041.982
  • Microsoft Windows 10 Version 20H232-bit, ARM64
    Affected
    • < 10.0.19042.982
    Fixed in
    • 10.0.19042.982
  • Microsoft Windows Server version 20H2x64
    Affected
    • < 10.0.19042.982
    Fixed in
    • 10.0.19042.982

How to fix it

  • Update to the fixed version for your product:
    • Microsoft Windows 10 Version 2004: 10.0.19041.982
    • Microsoft Windows Server version 2004: 10.0.19041.982
    • Microsoft Windows 10 Version 20H2: 10.0.19042.982
    • Microsoft Windows Server version 20H2: 10.0.19042.982
  • Vendor advisory: portal.msrc.microsoft.com/en-US/security-guidance/advisor…
  • CISA's deadline for US federal agencies: 2022-04-27 (passed) – a useful benchmark for everyone else, too.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-416 Use After Free

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.