Skip to main content

Microsoft Excel CVE-2025-59225

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

Attack ChainAIDerived

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

  1. Access
    Deliver crafted .xlsx via phishing
  2. Exploit
    Victim opens file in Excel
  3. Execution
    Trigger use-after-free in memory handling
  4. Impact
    Execute 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.

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

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

Alert me

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

Vendor (microsoft) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

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 Excel allows an unauthorized attacker to execute code locally.

Executive ViewAI

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Ubiquitous
Microsoft Excel/Office deployed across a huge fraction of enterprise and consumer environments
Data Quality
3 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.4%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

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:excel:2016:*:*:*:*:*:x64:*
cpe:2.3:a:microsoft:excel: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:*:*
cpe:2.3:a:microsoft:office_online_server:*:*:*:*:*:*:*:*

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