Wavense
VulnerabilitiesVendorsMy Stack
Wavense© 2026 Wavense. All rights reserved.Privacy PolicyTerms & Conditions
Vulnerabilities/CVE-2021-40444
Vulnerability dossier

CVE-2021-40444

MSHTML Remote Code Execution via Malicious Office Documents

VendormicrosoftPublishedSep 15, 2021SourceNVDWeaknessCWE-22
Act now

Actively exploited in the wild. Patch or mitigate immediately — don't wait for a maintenance window.

⚙ WeaponizedMetasploit module availableopen ↗
Severity
High · 8.8
CVSS base score
Exploitation
In the wild
CISA KEV · Metasploit
Predicted risk
97% model
EPSS forecast — overtaken by confirmed exploitation
Exposure
Remote
Exploitable over the network without credentials
01

What's the risk?

An unauthenticated attacker, remotely over the network, if a user is tricked into opening a malicious file or link, can tamper with data.

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.

How it's exploitedMITRE ATT&CK · inferred from weakness & vector
Initial Access
T1190Exploit Public-Facing Application
Execution
T1203
Exploitation for Client Execution

Inferred from the weakness type (CWE) and how the flaw is reached — the techniques an attacker would chain to exploit this. Real-world corroboration appears here as threat intel is folded in.

02

Who's exploiting it?

Corroborated threat activity referencing this CVE — with source and confidence, not inference.

Confirmed exploited in the wild. CISA KEV · catalogued Nov 3, 2021
campaignRansomware campaigns90CISA KEV

Named threat actors and observed ATT&CK techniques appear here as intel feeds are folded in — the ATT&CK chain above stays inferred until then.

03

Are we affected?

19
  • Affectedmicrosoft · windows_10_1507< 10.0.10240.19060↑ fixed 10.0.10240.19060
  • Affectedmicrosoft · windows_10_1607< 10.0.14393.4651↑ fixed 10.0.14393.4651
  • Affectedmicrosoft · windows_10_1809< 10.0.17763.2183↑ fixed 10.0.17763.2183
  • Affectedmicrosoft · windows_10_1909< 10.0.18363.1801↑ fixed 10.0.18363.1801
  • Affectedmicrosoft · windows_10_2004< 10.0.19041.1237↑ fixed 10.0.19041.1237
  • Affectedmicrosoft · windows_10_20h2< 10.0.19042.1237↑ fixed 10.0.19042.1237
  • Affectedmicrosoft · windows_10_21h1< 10.0.19043.1237↑ fixed 10.0.19043.1237
  • Affectedmicrosoft · windows_7all versions
  • Affectedmicrosoft · windows_8.1all versions
  • Affectedmicrosoft · windows_rt_8.1all versions
  • Affectedmicrosoft · windows_server_2004< 10.0.19041.1237↑ fixed 10.0.19041.1237
  • Affectedmicrosoft · windows_server_2008all versions
  • Affectedmicrosoft · windows_server_2008r2
  • Affectedmicrosoft · windows_server_2012all versions
  • Affectedmicrosoft · windows_server_2012all versions
  • Affectedmicrosoft · windows_server_2016< 10.0.14393.4651↑ fixed 10.0.14393.4651
  • Affectedmicrosoft · windows_server_2019< 10.0.17763.2183↑ fixed 10.0.17763.2183
  • Affectedmicrosoft · windows_server_2022< 10.0.20348.230↑ fixed 10.0.20348.230
  • Affectedmicrosoft · windows_server_20h2< 10.0.19042.1237↑ fixed 10.0.19042.1237
04

What to do

Generated by Wavense from the CVE record — an immediate mitigation and the permanent fix.

  1. !

    Mitigate now

    Until patches are applied, ensure Microsoft Defender Antivirus is updated to detection build 1.349.22.0 or newer to leverage existing protections. Educate users about the risks of opening unsolicited or suspicious Microsoft Office documents from untrusted sources. Additionally, enforcing least privilege for user accounts can limit the potential impact of a successful exploit.

  2. ✓

    Permanent fix

    The permanent resolution is to immediately apply the security updates released by Microsoft on September 14, 2021, to address this vulnerability. Consult the official Microsoft Security Update Guide for CVE-2021-40444 to identify and install the applicable updates for all affected Windows systems. Prompt patching is crucial to eliminate the remote code execution risk posed by this flaw.

Technical details— weakness, CVSS vector & calculator, related CVEs

Business impact

An attacker can achieve remote code execution on a vulnerable system simply by convincing a user to open a specially crafted Microsoft Office document. This can lead to full system compromise, allowing the attacker to install programs, view, change, or delete data, and create new accounts with full user rights. Such compromise can result in significant data loss, operational disruption, and potential lateral movement within the network.

