Live threats

All CVEs / Microsoft

CVE-2021-40444Microsoft MSHTML

Remote Code Execution in Microsoft MSHTML for Windows

High 7.8 KEVRansomware High EPSS

Priority
72
CVSS 3.1
7.8
EPSS
97.8%
probability of exploitation in 30 days · percentile 100
Auth required
Yes
In KEV since
Nov 3, 2021
CISA deadline
Nov 17, 2021
Ransomware use
Confirmed
Published
Sep 15, 2021
Updated
Aug 10, 2026
Category
Operating system · Windows
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

MSHTML in Windows is vulnerable to remote code execution when an attacker crafts a malicious Office document with a specially designed ActiveX control. The attacker must convince the user to open the document; if successful, arbitrary code executes with the user's privileges. CISA confirmed this vulnerability is actively exploited, including in ransomware attacks.

Show the original NVD text

Microsoft is investigating reports of a remote code execution vulnerability in MSHTML that affects Microsoft Windows. Microsoft is aware of targeted attacks that attempt to exploit this vulnerability by using specially-crafted Microsoft Office documents. An attacker could craft a malicious ActiveX control to be used by a Microsoft Office document that hosts the browser rendering engine. The attacker would then have to convince the user to open the malicious document. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. Microsoft Defender Antivirus and Microsoft Defender for Endpoint both provide detection and protections for the known vulnerability. Customers should keep antimalware products up to date. Customers who utilize automatic updates do not need to take additional action. Enterprise customers who manage updates should select the detection build 1.349.22.0 or newer and deploy it across their environments. Microsoft Defender for Endpoint alerts will be displayed as: “Suspicious Cpl File Execution”. Upon completion of this investigation, Microsoft will take the appropriate action to help protect our customers. This may include providing a security update through our monthly release process or providing an out-of-cycle security update, depending on customer needs. Please see the Mitigations and Workaround sections for important information about steps you can take to protect your system from this vulnerability. UPDATE September 14, 2021: Microsoft has released security updates to address this vulnerability. Please see the Security Updates table for the applicable update for your system. We recommend that you install these updates immediately. Please see the FAQ for important information about which updates are applicable to your system.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

Microsoft MSHTML contains a unspecified vulnerability 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.10240.19060, 10.0.14393.4651, 10.0.17763.2183, 10.0.18363.1801, 10.0.19041.1237, 10.0.19042.1237, 10.0.19043.1237

Install Microsoft security updates immediately for your Windows 10 or Windows 7 version. Enable automatic updates if possible.

Vendor advisory · msrc.microsoft.com ↗

  1. Apply the vendor's security update for MSHTML.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was November 17, 2021.
  3. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
microsoftwindows_10_1507< 10.0.10240.19060
microsoftwindows_10_1607< 10.0.14393.4651
microsoftwindows_10_1809< 10.0.17763.2183
microsoftwindows_10_1909< 10.0.18363.1801
microsoftwindows_10_2004< 10.0.19041.1237
microsoftwindows_10_20h2< 10.0.19042.1237
microsoftwindows_10_21h1< 10.0.19043.1237
microsoftwindows_7all
microsoftwindows_8.1all
microsoftwindows_rt_8.1all
microsoftwindows_server_2004< 10.0.19041.1237
microsoftwindows_server_2008all
microsoftwindows_server_2008r2
microsoftwindows_server_2012all
microsoftwindows_server_2012all
microsoftwindows_server_2016< 10.0.14393.4651
microsoftwindows_server_2019< 10.0.17763.2183
microsoftwindows_server_2022< 10.0.20348.230
microsoftwindows_server_20h2< 10.0.19042.1237

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.