The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-27751

CVE-2025-27751: Microsoft 365 Apps Use-After-Free Flaw

CVE-2025-27751 is a use-after-free vulnerability in Microsoft Office Excel that enables attackers to execute arbitrary code locally. This article covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-27751 Overview

CVE-2025-27751 is a use-after-free vulnerability in Microsoft Office Excel that allows an unauthorized attacker to execute arbitrary code locally. This memory corruption flaw occurs when Excel improperly handles objects in memory, enabling attackers to craft malicious spreadsheet files that, when opened by a victim, can execute code in the context of the current user.

Critical Impact

Successful exploitation of this vulnerability could allow attackers to gain complete control over the affected system with the privileges of the logged-in user, potentially leading to data theft, malware installation, or lateral movement within an organization's network.

Affected Products

  • Microsoft 365 Apps for Enterprise
  • Microsoft Excel 2016
  • Microsoft Office 2019
  • Microsoft Office Long Term Servicing Channel 2021 (Windows and macOS)
  • Microsoft Office Long Term Servicing Channel 2024 (Windows and macOS)
  • Microsoft Office Online Server

Discovery Timeline

  • April 8, 2025 - CVE-2025-27751 published to NVD
  • July 9, 2025 - Last updated in NVD database

Technical Details for CVE-2025-27751

Vulnerability Analysis

This use-after-free vulnerability (CWE-416) exists within the memory management routines of Microsoft Excel. When processing specially crafted Excel documents, the application may continue to reference memory that has already been freed. An attacker who can convince a user to open a malicious Excel file can leverage this dangling pointer to corrupt memory and ultimately achieve arbitrary code execution.

The attack requires user interaction, specifically opening a malicious Excel document. The attack is local in nature, meaning the attacker must deliver the malicious file to the victim through social engineering tactics such as phishing emails, malicious downloads, or compromised file shares. Once opened, the exploit can execute code with the same privilege level as the current user.

Root Cause

The vulnerability stems from improper memory management within Excel's document parsing engine. When certain Excel objects are deallocated, the application fails to properly invalidate references to the freed memory. Subsequent operations that attempt to access these stale references can be manipulated by an attacker to redirect execution flow or corrupt critical data structures.

This type of use-after-free condition occurs when:

  1. Memory is allocated for an Excel object
  2. The memory is freed during document processing
  3. The application continues to hold and use the now-invalid pointer
  4. An attacker can control what data occupies the freed memory region

Attack Vector

The attack vector for CVE-2025-27751 requires local access and user interaction. An attacker would typically:

  1. Craft a malicious Excel document containing triggers for the use-after-free condition
  2. Deliver the malicious file to the victim via email attachment, web download, or shared network location
  3. Social engineer the victim into opening the document
  4. Upon opening, the malicious document exploits the memory corruption to execute attacker-controlled code

The vulnerability does not require elevated privileges to exploit, but successful exploitation grants the attacker the same access level as the victim user. This could include access to sensitive documents, email, and network resources.

Detection Methods for CVE-2025-27751

Indicators of Compromise

  • Unexpected Excel crashes or error messages when opening spreadsheet files from untrusted sources
  • Suspicious child processes spawned by EXCEL.EXE such as cmd.exe, powershell.exe, or other scripting interpreters
  • Unusual network connections originating from Excel processes
  • Presence of suspicious Excel files with unusual embedded objects or macros in temporary directories

Detection Strategies

  • Monitor for Excel processes exhibiting abnormal behavior such as spawning unexpected child processes or making network connections
  • Implement endpoint detection rules to identify memory corruption indicators in Office applications
  • Deploy YARA rules to scan for known malicious Excel document patterns targeting this vulnerability
  • Use application control policies to restrict execution of untrusted Office documents

Monitoring Recommendations

  • Enable Windows Defender Application Guard for Office to isolate potentially malicious documents
  • Configure Enhanced Mitigation Experience Toolkit (EMET) or Windows Defender Exploit Guard with Address Space Layout Randomization (ASLR) and Data Execution Prevention (DEP) protections
  • Review and correlate logs from email security gateways for suspicious Excel attachments
  • Monitor file system activity for Excel files being written to unusual locations

How to Mitigate CVE-2025-27751

Immediate Actions Required

  • Apply the latest Microsoft security updates for all affected Office products immediately
  • Enable Protected View in Microsoft Excel to prevent automatic execution of potentially malicious content
  • Block Excel files from untrusted sources at email and web gateways
  • Educate users about the risks of opening Excel documents from unknown or suspicious sources

Patch Information

Microsoft has released security updates to address this vulnerability. Administrators should consult the Microsoft Security Update Guide for detailed patch information and download links for all affected products.

Organizations should prioritize patching the following products:

  • Microsoft 365 Apps for Enterprise
  • Microsoft Excel 2016
  • Microsoft Office 2019
  • Microsoft Office LTSC 2021 and 2024

Workarounds

  • Enable Protected View for files originating from the Internet in Excel Trust Center settings
  • Configure Office to block files with embedded OLE objects from untrusted locations
  • Use Microsoft Defender Application Guard for Office to open untrusted documents in an isolated container
  • Implement strict email attachment policies to quarantine or scan all incoming Excel files
bash
# PowerShell: Enable Protected View for Excel documents from the Internet
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" -Name "DisableInternetFilesInPV" -Value 0
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" -Name "DisableUnsafeLocationsInPV" -Value 0
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" -Name "DisableAttachmentsInPV" -Value 0

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.75%

  • 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
  • Vendor Resources
  • Microsoft Security Update Guide
  • Related CVEs
  • CVE-2025-27750: Microsoft 365 Apps Use-After-Free Flaw

  • CVE-2025-47165: Microsoft 365 Apps Use-After-Free Flaw

  • CVE-2025-47953: Microsoft 365 Apps Use After Free Flaw

  • CVE-2025-47170: Microsoft 365 Apps Use-After-Free Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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