CVE-2017-0199: Microsoft Office and WordPad Remote Code Execution Vulnerability
CVE-2017-0199 is a high-severity flaw (CVSS 7.8) affecting office, windows 7, windows server 2008, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Microsoft Office 2007 SP3, Microsoft Office 2010 SP2, Microsoft Office 2013 SP1, Microsoft Office 2016, Microsoft Windows Vista SP2, Windows Server 2008 SP2, Windows 7 SP1, Windows 8.1 allow remote attackers to execute arbitrary code via a crafted document, aka "Microsoft Office/WordPad Remote Code Execution Vulnerability w/Windows API."
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 99.5% (top 1%) |
| CISA exploited list | Yes, fix due 2022-05-03, used in ransomware |
| Published | 2017-04-12 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: bhdresh/CVE-2017-0199 (726 stars)
- GitHub PoC: haibara3839/CVE-2017-0199-master (16 stars)
- GitHub PoC: NotAwful/CVE-2017-0199-Fix (13 stars)
- Write-up: www.exploit-db.com/exploits/41894/
- Exploit-DB: Microsoft Excel 2007/2010/2013/2016 - OLE Arbitrary Code Execution
- Exploit-DB: Microsoft Office Word - '.RTF' Malicious HTA Remote Code Execution (RCE) (Metasploit)
- Exploit-DB: Microsoft Word - '.RTF' Remote Code Execution (RCE)
- Metasploit: Microsoft Office Word Malicious Hta Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-0199?
office: downgrade or apply the listed mitigation; windows 7: mitigate or apply the listed mitigation; windows server 2008: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2017-0199 being exploited?
Yes. CVE-2017-0199 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2017-0199 affect?
CVE-2017-0199 affects office, windows 7, windows server 2008. Severity is high (CVSS 7.8). Microsoft Office 2007 SP3, Microsoft Office 2010 SP2, Microsoft Office 2013 SP1, Microsoft Office 2016, Microsoft Windows Vista SP2, Windows Server 2008 SP2, Windows 7 SP1, Windows 8.1 allow remote attackers to execute arbitrary code via a
How urgent is CVE-2017-0199?
Priority 92/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; On your watchlist
Software pages
Windows vulnerabilities · Windows Server vulnerabilities · Microsoft Office vulnerabilities
Related CVEs
- CVE-2024-49065 MEDIUM 5.5 MITIGATE DOWNGRADE Microsoft Office Remote Code Execution Vulnerability
- CVE-2024-38200 MEDIUM 6.5 MITIGATE DOWNGRADE Microsoft Office Spoofing Vulnerability
- CVE-2024-30104 HIGH 7.8 MITIGATE DOWNGRADE Microsoft Office Remote Code Execution Vulnerability
- CVE-2024-30103 HIGH 8.8 MITIGATE DOWNGRADE Microsoft Outlook Remote Code Execution Vulnerability
- CVE-2023-36009 MEDIUM 5.5 MITIGATE DOWNGRADE Microsoft Word Information Disclosure Vulnerability