Microsoft Excel
CVE-2025-59225
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted .xlsx via phishing
-
ExploitVictim opens file in Excel
-
ExecutionTrigger use-after-free in memory handling
-
ImpactExecute arbitrary code as user
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 a user to open a specially crafted Excel file (UI:R) on a local system (AV:L); there is no remote or network-triggered path. The use-after-free is reached through Excel's document parsing/memory handling, so the attacker needs only to deliver the file - no prior authentication or elevated privileges on the target are required (PR:N). Limiting factors: the mandatory user interaction (opening/previewing the malicious workbook), execution confined to the opening user's privilege context (S:U), and reliance on social engineering for delivery. Affected configurations are default installations of Microsoft 365 Apps, Excel 2016, Office 2019, and Office LTSC 2021/2024 (including macOS LTSC builds). |
| Impact | This is a genuine patch-priority item but not an emergency. The CVSS 3.1 base score of 7.8 is driven by HIGH impact to confidentiality, integrity, and availability (C:H/I:H/A:H) combined with low attack complexity (AC:L), but the vector is explicitly LOCAL (AV:L) and requires user interaction (UI:R) - meaning a victim must open a malicious Excel file, not a remote network-triggered compromise. The real-world exploitation signals temper the raw score: EPSS is only 0.38% (30th percentile), there is no CISA KEV listing, and no public exploit code was identified in the provided data, so this is not confirmed actively exploited. The PR:N (unauthenticated) metric is somewhat misleading in isolation because exploitation still hinges entirely on social-engineering a user into opening a crafted document - the UI:R requirement is the primary limiting factor. Note a tag/impact tension: the input Tags include 'Denial Of Service,' yet the description and CVSS both describe code execution with full CIA impact; treat the primary risk as arbitrary code execution. Overall: patch in normal cycle, prioritize for high-value users susceptible to phishing, but no indication of widespread or automated exploitation. |
| Exploit ScenarioDerived | An attacker crafts a malicious Excel spreadsheet that triggers a use-after-free in Excel's memory handling and delivers it via phishing email or a shared file. When the victim opens the document, the freed-then-reused memory is manipulated to execute attacker-controlled code in the context of the user. No public proof-of-concept exploit was identified at time of analysis, and the local vector with required user interaction means exploitation depends on successful social engineering. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 18, 2026
Use-after-free memory corruption in Microsoft Excel allows code execution in the context of the user who opens a specially crafted workbook. Affected configurations are default installations of Microsoft 365 Apps, Excel 2016, Office 2019, and Office LTSC 2021/2024, including the macOS LTSC 2021 builds; the attacker needs no credentials on the target, but must convince a user to open or preview a malicious file (CVSS 7.8, AV:L/PR:N/UI:R). No public exploit code or confirmed active exploitation was identified at time of analysis, and EPSS is low at 0.38% (30th percentile), making this a patch-priority item rather than an emergency, per the vendor advisory at msrc.microsoft.com.
RemediationAI
Patch available per vendor advisory: apply the current Microsoft security updates for every affected channel - Microsoft 365 Apps for Enterprise (both x86 and x64), Excel 2016, Office 2019, Office LTSC 2021 (x86, x64, and macOS), and Office LTSC 2024 - following the per-product guidance in the MSRC Update Guide at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59225, and verify build levels after deployment since Click-to-Run and MSI channels update on different cadences. Where patching must be staged, compensating controls are: keep Protected View and Application Guard for Office enabled for files originating from the internet and email so parsing happens in a sandbox (trade-off: some macros and external content are blocked until users click through); disable the Outlook and Explorer preview pane for Office documents to remove the preview-triggered parsing path (trade-off: reduced user productivity); block untrusted attachments and MOTW-stripped archives at the mail and web gateways (trade-off: possible false positives on legitimate business documents); and ensure users run Office as standard users rather than local administrators so the Unchanged-scope impact stays contained (trade-off: some legacy add-ins and macros that require elevation will fail). Signature-based detection should target anomalous Excel child-process creation and suspicious file writes, since a use-after-free reliably surfaces as a crash of the opening process before weaponization.
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 root cause class is CWE-416, use-after-free: Excel's document parsing and memory handling frees a heap object and later dereferences it, allowing an attacker who controls the layout of a crafted .xlsx/.xls workbook to reclaim the freed allocation with attacker-influenced data and hijack control flow. Because the flaw lives in local file parsing rather than a network service, the CVSS vector is AV:L with UI:R - there is no remote or network-triggered path, and delivery depends on social engineering (email attachment, web download, or file share) plus the victim opening, and possibly previewing, the document. Scope is Unchanged (S:U), so successful exploitation is confined to the opening user's privilege context, which is why running Office as a standard user rather than a local administrator materially reduces blast radius. The CPE data spans the 32- and 64-bit builds of Microsoft 365 Apps (Enterprise), Excel 2016, Office 2019, Office LTSC 2021 (x86, x64, and macOS), and Office LTSC 2024 x64, and the associated tags also reference Office Online Server - reflecting the shared Office document-parsing code base across these releases.
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
File-open exploitation makes it local (AV:L) with required user interaction (UI:R); no auth needed (PR:N); memory-corruption code execution yields full C/I/A impact within the user's context (S:U).
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
DescriptionCVE.org
Use after free in Microsoft Office Excel allows an unauthorized attacker to execute code locally.
Executive ViewAI
Microsoft Excel contains a use-after-free memory corruption vulnerability (CVE-2025-59225) that could allow an attacker to execute code as the user who opens a specially crafted workbook, affecting default installations of Microsoft 365 Apps, Excel 2016, Office 2019, and Office LTSC 2021/2024 (including macOS LTSC 2021). No public exploit identified at time of analysis, and EPSS is low at 0.4%; however, the broad deployment of Excel and the fact that no vendor-released patch identified at time of analysis make this a high-priority patch management item rather than an emergency. Leadership should care because a successful attack requires only user interaction, potentially leading to data compromise or malware execution on endpoints.
Enable Protected View for all Office documents from the internet; disable macros and ActiveX; apply ASR rules to block Office applications from creating child processes and from injecting code; enforce Mark-of-the-Web; block Excel attachments at email gateway; disable preview pane for Office files; restrict execution of Excel from untrusted locations; monitor for suspicious Excel behavior such as spawning cmd.exe or powershell.exe.
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