CVE-2021-40444
Microsoft MSHTML Remote Code Execution Vulnerability
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2021-09-15
- Last modified
- 2026-08-10
- Assigned by
- secure@microsoft.com
- CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
97.2 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2021-11-03, with a remediation deadline of 2021-11-17 for US federal agencies.
Required action: Apply updates per vendor instructions.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Microsoft | Windows 10 1507 | < 10.0.10240.19060 | Affected |
| Microsoft | Windows 10 1607 | < 10.0.14393.4651 | Affected |
| Microsoft | Windows 10 1809 | < 10.0.17763.2183 | Affected |
| Microsoft | Windows 10 1909 | < 10.0.18363.1801 | Affected |
| Microsoft | Windows 10 2004 | < 10.0.19041.1237 | Affected |
| Microsoft | Windows 10 20h2 | < 10.0.19042.1237 | Affected |
| Microsoft | Windows 10 21h1 | < 10.0.19043.1237 | Affected |
| Microsoft | Windows 7 | all versions listed | Affected |
| Microsoft | Windows 8.1 | all versions listed | Affected |
| Microsoft | Windows Rt 8.1 | all versions listed | Affected |
| Microsoft | Windows Server 2004 | < 10.0.19041.1237 | Affected |
| Microsoft | Windows Server 2008 | all versions listed | Affected |
| Microsoft | Windows Server 2008 | r2 | Affected |
| Microsoft | Windows Server 2012 | all versions listed | Affected |
| Microsoft | Windows Server 2016 | < 10.0.14393.4651 | Affected |
| Microsoft | Windows Server 2019 | < 10.0.17763.2183 | Affected |
| Microsoft | Windows Server 2022 | < 10.0.20348.230 | Affected |
| Microsoft | Windows Server 20h2 | < 10.0.19042.1237 | Affected |
Weakness type
-
CWE-22: Improper Limitation of a Pathname to a Restricted Directory
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special ele…
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-40444
- http://packetstormsecurity.com/files/164210/Microsoft-Windows-MSHTML-Overview.html
- http://packetstormsecurity.com/files/165214/Microsoft-Office-Word-MSHTML-Remote-Code-Exec…
- http://packetstormsecurity.com/files/167317/Microsoft-Office-MSDT-Follina-Proof-Of-Concep…
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-40444
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-40444
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.