A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Read More
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-62199

CVE-2025-62199: Microsoft 365 Apps Use After Free Vulnerability

CVE-2025-62199 is a use after free vulnerability in Microsoft 365 Apps that enables unauthorized attackers to execute code locally. This article covers the technical details, affected versions, security impact, and mitigation.

Published: May 26, 2026

CVE-2025-62199 Overview

CVE-2025-62199 is a use-after-free vulnerability [CWE-416] in Microsoft Office that allows an unauthorized attacker to execute code locally. The flaw affects multiple Office distributions, including Microsoft 365 Apps, Microsoft 365 Copilot, Microsoft Excel 2016, and the Office Long Term Servicing Channel (LTSC) 2021 and 2024 releases on both Windows and macOS. Exploitation requires user interaction, typically opening a crafted Office document. A successful attack yields code execution in the context of the logged-on user, with high impact to confidentiality, integrity, and availability.

Critical Impact

A crafted Office document can trigger memory reuse after deallocation, letting an attacker run arbitrary code on the victim's machine with the user's privileges.

Affected Products

  • Microsoft 365 Apps (Enterprise, x64 and x86)
  • Microsoft 365 Copilot (Android) and Microsoft Excel 2016 (x64 and x86)
  • Microsoft Office Long Term Servicing Channel 2021 and 2024 (Windows x64/x86 and macOS)

Discovery Timeline

  • 2025-11-11 - CVE-2025-62199 published to NVD by Microsoft
  • 2026-05-22 - Last updated in NVD database

Technical Details for CVE-2025-62199

Vulnerability Analysis

The issue is a use-after-free [CWE-416] in Microsoft Office's document parsing and object management code paths. The product frees a heap object but retains a dangling pointer that subsequent code dereferences. When an attacker controls the allocation that replaces the freed object, the resulting indirect call or write executes attacker-supplied data as code.

Exploitation is local but does not require prior authentication. The attack requires user interaction: the victim must open a malicious document delivered through email, a web download, or a shared file location. Once opened, the document drives Office through the vulnerable code path, triggers the freed-object reuse, and pivots into arbitrary code execution under the current user's security context.

Root Cause

Office components allocate document-bound objects (for example, embedded objects, parsed structures, or scriptable controls) and release them while another reference path still expects the object to be valid. When that stale reference is dereferenced, the heap region has typically been reclaimed and rewritten by attacker-controlled data, corrupting program state.

Attack Vector

Delivery follows the standard Office RCE pattern: a weaponized .xlsx, .docx, or related Office file is sent to the target. Opening or previewing the file (where Protected View is bypassed or disabled) executes the parser path that triggers the use-after-free. Because the CVSS vector is AV:L/AC:L/PR:N/UI:R, the attacker needs no credentials, only that the user opens the document.

No public proof-of-concept or exploit code is available at the time of writing, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog. See the Microsoft CVE-2025-62199 Advisory for vendor technical details.

Detection Methods for CVE-2025-62199

Indicators of Compromise

  • Office processes (EXCEL.EXE, WINWORD.EXE) spawning child processes such as cmd.exe, powershell.exe, rundll32.exe, or mshta.exe shortly after a document open event.
  • Office applications writing executable content (.exe, .dll, .scr) or scripts to %TEMP%, %APPDATA%, or Public directories.
  • Unexpected outbound network connections originating from Office processes to previously unseen hosts.
  • Crashes or Windows Error Reporting events in EXCEL.EXE or other Office binaries referencing heap corruption shortly after document interaction.

Detection Strategies

  • Hunt for Office-to-LOLBin (living-off-the-land binary) process chains using EDR telemetry and correlate with the source document path.
  • Inspect email attachments and SharePoint uploads for Office files containing embedded objects, OLE links, or unusual macro and add-in references.
  • Apply YARA and AMSI-based content scanning to Office documents at the mail gateway and at endpoint open time.

Monitoring Recommendations

  • Forward Sysmon Event IDs 1, 7, 11, and 22, together with Microsoft-Windows-Application-Experience logs, to a central analytics platform.
  • Alert on Office processes loading non-Microsoft signed modules or modules from user-writable directories.
  • Track Windows Defender Exploit Guard and Attack Surface Reduction (ASR) rule violations, particularly the rule blocking Office from creating child processes.

How to Mitigate CVE-2025-62199

Immediate Actions Required

  • Apply the Microsoft security update referenced in the Microsoft CVE-2025-62199 Advisory across all affected Office channels and platforms.
  • Verify update deployment on Microsoft 365 Apps, Excel 2016, and Office LTSC 2021/2024 endpoints, including macOS clients.
  • Enforce Protected View and Office macro restrictions through Group Policy or Intune for documents originating from the internet or email.
  • Enable Microsoft Defender Attack Surface Reduction rules, particularly the rule that blocks Office applications from creating child processes.

Patch Information

Microsoft has released fixes through the standard Microsoft Update channel. Administrators should consult the vendor advisory at Microsoft Security Update Guide - CVE-2025-62199 for the specific build numbers per channel (Current Channel, Monthly Enterprise Channel, Semi-Annual Channel, LTSC) and deploy through WSUS, Intune, Configuration Manager, or click-to-run servicing.

Workarounds

  • Block or quarantine inbound Office attachments at the mail gateway until patching completes, with focus on Excel and Word file types.
  • Disable the Office Preview Pane in Outlook and Windows Explorer to reduce opportunistic triggering of the vulnerable parser.
  • Apply Microsoft's recommended file block policies via Group Policy for high-risk Office formats in unpatched environments.
  • Restrict end users to standard accounts so that successful exploitation does not grant administrative privileges.
bash
# Enable ASR rule: Block Office applications from creating child processes
Set-MpPreference -AttackSurfaceReductionRules_Ids D4F940AB-401B-4EFC-AADC-AD5F3C50688A `
                 -AttackSurfaceReductionRules_Actions Enabled

# Verify the rule is enforced
Get-MpPreference | Select-Object -ExpandProperty AttackSurfaceReductionRules_Ids

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechMicrosoft 365 Apps

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.49%

  • 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-416
  • Technical References
  • Vicarius Detection Blog

  • Vicarius Mitigation Blog
  • Vendor Resources
  • Microsoft CVE-2025-62199 Advisory
  • Related CVEs
  • CVE-2026-32198: Microsoft 365 Apps Use-After-Free Flaw

  • CVE-2026-32197: Microsoft 365 Apps Use After Free Flaw

  • CVE-2026-26107: Microsoft 365 Apps Use After Free Flaw

  • CVE-2026-20950: Microsoft 365 Apps Use-After-Free Flaw
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