CVE-2017-0261: Microsoft Office EPS restore Use-After-Free Remote Code Execution
- Vendor
- Microsoft Corporation
CVE-2017-0261 is a use-after-free vulnerability in Encapsulated PostScript (EPS) processing in Microsoft Office 2010 SP2, Office 2013 SP1, and Office 2016. Crafted embedded EPS content combines PostScript save/restore behavior with the forall operator to create a use-after-free condition and obtain a memory read/write primitive. Exploitation constructs a ROP chain and a forged file object, then redirects execution through the closefile operator to execute shellcode. Malicious Office documents exploited this vulnerability in targeted attacks involving Turla and an unidentified financially motivated actor.
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 enables attacker-controlled code execution in the EPS rendering process. Observed attack chains paired the vulnerability with separate Windows privilege-escalation exploits to escape the renderer sandbox and deploy malware, including SHIRIME and NETWIRE. Privilege escalation and sandbox escape are not established consequences of CVE-2017-0261 alone.
Mitigation
If you can’t patch tonight, do this now.
Disable Office EPS processing and follow Microsoft's ADV170005 defense-in-depth guidance for EPS filter vulnerabilities.
Remediation
Patch, then assume compromise.
Install the Microsoft Office security updates introduced in April 2017 that disabled EPS processing. Specific vulnerability-fixing update identifiers and fixed build numbers are not available in the supplied information.
Exploits
1 exploit validated by Mallory's analysis.
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-0261 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 3, 2022.
- Is there a public exploit for CVE-2017-0261?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2017-0261, the earliest disclosed Mar 31, 2019.
- Is there a patch for CVE-2017-0261?
- Install the Microsoft Office security updates introduced in April 2017 that disabled EPS processing. Specific vulnerability-fixing update identifiers and fixed build numbers are not available in the supplied information.
- What products are affected by CVE-2017-0261?
- Microsoft Corporation Microsoft Office.
- How severe is CVE-2017-0261?
- CVE-2017-0261 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 78.1% (100th percentile) as of Oct 16, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.