CVE-2017-0199: Microsoft Office and WordPad OLE Remote Code Execution
- Vendors
- Phillips 66Microsoft Corporation
CVE-2017-0199 is a remote code execution vulnerability in Microsoft Office and WordPad involving the handling of specially crafted documents and linked OLE objects. An embedded URL Moniker can retrieve an attacker-controlled resource and invoke its handler according to the server-supplied MIME type. A resource served as application/hta can consequently execute through the Windows HTML Application host. Affected products include Office 2007 SP3, Office 2010 SP2, Office 2013 SP1, Office 2016, and WordPad on affected Windows releases. Exploitation commonly uses malicious RTF documents or Excel spreadsheets delivered through phishing. Microsoft released security updates in April 2017.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary code execution with the privileges of the user opening the document, compromising accessible data and system resources. An attacker can install malware and view, modify, or delete data; exploitation in an administrative user context can enable broader system takeover and account creation. Observed delivery chains have deployed information stealers, remote access trojans, cryptocurrency miners, and ransomware. Privilege escalation and persistence are not intrinsic to this vulnerability and depend on the execution context or subsequent attack stages.
Mitigation
If you can’t patch tonight, do this now.
Avoid opening or previewing unsolicited or untrusted documents, including attachments received from familiar senders whose accounts may be compromised. Use email attachment inspection, exploit-aware endpoint protection, and network filtering to interrupt malicious document delivery and remote payload retrieval. Office Protected View may prevent some attempts but is not a sufficient standalone control because bypasses exist. Apply least-privilege access and network segmentation to limit the consequences of compromise.
Remediation
Patch, then assume compromise.
Apply Microsoft's April 2017 security updates for CVE-2017-0199, or applicable superseding updates, to affected Office and Windows installations, including systems using WordPad. Install both the relevant Office fixes and Windows components required by the activation-filter mechanism. The fix blocks activation of HTA and scriptlet COM objects in Office while retaining URL Moniker functionality. Remote content may still be downloaded after patching, so a download alone does not establish successful code execution.
Exploits
7 exploits validated by Mallory's analysis. Hidden: 9 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2017-0199 exploited in the wild?
- Yes. As of Nov 14, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2017-0199?
- Yes. Mallory tracks 7 public exploits or proofs of concept for CVE-2017-0199, the earliest disclosed Apr 14, 2017.
- Is there a patch for CVE-2017-0199?
- Apply Microsoft's April 2017 security updates for CVE-2017-0199, or applicable superseding updates, to affected Office and Windows installations, including systems using WordPad. Install both the relevant Office fixes and Windows components required by the activation-filter mechanism.
- What products are affected by CVE-2017-0199?
- Microsoft Corporation Microsoft Office, Phillips 66 Intellispace Portal, Microsoft Corporation Windows 7, Microsoft Corporation Windows Server 2008, Microsoft Corporation Windows Server 2012, and 1 more.
- How severe is CVE-2017-0199?
- CVE-2017-0199 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 99.5% (100th percentile) as of Nov 14, 2026.
Recent activity
170 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.