CVE DatabaseCVE-2017-11882
한국어 권고문 →
CVE-2017-118827.8/HIGHCISA KEVCWE-119CWE-119

Microsoft Office Equation Editor Memory Corruption Remote Code Execution Vulnerability (CVE-2017-11882) Technical Advisory

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
office, word, excel, equation editor
Published Date
2017-11-15
CVSS v3.1
7.8
HIGH
EPSS (30d)
99.9%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Microsoft Office 2007 SP3, 2010 SP2, 2013 SP1, 2016, and systems utilizing the legacy Equation Editor (EQNEDT32.EXE) component

Impact

Successful exploitation allows remote attackers to execute arbitrary code (RCE) in the context of the current user by tricking them into opening a specially crafted Office document

Mitigation

Apply the official Microsoft security updates immediately, or disable the Equation Editor component via registry modification to prevent execution

Affected Products & Version Scope

Microsoft Office 2007 Service Pack 3, 2010 Service Pack 2, 2013 Service Pack 1, 2016, and Windows endpoints running these suites

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

The primary remediation is to apply the official security updates provided by Microsoft. In enterprise environments, deploy the updates via WSUS or SCCM. You can force Windows Update using PowerShell:

powershell
# Install PSWindowsUpdate module and force install updates
Install-Module PSWindowsUpdate -Force -Verbose
Get-WindowsUpdate -AcceptAll -Install -AutoReboot

2. Temporary Workaround & Hardening Configuration

If patching cannot be immediately scheduled, disable the Equation Editor COM object by setting the compatibility 'Kill Bit' in the Windows Registry. Run the following commands in an elevated Command Prompt:

cmd
:: Disable Equation Editor COM object execution in 32-bit and 64-bit registries
reg add 'HKLM\SOFTWARE\Microsoft\Office\Common\COM Compatibility\{0002CE02-0000-0000-C000-000000000046}' /v 'Compatibility Flags' /t REG_DWORD /d 0x00000400 /f
reg add 'HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\Common\COM Compatibility\{0002CE02-0000-0000-C000-000000000046}' /v 'Compatibility Flags' /t REG_DWORD /d 0x00000400 /f

3. Log Audit & IoC Verification Commands

Use the following PowerShell script to audit endpoints for the presence of the vulnerable EQNEDT32.EXE binary and verify its version:

powershell
# Audit system for vulnerable EQNEDT32.EXE binary
$paths = @(
    'C:\Program Files\Common Files\microsoft shared\EQUATION\EQNEDT32.EXE',
    'C:\Program Files (x86)\Common Files\microsoft shared\EQUATION\EQNEDT32.EXE'
)
foreach ($path in $paths) {
    if (Test-Path $path) {
        $file = Get-Item $path
        Write-Host '[!] Vulnerable Equation Editor binary found:' $file.FullName -ForegroundColor Yellow
        Write-Host '    Version:' $file.VersionInfo.FileVersion ' / Modified:' $file.LastWriteTime
    } else {
        Write-Host '[+] Secure: Equation Editor path not found.' -ForegroundColor Green
    }
}
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Deploy Microsoft security patches immediately or apply the registry Kill Bit workaround to mitigate the risk of remote code execution via malicious Office documents.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2017-11882) is a classic stack-based buffer overflow residing in the legacy Equation Editor ('EQNEDT32.EXE') component of Microsoft Office. EQNEDT32.EXE is an out-of-date binary compiled prior to 2000, lacking modern operating system security mitigations such as Data Execution Prevention (DEP) and Address Space Layout Randomization (ASLR). The root cause lies in the failure of the application to properly validate the length of input strings (specifically font names) before copying them into a fixed-size memory buffer.

2. Exploitation Mechanics & Attack Scenario

An attacker crafts a malicious RTF or DOCX document containing an embedded OLE (Object Linking and Embedding) Equation object. When a victim opens the document, Microsoft Office automatically spawns the EQNEDT32.EXE process to render the equation. During parsing, a string copy operation (strcpy) overflows the stack buffer, overwriting the function return address. Because the binary lacks ASLR, the attacker can reliably redirect execution flow to arbitrary shellcode or command execution utilities (e.g., cmd.exe, powershell.exe) without triggering macro warnings.

3. Infrastructure & Business Impact

With a CVSS score of 7.8 and an EPSS score of 0.9994, this vulnerability is actively exploited in the wild and is a staple in cyberespionage (APT) and ransomware campaigns. Successful exploitation grants the attacker the same privileges as the logged-in user, potentially leading to full system compromise, credential theft, lateral movement across the corporate network, and severe business disruption.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2017-11882)

FAQ

Q1. How critical is CVE-2017-11882 and is it actively exploited in the wild?

CVE-2017-11882 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 99.9%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2017-11882?

Primary impacted vendors include microsoft across office, word, excel, equation editor. Scope summary: Microsoft Office 2007 Service Pack 3, 2010 Service Pack 2, 2013 Service Pack 1, 2016, and Windows endpoints running these suites

Q3. What temporary mitigations or workarounds exist for CVE-2017-11882 before patching?

[Mitigation] Apply the official Microsoft security updates immediately, or disable the Equation Editor component via registry modification to prevent execution Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2017-11882

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2017-11882 Microsoft Office Equation Editor Memory Corruption Remote Code Execution Vulnerability (CVE-2017-11882) Technical Advisory (CVSS 7.8) - Patch & Workaround | CVE Pulse