← 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-2026-33824Double free in Windows IKE Extension enables remote code executionA double free flaw (CWE-415) exists in the Windows IKE Extension, reachable over the network by an unauthenticated attacker. Successful exploitation …KEVEPSS 1.6%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-2026-21510Windows Shell protection mechanism failure allows security feature bypassWindows Shell contains a protection mechanism failure (CWE-693) that lets an unauthorized attacker bypass a security feature over a network. The flaw…KEVEPSS 24%analysed8.8CVE-2026-21513Microsoft MSHTML security feature bypass on WindowsCVE-2026-21513 is a protection mechanism failure (CWE-693) in the Microsoft MSHTML Framework that lets an unauthorized attacker bypass a security fea…KEVEPSS 16%analysed8.8CVE-2025-33073Windows SMB improper access control allows privilege elevationWindows SMB contains an improper access control flaw (CWE-284) that lets an authorized attacker elevate privileges over the network. Microsoft rates …KEVEPSS 83%analysed8.8CVE-2025-33053Microsoft Windows WebDAV Internet Shortcut File Path Control RCEWindows Internet Shortcut (.url) files allow external control of a file name or path, which an unauthorized attacker can abuse to execute code over a…KEVEPSS 87%analysed

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