Vulnerability record · CVE-2017-0261 · published 12 May 2017
CVE-2017-0261: Microsoft Office use-after-free allows remote code execution
Microsoft · Office
Microsoft Office 2010 SP2, 2013 SP1 and 2016 fail to properly handle objects in memory, a use-after-free (CWE-416) that permits remote code execution. Because Office documents are routinely exchanged and opened, a memory corruption flaw in the document parser is a practical entry point for code execution on the user's machine.
Description
Microsoft Office 2010 SP2, Office 2013 SP1, and Office 2016 allow a remote code execution vulnerability when the software fails to properly handle objects in memory, aka "Office Remote Code Execution Vulnerability". This CVE ID is unique from CVE-2017-0262 and CVE-2017-0281.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Automated analysis
high priorityIt is confirmed exploited in CISA KEV with a very high EPSS score, but exploitation requires a user to open a crafted document, which tempers the rating below critical.
What it is
Microsoft Office 2010 SP2, 2013 SP1 and 2016 fail to properly handle objects in memory, a use-after-free (CWE-416) that permits remote code execution. Because Office documents are routinely exchanged and opened, a memory corruption flaw in the document parser is a practical entry point for code execution on the user's machine.
Impact
An attacker who gets a crafted file opened can execute arbitrary code in the context of the current user, giving full control of confidentiality, integrity and availability for that user. If the user has administrative rights, the compromise extends to the whole system.
Attack surface
Reached locally through a malicious Office document or object that the victim must open; the CVSS vector (AV:L, UI:R, PR:N) means no prior authentication is needed but user interaction is required. No network-facing service is involved.
Exploitation
It is listed in CISA KEV (added 2022-03-03), confirming exploitation in the wild, and EPSS is very high at 0.7813 (99.55th percentile). The record does not state whether ransomware campaigns used it; KEV marks known_ransomware_campaign_use as false.
What to do
- Apply the Microsoft security update for Office 2010 SP2, 2013 SP1 and 2016 referenced in the MSRC advisory.
- If patching cannot be completed immediately, disable or restrict the affected document/object handling paths and block untrusted file types at the email and web gateways.
- Run Office with Protected View and disable macros and ActiveX for documents from untrusted sources.
- Remove or upgrade end-of-life Office 2010/2013 installations that no longer receive fixes.
- Enforce least privilege so users do not work with administrative rights, limiting the impact of code execution.
Detection
- Monitor for Office processes (WINWORD.EXE, EXCEL.EXE, POWERPNT.EXE) spawning child processes such as cmd.exe, powershell.exe or wscript.exe.
- Alert on Office crashing or terminating unexpectedly, which can indicate memory corruption exploitation attempts.
- Hunt for documents containing embedded objects or malformed structures delivered via email or download and correlate with Office execution events.
- Review endpoint telemetry for suspicious file writes or persistence created shortly after an Office document is opened.
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-2017-0261 to the Known Exploited Vulnerabilities catalog on 3 March 2022 as "Microsoft Office Use-After-Free Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 24 March 2022.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.securityfocus.com/bid/98104 | Broken LinkThird Party AdvisoryVDB Entry |
| http://www.securitytracker.com/id/1038444 | Broken LinkThird Party AdvisoryVDB Entry |
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-0261 | PatchVendor Advisory |
| http://www.securityfocus.com/bid/98104 | Broken LinkThird Party AdvisoryVDB Entry |
| http://www.securitytracker.com/id/1038444 | Broken LinkThird Party AdvisoryVDB Entry |
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2017-0261 | PatchVendor Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-0261 | US Government Resource |
Track CVE-2017-0261 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.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2017-0261), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.