← Vulnerability feed

Vulnerability record · CVE-2021-33742 · published 8 June 2021

CVE-2021-33742: Windows MSHTML Platform out-of-bounds write enables remote code execution

Microsoft · Windows 10 1507

CVE-2021-33742 is an out-of-bounds write (CWE-787) in the Windows MSHTML Platform that leads to remote code execution. It affects a broad set of Windows client and server releases, and Microsoft has published a patch. Because MSHTML is the legacy rendering engine still reachable through many Windows components, the flaw matters to any organization that has not applied the June 2021 updates.

7.5 CVSS 3.1 High CISA KEV since 3 Nov 2021 EPSS 59% · top 0.9% CWE-787 · Out-of-bounds write
7.5CVSS 3.1 base score, v2 6.8
59%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
14Affected product versions listed by NVD
3References
17 Jun 2026Last modified by NVD

Description

Windows MSHTML Platform Remote Code Execution Vulnerability

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: medium.

high priorityIt is confirmed exploited in the wild and listed in CISA KEV with a very high EPSS score, but exploitation requires user interaction and is rated high complexity, so it is high rather than critical.

What it is

CVE-2021-33742 is an out-of-bounds write (CWE-787) in the Windows MSHTML Platform that leads to remote code execution. It affects a broad set of Windows client and server releases, and Microsoft has published a patch. Because MSHTML is the legacy rendering engine still reachable through many Windows components, the flaw matters to any organization that has not applied the June 2021 updates.

Impact

A successful attacker can execute arbitrary code in the context of the affected process, which on a user's system typically means the user's privileges. That can lead to full compromise of the host, data theft, or use as a foothold for lateral movement.

Attack surface

The CVSS vector is network-reachable (AV:N) with no privileges required (PR:N), but exploitation requires user interaction (UI:R) and the attack is rated high complexity (AC:H). In practice this means a victim must be lured into opening or rendering attacker-controlled content through an MSHTML-based path.

Exploitation

CISA added this CVE to the Known Exploited Vulnerabilities catalog on 2021-11-03, confirming exploitation in the wild, and EPSS gives a 30-day probability of about 0.59 (99th percentile). The record does not document ransomware use.

What to do

  • Apply the Microsoft security update for CVE-2021-33742 on all affected Windows client and server versions; this is the primary fix.
  • Prioritize internet-facing and user-workstation systems, and verify patch status against the CISA KEV due date of 2021-11-17.
  • Reduce exposure of legacy MSHTML rendering paths where business needs allow, and restrict untrusted web content.
  • Enforce email and web filtering to block known malicious documents and links, and keep endpoint protection signatures current.

Detection

  • Hunt for processes such as Internet Explorer, mshta.exe, or other MSHTML-hosting processes spawning unexpected child processes like cmd.exe, powershell.exe, or script interpreters.
  • Monitor for Office or browser applications writing executables or scripts to user-writable directories shortly after opening a document or URL.
  • Review proxy and DNS logs for connections to newly registered or low-reputation domains that coincide with document or web content delivery.
  • Alert on crashes or abnormal terminations in MSHTML-related processes, which can accompany out-of-bounds write exploitation attempts.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2021-33742 to the Known Exploited Vulnerabilities catalog on 3 November 2021 as "Microsoft Windows MSHTML Platform Remote Code Execution Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 17 November 2021.

Affected products

14 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-33742 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2020-0796Microsoft SMBv3 buffer overflow remote code executionCVE-2020-0796 is a remote code execution flaw in how Microsoft's SMB 3.1.1 protocol handles certain requests, caused by a memory buffer overflow (CWE…KEVEPSS 100%analysed9.8CVE-2021-31166Microsoft Windows HTTP Protocol Stack use-after-free RCEThe HTTP Protocol Stack in Microsoft Windows 10 2004/20H2 and Windows Server 2004/20H2 contains a use-after-free (CWE-416) that allows remote code ex…KEVEPSS 100%analysed9.8CVE-2017-8543Windows Search memory handling flaw allows remote code executionWindows Search fails to properly handle objects in memory, allowing an unauthenticated remote attacker to execute code on affected Windows systems. T…KEVEPSS 74%analysed8.8CVE-2022-26923Microsoft Active Directory Domain Services certificate validation privilege escalationActive Directory Domain Services fails to properly validate certificate attributes, allowing a low-privileged domain user to obtain a certificate tha…KEVEPSS 84%analysed8.8CVE-2021-40444Microsoft MSHTML remote code execution via malicious Office documentCVE-2021-40444 is a remote code execution flaw in the MSHTML browser rendering engine on Microsoft Windows. An attacker can embed a malicious ActiveX…KEVEPSS 98%analysed8.8CVE-2021-34527Windows Print Spooler privileged file operation RCE (PrintNightmare)The Windows Print Spooler service improperly performs privileged file operations, allowing an attacker to execute arbitrary code as SYSTEM. This is t…KEVEPSS 100%analysed8.8CVE-2020-1020Windows Adobe Type Manager Library font parsing out-of-bounds write RCEMicrosoft Windows Adobe Type Manager Library mishandles a specially crafted multi-master font in Adobe Type 1 PostScript format, causing an out-of-bo…KEVEPSS 65%analysed8.8CVE-2019-0903Windows GDI memory handling remote code executionWindows Graphics Device Interface (GDI) mishandles objects in memory, allowing remote code execution. The record gives no root-cause detail beyond th…KEVEPSS 22%analysed

Source: NIST National Vulnerability Database (record CVE-2021-33742), CISA KEV, FIRST EPSS (scores of 2026-11-22). This page is refreshed as NVD updates the record.