cve.bz

CVE-2021-40444 Microsoft MSHTML Remote Code Execution Vulnerability

8.8 highKEVExploitEPSS 98%Fix available

High (8.8) in Microsoft MSHTML. In CISA KEV since 2021-11-03, with known ransomware use. EPSS 98% estimated probability of exploitation activity in the next 30 days.

On this page
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 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
EPSS
98% (unchanged from 98% a week ago; 98% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2021-11-03, due 2021-11-17, known ransomware use
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2021-09-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-40444 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-40444?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-40444?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-40444 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

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

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSETumbleweedpython-oletools0.60.2-2.4openSUSE-SU-2026:12022-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

Public exploits

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON