A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-21362

CVE-2025-21362: Microsoft Excel RCE Vulnerability

CVE-2025-21362 is a remote code execution vulnerability in Microsoft Excel that allows attackers to execute arbitrary code on affected systems. This article covers the technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2025-21362 Overview

CVE-2025-21362 is a remote code execution vulnerability in Microsoft Excel rooted in a use-after-free condition [CWE-416]. An attacker who successfully exploits this flaw can run arbitrary code in the context of the current user. Microsoft published the advisory on January 14, 2025, covering Microsoft 365 Apps, Excel 2016, Office 2019, Office LTSC 2021 and 2024, and Office Online Server.

The attack vector is local, requiring the user to open a crafted Excel file. The Preview Pane is listed as an attack surface, meaning code execution can occur without the victim explicitly opening the document. No authentication or user interaction beyond rendering the file is required.

Critical Impact

Successful exploitation grants arbitrary code execution with the rights of the logged-on user, enabling installation of programs, data theft, and account takeover.

Affected Products

  • Microsoft 365 Apps for Enterprise (x86 and x64)
  • Microsoft Excel 2016, Microsoft Office 2019
  • Microsoft Office LTSC 2021 and 2024 (Windows and macOS), Microsoft Office Online Server

Discovery Timeline

  • 2025-01-14 - CVE-2025-21362 published to NVD with Microsoft advisory
  • 2025-07-01 - Last updated in NVD database

Technical Details for CVE-2025-21362

Vulnerability Analysis

The vulnerability is a use-after-free condition [CWE-416] in Microsoft Excel's document parsing logic. Excel frees a memory object during processing of a malformed spreadsheet, then later dereferences the dangling pointer. Attackers control the contents written to the freed region before reuse, leading to arbitrary code execution.

Microsoft classifies the attack vector as local because the malicious file must reach the target system. However, the Preview Pane in Windows Explorer and Outlook can trigger the parsing code path. A user simply selecting the file in Explorer is sufficient to execute the exploit payload.

The resulting code runs with the privileges of the current user. On systems where users operate with administrative rights, the impact extends to full system compromise. The EPSS score sits at 0.631%, placing this issue in the 70th percentile for exploitation likelihood.

Root Cause

The defect resides in Excel's handling of object lifetimes during deserialization of structured spreadsheet content. A specific sequence of records causes the application to release a heap object while another code path retains a reference. When that reference is followed, attacker-controlled data drives subsequent virtual function dispatch.

Attack Vector

Delivery typically occurs through phishing email with an attached .xlsx or .xls file. Watering-hole sites and shared file repositories are alternative delivery channels. Because the Preview Pane is an attack surface, traditional advice to avoid opening attachments is insufficient.

The vulnerability manifests when Excel parses crafted records and reuses a freed object. See the Microsoft Security Update Guide for vendor technical details. No public proof-of-concept code has been published.

Detection Methods for CVE-2025-21362

Indicators of Compromise

  • Unexpected child processes spawned by EXCEL.EXE, such as cmd.exe, powershell.exe, wscript.exe, mshta.exe, or rundll32.exe.
  • Office processes writing executable content to %TEMP%, %APPDATA%, or %PROGRAMDATA% directories.
  • Outbound network connections initiated directly by EXCEL.EXE to previously unseen domains shortly after a file is opened or previewed.

Detection Strategies

  • Hunt for Excel process trees that deviate from baseline by correlating parent-child relationships with command-line arguments.
  • Inspect inbound email attachments and SharePoint uploads for Excel files containing unusual OLE streams, embedded objects, or malformed BIFF records.
  • Monitor for memory-corruption telemetry such as exception events in EXCEL.EXE followed by suspicious thread creation.

Monitoring Recommendations

  • Enable Microsoft Defender Attack Surface Reduction rules that block Office applications from creating child processes and writing executables.
  • Forward Sysmon Event IDs 1, 7, 10, and 11 from endpoints running Office to a central SIEM for behavioral correlation.
  • Track Outlook and Explorer Preview Pane activity preceding anomalous Excel behavior to identify zero-click exploitation attempts.

How to Mitigate CVE-2025-21362

Immediate Actions Required

  • Apply the January 2025 Microsoft security updates for all affected Office and Microsoft 365 Apps channels without delay.
  • Inventory endpoints with vulnerable versions of Excel, Office 2019, Office LTSC 2021/2024, and Office Online Server, prioritizing internet-facing and high-privilege users.
  • Disable the Preview Pane in Outlook and Windows Explorer until patches are deployed.

Patch Information

Microsoft released fixes through the standard Office update channels on January 14, 2025. Refer to the Microsoft Security Update Guide for CVE-2025-21362 for build numbers per channel. Microsoft 365 Apps users on Current Channel receive updates automatically when click-to-run is enabled.

Workarounds

  • Configure Protected View to open all files from the internet and untrusted locations in an isolated sandbox.
  • Block macro execution in files from the internet through the Block macros from running in Office files from the Internet Group Policy setting.
  • Restrict delivery of Excel attachments at the mail gateway and enforce safe-attachment detonation for inbound .xlsx, .xls, and .xlsm files.
bash
# Disable Outlook Preview Pane via registry (per-user)
reg add "HKCU\Software\Microsoft\Office\16.0\Outlook\Options" /v DisableReadingPaneHomePage /t REG_DWORD /d 1 /f

# Enforce Protected View for files from the internet
reg add "HKCU\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" /v DisableInternetFilesInPV /t REG_DWORD /d 0 /f

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft 365 Apps

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.63%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft CVE-2025-21362 Update
  • Related CVEs
  • CVE-2020-16918: Microsoft 365 Apps RCE Vulnerability

  • CVE-2025-47176: Microsoft 365 Apps RCE Vulnerability

  • CVE-2025-62556: Microsoft 365 Apps RCE Vulnerability

  • CVE-2025-62560: Microsoft 365 Apps RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English