CVE-2021-40444

Microsoft MSHTML Remote Code Execution Vulnerability

Published 15 Sep 2021 Updated 10 Aug 2026 CNA: microsoft

Known exploited

CISA added this CVE to its list of known exploited vulnerabilities on 3 Nov 2021. US federal agencies had to act by 17 Nov 2021.

Name
Microsoft MSHTML Remote Code Execution Vulnerability
Required action
Apply updates per vendor instructions.
Ransomware
Known to be used in ransomware campaigns
Notes
https://nvd.nist.gov/vuln/detail/CVE-2021-40444

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.

Severity (CVSS)

8.8 high CVSS 3.1 from microsoft (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L/E:P/RL:O/RC:C
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality low, integrity high, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 97.8%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.9% of all scored CVEs. Scores of 2 Dec 2026.

The assessment of CISA (SSVC, 8 Sep 2021):

Exploitation
active: CISA has reliable evidence of exploitation in the wild
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

Affected products

As the CNA lists them.

ProductVersions
Windows 10 Version 1507
affected from 10.0.10240.0, before 10.0.10240.19060
Windows 10 Version 1607
affected from 10.0.14393.0, before 10.0.14393.4651
Windows 10 Version 1809
affected from 10.0.17763.0, before 10.0.17763.2183
Windows 10 Version 1809
affected from 10.0.0, before 10.0.17763.2183
Windows 10 Version 1909
affected from 10.0.0, before 10.0.18363.1801
Windows 10 Version 2004
affected from 10.0.0, before 10.0.19041.1237
Windows 10 Version 20H2
affected from 10.0.0, before 10.0.19042.1237
Windows 10 Version 21H1
affected from 10.0.0, before 10.0.19043.1237
Windows 7
affected from 6.1.0, before 6.1.7601.25712
Windows 7 Service Pack 1
affected from 6.1.0, before 6.1.7601.25712
Windows 8.1
affected from 6.3.0, before 6.3.9600.20120
Windows Server 2008 R2 Service Pack 1
affected from 6.1.7601.0, before 6.1.7601.25712
Windows Server 2008 R2 Service Pack 1 (Server Core installation)
affected from 6.1.7601.0, before 6.1.7601.25712
Windows Server 2008 Service Pack 2
affected from 6.0.6003.0, before 6.0.6003.21218
Windows Server 2008 Service Pack 2 (Server Core installation)
affected from 6.0.6003.0, before 6.0.6003.21218
Windows Server 2012
affected from 6.2.9200.0, before 6.2.9200.23462
Windows Server 2012 (Server Core installation)
affected from 6.2.9200.0, before 6.2.9200.23462
Windows Server 2012 R2
affected from 6.3.9600.0, before 6.3.9600.20120
Windows Server 2012 R2 (Server Core installation)
affected from 6.3.9600.0, before 6.3.9600.20120
Windows Server 2016
affected from 10.0.14393.0, before 10.0.14393.4651
Windows Server 2016 (Server Core installation)
affected from 10.0.14393.0, before 10.0.14393.4651
Windows Server 2019
affected from 10.0.17763.0, before 10.0.17763.2183
Windows Server 2019 (Server Core installation)
affected from 10.0.17763.0, before 10.0.17763.2183
Windows Server 2022
affected from 10.0.20348.0, before 10.0.20348.230
Windows Server version 2004
affected from 10.0.0, before 10.0.19041.1237
Windows Server version 20H2
affected from 10.0.0, before 10.0.19042.1237

Is my server affected?

This CVE is in Windows 10 Version 1507 of Microsoft, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Other references

Source: the record CVE-2021-40444 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.