Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-27745

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

CVE-2025-27745 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.

Updated: January 22, 2026

CVE-2025-27745 Overview

CVE-2025-27745 is a use-after-free vulnerability in Microsoft Office that allows an unauthorized attacker to execute arbitrary code locally. This memory corruption flaw occurs when the application continues to reference memory after it has been freed, potentially allowing attackers to manipulate program execution flow and achieve code execution on the target system.

Critical Impact

Successful exploitation of this use-after-free vulnerability could allow attackers to execute arbitrary code with the privileges of the current user, potentially leading to full system compromise when targeting privileged accounts.

Affected Products

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

Discovery Timeline

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

Technical Details for CVE-2025-27745

Vulnerability Analysis

This vulnerability is classified as CWE-416: Use After Free, a memory corruption class that occurs when a program continues to use a pointer after the memory it references has been freed. In the context of Microsoft Office, this flaw can be triggered when processing specially crafted documents that manipulate memory allocation patterns within the application.

The attack requires local access and user interaction, meaning a victim must open a malicious Office document for exploitation to occur. Upon successful exploitation, the attacker gains the ability to execute arbitrary code within the context of the Office application, inheriting all permissions of the current user.

Use-after-free vulnerabilities in complex applications like Microsoft Office are particularly dangerous because the application manages numerous object types and memory allocations during document processing, providing multiple potential exploitation primitives.

Root Cause

The root cause of CVE-2025-27745 lies in improper memory management within Microsoft Office. The vulnerability manifests when the application fails to properly invalidate references to freed memory objects. When memory is deallocated but pointers to that memory remain accessible, subsequent operations may inadvertently reuse the freed memory location, leading to undefined behavior that attackers can exploit for code execution.

Attack Vector

Exploitation of this vulnerability requires local access to the target system and user interaction. The typical attack scenario involves:

  1. An attacker crafts a malicious Office document (such as .docx, .xlsx, or .pptx) containing content designed to trigger the use-after-free condition
  2. The attacker delivers the malicious document to the victim through various means such as email attachments, file shares, or download links
  3. When the victim opens the document with a vulnerable version of Microsoft Office, the application processes the malicious content
  4. The use-after-free condition is triggered, allowing the attacker to manipulate memory and achieve code execution

The attacker must convince the user to open the malicious file, making social engineering an important component of real-world exploitation attempts.

Detection Methods for CVE-2025-27745

Indicators of Compromise

  • Unexpected Microsoft Office application crashes when opening documents from untrusted sources
  • Office processes spawning unusual child processes (e.g., cmd.exe, powershell.exe, or mshta.exe)
  • Anomalous memory allocation patterns in Office application event logs
  • Documents from external sources triggering Windows Defender or endpoint protection alerts

Detection Strategies

  • Enable and monitor Application Crash Reports for Microsoft Office applications to identify potential exploitation attempts
  • Deploy endpoint detection and response (EDR) solutions to monitor Office processes for suspicious behavior patterns
  • Implement email gateway scanning to detect and quarantine potentially malicious Office documents before delivery
  • Configure behavioral detection rules for Office applications spawning suspicious child processes

Monitoring Recommendations

  • Monitor Windows Event Logs for application crashes involving WINWORD.EXE, EXCEL.EXE, POWERPNT.EXE, and other Office binaries
  • Track network connections initiated by Office applications to identify potential command-and-control communications
  • Implement file integrity monitoring for Office application directories to detect unauthorized modifications
  • Review security audit logs for unusual document access patterns that may indicate reconnaissance or exploitation attempts

How to Mitigate CVE-2025-27745

Immediate Actions Required

  • Apply the latest Microsoft security updates for all affected Office products immediately
  • Enable Protected View and Application Guard for Office to isolate potentially malicious documents
  • Educate users about the risks of opening Office documents from untrusted or unknown sources
  • Consider blocking Office file types at the email gateway from external senders until patching is complete

Patch Information

Microsoft has released security updates to address CVE-2025-27745. Detailed patch information and download links are available in the Microsoft Security Update Guide. Organizations should prioritize patching based on their deployment of affected products:

  • Microsoft 365 Apps for Enterprise: Update through Microsoft 365 Admin Center or Windows Update
  • Microsoft Office 2016/2019: Apply the latest cumulative updates via Windows Update or WSUS
  • Office LTSC 2021/2024: Deploy updates through standard enterprise patch management processes

Workarounds

  • Enable Protected View for all Office documents originating from the Internet, email attachments, or potentially unsafe locations
  • Configure Office Application Guard (available in Microsoft 365 Apps for Enterprise) to open documents in isolated containers
  • Implement application whitelisting to restrict Office applications from executing unexpected child processes
  • Use Group Policy to enable Block macros from running in Office files from the Internet setting
bash
# PowerShell: Verify Office Protected View settings are enabled
Get-ItemProperty -Path "HKCU:\Software\Microsoft\Office\16.0\Word\Security\ProtectedView" -Name "DisableInternetFilesInPV" -ErrorAction SilentlyContinue
Get-ItemProperty -Path "HKCU:\Software\Microsoft\Office\16.0\Excel\Security\ProtectedView" -Name "DisableInternetFilesInPV" -ErrorAction SilentlyContinue

# Value of 0 means Protected View is enabled (default and secure)
# Value of 1 means Protected View is disabled (insecure)

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 Office

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.37%

  • 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 CVE-2025-27745
  • Related CVEs
  • CVE-2026-33115: Microsoft Word Use-After-Free Vulnerability

  • CVE-2026-33095: Microsoft Word Use After Free Vulnerability

  • CVE-2026-32200: Microsoft PowerPoint Use After Free Flaw

  • CVE-2026-32199: Microsoft Excel Use-After-Free Vulnerability
Default Legacy - Prefooter | 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