Weakness

1
CWE-22Common Weakness Enumeration · MITRE definition

CVSS 3.1 details

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
0.0
/ 10.0 base
High severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L
Exploitability metrics
Attack VectorAV
Remotely exploitable across a network
Attack ComplexityAC
No special conditions required
Privileges RequiredPR
No authorization needed
User InteractionUI
A user must take an action
Impact metrics
ScopeS
Impact extends to other components
ConfidentialityC
Limited disclosure
IntegrityI
Total loss of integrity
AvailabilityA
Reduced performance or interruptions

Related vulnerabilities

Other CVEs affecting windows 10 1507

NVD
10.0Critical
CVE-2020-1350KEVExploit likely

A remote code execution vulnerability exists in Windows Domain Name System servers when they fail to properly handle requests, aka 'Windows DNS Server Remote Code Execution Vulnerability'.

microsoftCWE-20Improper Input ValidationNetworkLow effortNo authNo interactionCIA
2020-07-14
NVD
10.0Critical
CVE-2020-0796KEV⚙ WeaponizedExploit likely

A remote code execution vulnerability exists in the way that the Microsoft Server Message Block 3.1.1 (SMBv3) protocol handles certain requests, aka 'Windows SMBv3 Client/Server Remote Code Execution Vulnerability'.

microsoftCWE-119Memory Buffer ErrorNetworkLow effortNo authNo interactionCIA
2020-03-12
NVD
9.8Critical
CVE-2026-33824KEV

Double free in Windows IKE Extension allows an unauthorized attacker to execute code over a network.

microsoftCWE-415Double FreeNetworkLow effortNo authNo interactionCIA
2026-04-14
NVD
9.8Critical
CVE-2025-59287KEV⚙ WeaponizedExploit likely

Deserialization of untrusted data in Windows Server Update Service allows an unauthorized attacker to execute code over a network.

microsoftCWE-502Deserialization of Untrusted DataNetworkLow effortNo authNo interactionCIA
2025-10-14
NVD
9.8Critical
CVE-2021-31166KEV⚙ WeaponizedExploit likely

HTTP Protocol Stack Remote Code Execution Vulnerability

microsoftCWE-416Use After FreeNetworkLow effortNo authNo interactionCIA
2021-05-11
NVD
9.8Critical
CVE-2019-0708KEV⚙ WeaponizedExploit likely

A remote code execution vulnerability exists in Remote Desktop Services formerly known as Terminal Services when an unauthenticated attacker connects to the target system using RDP and sends specially crafted requests, aka 'Remote Desktop Services Remote Code Execution Vulnerability'.

huaweiCWE-416Use After FreeNetworkLow effortNo authNo interactionCIA
2019-05-16
NVD
9.8Critical
CVE-2017-8543KEVExploit likely

Microsoft Windows XP SP3, Windows XP x64 XP2, Windows Server 2003 SP2, Windows Vista, Windows 7 SP1, Windows Server 2008 SP2 and R2 SP1, Windows 8, Windows 8.1 and Windows RT 8.1, Windows Server 2012 and R2, Windows 10 Gold, 1511, 1607, and 1703, and Windows Server 2016 allow an attacker to take control of the affected system when Windows Search fails to handle objects in memory, aka "Windows Search Remote Code Execution Vulnerability".

microsoftCWE-281Improper Preservation of PermissionsNetworkLow effortNo authNo interactionCIA
2017-06-15
NVD
9.8Critical
CVE-2015-1635KEV⚙ WeaponizedExploit likely

HTTP.sys in Microsoft Windows 7 SP1, Windows Server 2008 R2 SP1, Windows 8, Windows 8.1, and Windows Server 2012 Gold and R2 allows remote attackers to execute arbitrary code via crafted HTTP requests, aka "HTTP.sys Remote Code Execution Vulnerability."

microsoftCWE-94Code InjectionNetworkLow effortNo authNo interactionCIA
2015-04-14
0.0
/ 10.0 base
High severity
Key facts
CVE ID
CVE-2021-40444
Published
Sep 15, 2021
Last modified
Aug 10, 2026
CVSS
8.8 (v3.1)
EPSS
97.45%
In CISA KEV
Yes
Confidence
100/100
Weakness
CWE-22
Fixed in
10.0.10240.19060, 10.0.14393.4651, 10.0.17763.2183…
Timeline
  1. Sep 15, 2021Published to NVDNVD
  2. Aug 10, 2026Record last modifiedNVD
  3. Aug 15, 2026AI analysis generatedWavense
View on NVD