Live threats

All CVEs / Microsoft

CVE-2021-31166Microsoft HTTP Protocol Stack

Remote Code Execution in Microsoft HTTP Protocol Stack

Critical 9.8 KEV No auth neededHigh EPSS

Priority
84
CVSS 3.1
9.8
EPSS
99.9%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Apr 6, 2022
CISA deadline
Apr 27, 2022
Ransomware use
Unknown
Published
May 11, 2021
Updated
Jun 17, 2026
Category
Operating system · Windows
Weakness (CWE)
CWE-416
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Microsoft's HTTP Protocol Stack (http.sys) contains a use-after-free vulnerability that allows remote code execution without authentication. A remote attacker can exploit this flaw by sending specially crafted HTTP requests. CISA confirmed this vulnerability is actively exploited.

Show the original NVD text

HTTP Protocol Stack Remote Code Execution Vulnerability

Source text, unmodified. NVD.

Exploitation confirmed by CISA

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

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 10.0.19041.982, 10.0.19042.982

Update Windows 10 and Windows Server 2004/20H2 to patched versions or later through Windows Update.

Vendor advisory · portal.msrc.microsoft.com ↗

  1. Apply the vendor's security update for HTTP Protocol Stack.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was April 27, 2022.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
microsoftwindows_10_2004< 10.0.19041.982
microsoftwindows_10_20h2< 10.0.19042.982
microsoftwindows_server_2004< 10.0.19041.982
microsoftwindows_server_20h2< 10.0.19042.982

Official sources

References

Links published by the sources. Open them with care.