Skip to main content

Microsoft Office CVE-2025-59227

HIGH
Use After Free (CWE-416)
2025-10-14 secure@microsoft.com
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Craft malicious Office document
  2. Delivery
    Deliver via phishing email or web download
  3. Exploit
    User opens file in vulnerable Office build
  4. Install
    Trigger use-after-free in parser
  5. C2
    Hijack freed object to gain code execution
  6. Execute
    Run payload as current user
  7. Impact
    Establish 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 7.8 HIGH
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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Use after free in Microsoft Office allows an unauthorized attacker to execute code locally.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 76% exploitable
Data Quality
2 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x64:*
cpe:2.3:a:microsoft:365_apps:-:*:*:*:enterprise:*:x86:*
cpe:2.3:a:microsoft:office:*:*:*:*:*:android:*:*
cpe:2.3:a:microsoft:office:2016:*:*:*:*:*:x64:*
cpe:2.3:a:microsoft:office:2016:*:*:*:*:*:x86:*
cpe:2.3:a:microsoft:office:2019:*:*:*:*:*:x64:*
cpe:2.3:a:microsoft:office:2019:*:*:*:*:*:x86:*
cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:-:x64:*
cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:-:x86:*
cpe:2.3:a:microsoft:office_long_term_servicing_channel:2021:*:*:*:*:macos:*:*
cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:-:x64:*
cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:-:x86:*
cpe:2.3:a:microsoft:office_long_term_servicing_channel:2024:*:*:*:*:macos:*:*

More in Office

View all
CVE-2017-0199 HIGH POC
7.8 Apr 12

Remote code execution in Microsoft Office 2007-2016 and Windows Vista through 10 allows attackers to execute arbitrary c

CVE-2023-21716 CRITICAL POC
9.8 Feb 14

Microsoft Word Remote Code Execution Vulnerability. Rated critical severity (CVSS 9.8), this vulnerability is remotely e

CVE-2013-1315 CRITICAL POC
9.3 Sep 11

Microsoft SharePoint Server 2007 SP3, 2010 SP1 and SP2, and 2013; Office Web Apps 2010; Excel 2003 SP3, 2007 SP3, 2010 S

CVE-2016-0145 HIGH POC
8.8 Apr 12

The font library in Microsoft Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows

CVE-2015-2468 CRITICAL POC
9.3 Aug 15

Microsoft Word 2007 SP3, Office 2010 SP2, Word 2010 SP2, Word 2013 SP1, Word 2013 RT SP1, Office for Mac 2011, Office fo

CVE-2015-0064 CRITICAL POC
9.3 Feb 11

Microsoft Word 2007 SP3, Office 2010 SP2, Word 2010 SP2, Word Automation Services in SharePoint Server 2010, Web Applica

CVE-2015-2510 CRITICAL POC
9.3 Sep 09

Buffer overflow in the Adobe Type Manager Library in Microsoft Windows Vista SP2, Windows Server 2008 SP2, Office 2007 S

CVE-2015-2469 CRITICAL POC
9.3 Aug 15

Microsoft Word 2007 SP3, Office 2010 SP2, Word 2010 SP2, and Office for Mac 2011 allow remote attackers to execute arbit

CVE-2015-2467 CRITICAL POC
9.3 Aug 15

Microsoft Office 2007 SP3 allows remote attackers to execute arbitrary code via a crafted document, aka "Microsoft Offic

CVE-2015-2470 CRITICAL POC
9.3 Aug 15

Integer underflow in Microsoft Office 2007 SP3, Office 2010 SP2, Office 2013 SP1, Office 2013 RT SP1, Office for Mac 201

CVE-2015-2431 CRITICAL POC
9.3 Aug 15

Microsoft Office 2007 SP3 and 2010 SP2, Live Meeting 2007 Console, Lync 2010, Lync 2010 Attendee, Lync 2013 SP1, and Lyn

CVE-2021-42292 HIGH
7.8 Nov 10

Microsoft Excel Security Feature Bypass Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authenti

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy