Microsoft Office
CVE-2025-59227
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft malicious Office document
-
DeliveryDeliver via phishing email or web download
-
ExploitUser opens file in vulnerable Office build
-
InstallTrigger use-after-free in parser
-
C2Hijack freed object to gain code execution
-
ExecuteRun payload as current user
-
ImpactEstablish persistence and pivot
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to open or preview a maliciously crafted Office document in a vulnerable build of Microsoft Office (365 Apps Enterprise, Office 2016/2019, or Office LTSC 2021 on Windows x86/x64 or macOS, or Office on Android); no prior authentication to the target machine and no elevated privileges are required (PR:N), but User Interaction is Required (UI:R) and the attack vector is Local (AV:L), meaning the payload must be processed locally by Office rather than delivered over a network service. Practical limiters: Protected View, Office Application Guard, Mark-of-the-Web enforcement, and ASR rules that block Office from spawning child processes all materially reduce the realistic exploit chain even though they do not stop the in-process UAF itself; Android exploitation is constrained by the platform sandbox. |
| Impact | The CVSS 3.1 vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H yields 7.8 (High) and accurately reflects a client-side document-handling bug: the attack vector is Local because the malicious payload must be processed by Office on the victim host, and User Interaction is Required (the user must open or preview the file), but no prior authentication or privileges are needed on the target and all three CIA impacts are High. There is no EPSS score, SSVC decision, or KEV listing provided, and no POC is referenced, so realistic risk today is moderate-to-high: Office UAFs are historically attractive to phishing and targeted-intrusion operators, but absent observed in-the-wild use this is a patch-on-normal-cadence issue rather than an emergency. One signal to verify: the vector specifies AV:L while the description says 'unauthorized attacker' - this is consistent with the standard Microsoft convention of treating document-borne exploitation as Local with UI:R, not a contradiction, but defenders should not mistake AV:L for 'requires shell access.' |
| Exploit ScenarioDerived | An attacker emails a crafted Office document (or hosts it on a website or file share) and lures a targeted user into opening it; when Office parses the malicious structure, the use-after-free is triggered and the dangling pointer is reclaimed with attacker-controlled data, yielding arbitrary code execution as the logged-in user. From that foothold the attacker can deploy a loader, harvest credentials and tokens, and pivot into corporate resources. No public exploit identified at time of analysis, but UAF bugs in Office historically become reliable once a crafted file format trigger is published. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 22, 2026
Local code execution in Microsoft Office (including Microsoft 365 Apps Enterprise, Office 2016/2019, and Office LTSC 2021 across Windows x86/x64, macOS, and Android) arises from a use-after-free memory corruption (CWE-416) that an attacker can trigger by convincing a user to open a crafted document. Exploitation runs in the context of the current user with high impact on confidentiality, integrity, and availability. No public exploit identified at time of analysis and the issue is not currently listed in CISA KEV.
RemediationAI
Apply the Microsoft security update referenced in the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59227 for each affected channel - Microsoft 365 Apps via Click-to-Run servicing, Office 2016/2019/LTSC 2021 via Microsoft Update or the corresponding MSP/MSI packages, and the Android build via the Play Store - using the exact fixed build listed in that advisory (specific fixed versions are not included in the input data, so consult MSRC for the exact KB/build per SKU). Until the patch is deployed, compensating controls include enabling Protected View and Office Application Guard for files originating from the internet or email so untrusted documents are parsed in a sandboxed container, blocking or quarantining Office attachments at the mail gateway from external senders, and enabling Microsoft Defender Attack Surface Reduction rules that block Office from creating child processes and from executing downloaded executable content - these reduce post-exploitation impact but do not address the underlying parser bug and can break legitimate macros, add-ins, or workflows that rely on child-process spawning.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-416 use-after-free in the Microsoft Office suite - a class of memory corruption where code continues to reference heap memory after it has been freed, enabling an attacker to reclaim that allocation with controlled data and hijack execution flow when the dangling pointer is dereferenced. Office's document parsers (Word, Excel, PowerPoint, and shared rich-text/OLE components) historically reuse complex object models for parsing structured file formats, and lifetime bugs in those object graphs are a recurring source of UAF conditions. The CPE list shows the defect spans the entire current Office estate: Microsoft 365 Apps (Enterprise x86/x64), perpetual Office 2016 and 2019, and Office LTSC 2021 on Windows x86/x64 and macOS, plus Office on Android, indicating the vulnerable component is shared across platforms rather than being OS-specific.
Know when Office gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
Use after free in Microsoft Office allows an unauthorized attacker to execute code locally.
Executive ViewAI
Microsoft Office (including 365 Apps Enterprise, Office 2016/2019, and LTSC 2021) contains a code execution vulnerability that activates when employees open malicious documents, potentially compromising confidential data and system integrity across Windows, macOS, and mobile endpoints. With no vendor patch currently available and the attack method requiring only user deception via document sharing, this poses an immediate risk to organizations reliant on Office productivity tools. Leadership should prioritize awareness training and defensive tooling to mitigate exposure until Microsoft releases a fix.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or restrict Office macro execution via Group Policy; (2) Deploy email gateway filtering to block Office documents from untrusted external senders; (3) Implement application whitelisting on high-value endpoints; (4) Enable EDR monitoring with behavioral rules for suspicious Office process spawning and file operations; (5) Deploy user awareness training emphasizing document validation before opening; (6) Enforce network segmentation to limit lateral movement if endpoint is compromised. Monitor MSRC advisories continuously for patch availability and prioritize deployment within 48 hours of release.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
Remote code execution in Microsoft Office 2007-2016 and Windows Vista through 10 allows attackers to execute arbitrary c
Microsoft Word Remote Code Execution Vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is remotely e
Microsoft SharePoint Server 2007 SP3, 2010 SP1 and SP2, and 2013; Office Web Apps 2010; Excel 2003 SP3, 2007 SP3, 2010 S
The font library in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows
Microsoft Word 2007 SP3, Office 2010 SP2, Word 2010 SP2, Word 2013 SP1, Word 2013 RT SP1, Office for Mac 2011, Office fo
Microsoft Word 2007 SP3, Office 2010 SP2, Word 2010 SP2, Word Automation Services in SharePoint Server 2010, Web Applica
Buffer overflow in the Adobe Type Manager Library in Microsoft Windows Vista SP2, Windows Server 2008 SP2, Office 2007 S
Microsoft Word 2007 SP3, Office 2010 SP2, Word 2010 SP2, and Office for Mac 2011 allow remote attackers to execute arbit
Microsoft Office 2007 SP3 allows remote attackers to execute arbitrary code via a crafted document, aka "Microsoft Offic
Integer underflow in Microsoft Office 2007 SP3, Office 2010 SP2, Office 2013 SP1, Office 2013 RT SP1, Office for Mac 201
Microsoft Office 2007 SP3 and 2010 SP2, Live Meeting 2007 Console, Lync 2010, Lync 2010 Attendee, Lync 2013 SP1, and Lyn
Microsoft Excel Security Feature Bypass Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authenti
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB