CVE-2021-40444Microsoft MSHTML
Remote Code Execution in Microsoft MSHTML for Windows
High 7.8 KEVRansomware High EPSS
Follow: this CVE · Microsoft · Microsoft MSHTML We alert you by email or Slack (account required).
- 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.
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.
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.
- Apply the vendor's security update for MSHTML.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was November 17, 2021.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| microsoft | windows_10_1507 | < 10.0.10240.19060 |
| microsoft | windows_10_1607 | < 10.0.14393.4651 |
| microsoft | windows_10_1809 | < 10.0.17763.2183 |
| microsoft | windows_10_1909 | < 10.0.18363.1801 |
| microsoft | windows_10_2004 | < 10.0.19041.1237 |
| microsoft | windows_10_20h2 | < 10.0.19042.1237 |
| microsoft | windows_10_21h1 | < 10.0.19043.1237 |
| microsoft | windows_7 | all |
| microsoft | windows_8.1 | all |
| microsoft | windows_rt_8.1 | all |
| microsoft | windows_server_2004 | < 10.0.19041.1237 |
| microsoft | windows_server_2008 | all |
| microsoft | windows_server_2008 | r2 |
| microsoft | windows_server_2012 | all |
| microsoft | windows_server_2012 | all |
| microsoft | windows_server_2016 | < 10.0.14393.4651 |
| microsoft | windows_server_2019 | < 10.0.17763.2183 |
| microsoft | windows_server_2022 | < 10.0.20348.230 |
| microsoft | windows_server_20h2 | < 10.0.19042.1237 |
Official advisories
- python313-oletools-0.60.2-2.4 on GA media · SUSE · openSUSE-SU-2026:12022-1 · Oct 4, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- msrc.microsoft.com Patch Vendor Advisory
- packetstormsecurity.com Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- portal.msrc.microsoft.com Mitigation Patch Vendor Advisory
- www.cisa.gov US Government Resource