← Vulnerability feed

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

CVE-2018-0798: Microsoft Office Equation Editor memory corruption RCE

Microsoft · Office

Equation Editor in Microsoft Office 2007 through 2016 mishandles objects in memory, producing an out-of-bounds write (CWE-787) that can be turned into remote code execution. Because the component is a legacy, largely abandoned binary, it has remained an attractive target long after the affected Office versions shipped.

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

Description

Equation Editor in Microsoft Office 2007, Microsoft Office 2010, Microsoft Office 2013, and Microsoft Office 2016 allows a remote code execution vulnerability due to the way objects are handled in memory, aka "Microsoft Office Memory Corruption Vulnerability".

CVSS:3.1/AV:N/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 16 September 2026. Confidence: high.

critical priorityIt is in CISA KEV with a near-maximum EPSS score and allows unauthenticated remote code execution via a user-opened document.

What it is

Equation Editor in Microsoft Office 2007 through 2016 mishandles objects in memory, producing an out-of-bounds write (CWE-787) that can be turned into remote code execution. Because the component is a legacy, largely abandoned binary, it has remained an attractive target long after the affected Office versions shipped.

Impact

An attacker who gets a crafted document opened can execute code in the context of the victim user, giving full control of confidentiality, integrity and availability on that host.

Attack surface

Reached over the network via a malicious Office file or embedded object that the user must open or interact with; no credentials are required (CVSS vector AV:N/AC:L/PR:N/UI:R).

Exploitation

Listed in CISA KEV since 2021-11-03 with a required action to patch, and EPSS 30-day probability is 0.95121 (99.86th percentile), indicating observed exploitation and very high likelihood. No ransomware campaign use is recorded.

What to do

  • Apply the Microsoft security update referenced in the MSRC advisory for CVE-2018-0798 across all affected Office versions.
  • Remove or disable the Equation Editor component (EQNEDT32.EXE) where it is not required, or apply the third-party 0patch mitigation for abandoned versions.
  • Block or strip legacy Equation Editor OLE objects at email and web gateways, and enforce Mark-of-the-Web/Protected View for untrusted documents.
  • Retire Office 2007/2010/2013/2016 installations that no longer receive security fixes.
  • Restrict users from opening documents from untrusted sources and disable macros and embedded object activation by policy.

Detection

  • Hunt for Office processes spawning EQNEDT32.EXE, especially when the parent is WINWORD.EXE or EXCEL.EXE.
  • Monitor for child processes spawned by EQNEDT32.EXE or Office applications, which is abnormal and consistent with exploitation.
  • Alert on Office documents containing Equation Editor OLE objects arriving from external senders or downloads.
  • Correlate endpoint telemetry for crashes or memory-corruption indicators in EQNEDT32.EXE with subsequent process creation.

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-0798 to the Known Exploited Vulnerabilities catalog on 3 November 2021 as "Microsoft Office Memory Corruption Vulnerability". 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-0798 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-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%analysed8.8CVE-2012-0158Microsoft MSCOMCTL.OCX ActiveX controls remote code executionThe ListView, ListView2, TreeView and TreeView2 ActiveX controls in MSCOMCTL.OCX in the Common Controls fail to handle crafted input, allowing memory…KEVEPSS 100%analysed

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