← Vulnerability feed

Vulnerability record · CVE-2018-0802 · published 10 January 2018

CVE-2018-0802: Microsoft Office Equation Editor Memory Corruption RCE

Microsoft · Office

Equation Editor in Microsoft Office 2007, 2010, 2013, and 2016 mishandles objects in memory, causing an out-of-bounds write (CWE-787) that can lead to remote code execution. Because Equation Editor content is embedded in ordinary Office documents, a crafted file can execute code in the context of the opening user. It is a distinct flaw from CVE-2018-0797 and CVE-2018-0812.

7.8 CVSS 3.1 High CISA KEV since 3 Nov 2021 Known ransomware use EPSS 93% · top 0.2% CWE-787 · Out-of-bounds write
7.8CVSS 3.1 base score, v2 9.3
93%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
3Affected product versions listed by NVD
15References, 6 tagged exploit
17 Jun 2026Last modified by NVD

Description

Equation Editor in Microsoft Office 2007, Microsoft Office 2010, Microsoft Office 2013, and Microsoft Office 2016 allow a remote code execution vulnerability due to the way objects are handled in memory, aka "Microsoft Office Memory Corruption Vulnerability". This CVE is unique from CVE-2018-0797 and CVE-2018-0812.

CVSS:3.1/AV:L/AC:L/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: high.

critical priorityIt is in CISA KEV with known ransomware use, has a very high EPSS score, public exploit code, and yields code execution on unpatched Office endpoints.

What it is

Equation Editor in Microsoft Office 2007, 2010, 2013, and 2016 mishandles objects in memory, causing an out-of-bounds write (CWE-787) that can lead to remote code execution. Because Equation Editor content is embedded in ordinary Office documents, a crafted file can execute code in the context of the opening user. It is a distinct flaw from CVE-2018-0797 and CVE-2018-0812.

Impact

An attacker who gets a victim to open a malicious document can execute arbitrary code with the privileges of that user, giving full control of confidentiality, integrity, and availability on the host. CISA KEV records known ransomware campaign use, so impact can extend to enterprise-wide encryption and disruption.

Attack surface

Reached locally when a user opens a specially crafted Office file containing a malicious Equation Editor object; the CVSS vector is AV:L/PR:N/UI:R, so no authentication is required but user interaction (opening the document) is. Delivery is typically via email attachment, web download, or shared file.

Exploitation

CISA added it to KEV on 2021-11-03 with known ransomware campaign use, and EPSS is 0.93289 (99.831st percentile), indicating very high likelihood of exploitation. Multiple references are tagged Exploit, including public proof-of-concept code.

What to do

  • Apply the Microsoft security update for CVE-2018-0802 to all affected Office versions and the Office Compatibility Pack.
  • Remove or disable Equation Editor (EQNEDT32.EXE) where it is not required, per Microsoft guidance.
  • Block or strip Equation Editor OLE objects and legacy .doc/.rtf content at email and web gateways.
  • Enforce Protected View and disable macros for documents from untrusted sources.
  • Track KEV remediation deadlines and confirm patched status across endpoints.

Detection

  • Monitor for EQNEDT32.EXE spawning child processes such as cmd.exe, powershell.exe, or wscript.exe.
  • Alert on Office applications writing executables or scripts to temp or startup directories.
  • Scan email and file shares for documents containing embedded Equation Editor objects, especially from external senders.
  • Hunt for known CVE-2018-0802 exploit artifacts and PoC-derived payload patterns in document metadata and process telemetry.

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-2018-0802 to the Known Exploited Vulnerabilities catalog on 3 November 2021 as "Microsoft Office Memory Corruption Vulnerability". CISA reports known use in ransomware campaigns. Required action: Apply updates per vendor instructions. Federal deadline 3 May 2022.

Affected products

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

References

Track CVE-2018-0802 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.

9.8CVE-2023-23397Microsoft Outlook improper input validation privilege escalationCVE-2023-23397 is a critical elevation of privilege flaw in Microsoft Outlook caused by improper input validation and an authentication bypass by cap…KEVEPSS 97%analysed8.8CVE-2023-35311Microsoft Outlook security feature bypass via TOCTOU race conditionCVE-2023-35311 is a security feature bypass in Microsoft Outlook caused by a time-of-check time-of-use (TOCTOU) race condition (CWE-367). It affects …KEVEPSS 16%analysed8.8CVE-2019-1297Microsoft Excel memory handling flaw allows remote code executionCVE-2019-1297 is a remote code execution vulnerability in Microsoft Excel caused by improper handling of objects in memory. An attacker who convinces…KEVEPSS 22%analysed8.8CVE-2019-0541Microsoft MSHTML engine input validation flaw allows remote code executionThe MSHTML engine in Microsoft Office, Internet Explorer and related viewers fails to properly validate input, allowing remote code execution. Becaus…KEVEPSS 53%analysed8.8CVE-2018-0798Microsoft Office Equation Editor memory corruption RCEEquation Editor in Microsoft Office 2007 through 2016 mishandles objects in memory, producing an out-of-bounds write (CWE-787) that can be turned int…KEVEPSS 95%analysed8.8CVE-2015-2424Microsoft Office memory corruption via crafted documentCVE-2015-2424 is an out-of-bounds write (CWE-787) in Microsoft PowerPoint and Word that is triggered when a crafted Office document is opened. A remo…KEVEPSS 40%analysed8.8CVE-2015-1770Microsoft Office uninitialized memory use allows remote code executionMicrosoft Office 2013 SP1 and 2013 RT SP1 mishandle uninitialized memory when parsing a crafted Office document, which can lead to arbitrary code exe…KEVEPSS 35%analysed8.8CVE-2012-1856Microsoft Office MSCOMCTL.OCX TabStrip ActiveX Control Remote Code ExecutionThe TabStrip ActiveX control in MSCOMCTL.OCX fails to properly handle system state, allowing a crafted document or web page to corrupt memory and exe…KEVEPSS 72%analysed

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