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-26642

CVE-2025-26642: Microsoft 365 Apps RCE Vulnerability

CVE-2025-26642 is a remote code execution vulnerability in Microsoft 365 Apps caused by an out-of-bounds read flaw. Attackers can exploit this to execute unauthorized code locally. This article covers technical details.

Published: May 26, 2026

CVE-2025-26642 Overview

CVE-2025-26642 is an out-of-bounds read vulnerability in Microsoft Office that allows an unauthorized attacker to execute code locally. The flaw, classified under [CWE-125], affects multiple Microsoft Office products including Microsoft 365 Apps, Excel, Access, SharePoint Server, and Office Online Server. Exploitation requires user interaction, typically through opening a maliciously crafted Office document. Successful exploitation grants the attacker the ability to run arbitrary code in the context of the current user.

Critical Impact

An attacker who tricks a user into opening a crafted Office file can execute arbitrary code, leading to full compromise of confidentiality, integrity, and availability on the target system.

Affected Products

  • Microsoft 365 Apps (Enterprise, x64 and x86)
  • Microsoft Office 2016, 2019, and Office Long Term Servicing Channel 2021 and 2024 (Windows and macOS)
  • Microsoft Access 2016, Excel 2016, Office Online Server, and SharePoint Server 2019

Discovery Timeline

  • 2025-04-08 - CVE-2025-26642 published to NVD
  • 2025-07-09 - Last updated in NVD database

Technical Details for CVE-2025-26642

Vulnerability Analysis

The vulnerability is an out-of-bounds read [CWE-125] in Microsoft Office's parsing routines. When Office processes a specially crafted document, it reads memory beyond the bounds of an allocated buffer. The attacker can leverage this read primitive to leak memory contents or, when combined with other conditions, redirect execution flow.

Exploitation results in local code execution under the privileges of the user who opened the document. Because Office is commonly used to handle untrusted email attachments and downloaded files, the attack surface is broad. The Exploit Prediction Scoring System rates the likelihood of exploitation in the near term as moderate.

Root Cause

The root cause is improper validation of length or boundary fields within an Office file format structure. When Office parses the malformed structure, it dereferences memory addresses outside the intended buffer. This out-of-bounds read can corrupt control data used later by the application, producing an exploitable condition.

Attack Vector

The attack vector is local and requires user interaction. An attacker delivers a crafted Office document, typically via phishing email, malicious website download, or a SharePoint-hosted file. Upon opening, Office parses the file and triggers the out-of-bounds read. No authentication is required from the attacker, and the vulnerability does not need elevated privileges to exploit.

No public proof-of-concept code is available for CVE-2025-26642 at the time of writing. Refer to the Microsoft Security Update CVE-2025-26642 advisory for vendor technical details.

Detection Methods for CVE-2025-26642

Indicators of Compromise

  • Unexpected winword.exe, excel.exe, msaccess.exe, or other Office process spawning command interpreters such as cmd.exe, powershell.exe, or wscript.exe.
  • Office applications writing executable files or scripts to user-writable directories such as %TEMP%, %APPDATA%, or %PUBLIC%.
  • Office processes making outbound network connections to untrusted external hosts shortly after document open.

Detection Strategies

  • Hunt for child-process relationships where Office binaries launch scripting engines or LOLBins, which is a strong indicator of document-based exploitation.
  • Inspect inbound email and file-share traffic for Office documents that contain unusually malformed structures or trigger Office parser errors.
  • Correlate Office crash telemetry (Windows Error Reporting, WerFault.exe events) with subsequent suspicious process activity on the same host.

Monitoring Recommendations

  • Enable Microsoft Defender Attack Surface Reduction rules that block Office applications from creating child processes and executable content.
  • Forward Sysmon process-creation, image-load, and network-connection events to a centralized analytics platform for correlation.
  • Monitor SharePoint Server and Office Online Server logs for anomalous document upload patterns and parser exceptions.

How to Mitigate CVE-2025-26642

Immediate Actions Required

  • Apply the April 2025 Microsoft security updates referenced in the Microsoft Security Update CVE-2025-26642 advisory to all affected Office installations.
  • Prioritize patching of SharePoint Server 2019 and Office Online Server because they expose document parsing to a broader user base.
  • Verify that Microsoft 365 Apps clients are on a supported update channel and have received the latest cumulative update.

Patch Information

Microsoft has released security updates for all affected products. Consult the Microsoft Security Update CVE-2025-26642 advisory for KB article numbers, build numbers, and download links specific to each Office channel and version.

Workarounds

  • Enforce Protected View and Block Macros from Running in Office Files from the Internet via Group Policy to reduce the chance of automatic parsing of attacker-controlled files.
  • Restrict opening of Office documents originating from email or the internet by enabling Mark-of-the-Web enforcement and configuring File Block policies for legacy formats.
  • Deliver targeted user awareness training so recipients verify document sources before opening attachments from unknown senders.
bash
# Group Policy registry example: enforce Protected View for files from the internet (Excel)
reg add "HKCU\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" /v DisableInternetFilesInPV /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" /v DisableAttachmentsInPV /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" /v DisableUnsafeLocationsInPV /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 Office

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.47%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-125
  • Vendor Resources
  • Microsoft Security Update CVE-2025-26642
  • Related CVEs
  • CVE-2026-45458: Microsoft 365 Apps RCE Vulnerability

  • CVE-2026-44820: Microsoft Excel RCE Vulnerability

  • CVE-2026-44823: Microsoft Office Excel RCE Vulnerability

  • CVE-2026-44817: Microsoft Excel 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