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

CVE-2025-49697: Microsoft 365 Apps Buffer Overflow Flaw

CVE-2025-49697 is a heap-based buffer overflow vulnerability in Microsoft 365 Apps that enables attackers to execute arbitrary code locally. This article covers the technical details, affected versions, security impact, and mitigation.

Published: May 26, 2026

CVE-2025-49697 Overview

CVE-2025-49697 is a heap-based buffer overflow vulnerability in Microsoft Office that allows an unauthorized attacker to execute code locally. The flaw, tracked under CWE-122, affects multiple Office editions including Microsoft 365 Apps, Office 2016, Office 2019, Office LTSC 2021, Office LTSC 2024, and Office Online Server. Microsoft published the advisory on July 8, 2025, and the issue carries a CVSS 3.1 base score of 8.4. Successful exploitation results in full compromise of confidentiality, integrity, and availability on the targeted system.

Critical Impact

Attackers can achieve arbitrary code execution under the context of the user running Microsoft Office, enabling malware deployment, credential theft, and lateral movement.

Affected Products

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

Discovery Timeline

  • 2025-07-08 - CVE-2025-49697 published to NVD and Microsoft Security Response Center advisory released
  • 2025-07-15 - Last updated in NVD database

Technical Details for CVE-2025-49697

Vulnerability Analysis

The vulnerability is a heap-based buffer overflow (CWE-122) within Microsoft Office document parsing routines. When Office processes a specially crafted document, it writes data beyond the bounds of a heap-allocated buffer. This corruption allows an attacker to overwrite adjacent heap structures, including object metadata and function pointers used by Office components.

By controlling the layout of the heap before triggering the overflow, an attacker can hijack control flow and execute arbitrary code in the security context of the user opening the document. The attack does not require elevated privileges or user interaction beyond opening the malicious file, which aligns with common phishing-driven delivery patterns for Office exploits.

Root Cause

The root cause is improper validation of size or length fields during the parsing of attacker-controlled document content. Office allocates a heap buffer based on one length value but copies data using another, producing an out-of-bounds write on the heap. Microsoft's advisory does not disclose the specific file format or parser involved.

Attack Vector

The attack vector is local: the attacker must deliver a crafted Office document, typically via email attachment, file share, or web download, to the victim. Once the document is opened in a vulnerable Office build, the parser triggers the heap overflow and the embedded payload executes. The Preview Pane is commonly leveraged for similar Office vulnerabilities, lowering the interaction threshold further.

No public proof-of-concept exploit code is currently available, and the vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog. The EPSS probability stands at 0.615% as of the latest scoring data, indicating moderate predicted exploitation activity over the next 30 days.

Detection Methods for CVE-2025-49697

Indicators of Compromise

  • Unexpected child processes spawned by winword.exe, excel.exe, powerpnt.exe, or outlook.exe, particularly cmd.exe, powershell.exe, rundll32.exe, or mshta.exe.
  • Office processes writing executables, scripts, or DLLs to user-writable locations such as %TEMP%, %APPDATA%, or %PUBLIC%.
  • Crash dumps or Windows Error Reporting events referencing heap corruption inside Office binaries.
  • Inbound emails delivering Office documents from untrusted senders, especially when paired with social-engineering lures.

Detection Strategies

  • Hunt for anomalous parent-child process relationships originating from Office applications across endpoint telemetry.
  • Monitor for module loads of LOLBins or unusual DLLs into Office processes following document open events.
  • Correlate Office application crashes with subsequent process creation or network connection events to surface exploitation attempts.

Monitoring Recommendations

  • Ingest Office, Sysmon, and EDR process telemetry into a centralized analytics platform for behavioral correlation.
  • Alert on outbound network connections initiated directly by Office processes to non-Microsoft destinations.
  • Track patch deployment status for all Office SKUs listed in the Microsoft advisory to identify unpatched endpoints.

How to Mitigate CVE-2025-49697

Immediate Actions Required

  • Apply the July 2025 security updates for all affected Microsoft Office and Microsoft 365 Apps channels as listed in the Microsoft Security Update CVE-2025-49697 advisory.
  • Inventory endpoints running Office 2016, 2019, LTSC 2021, LTSC 2024, and Office Online Server, and prioritize patching for internet-exposed and high-value users.
  • Restrict execution of macros and active content from untrusted sources using Group Policy or Intune configuration.

Patch Information

Microsoft has released security updates addressing CVE-2025-49697 through the standard Office and Microsoft 365 Apps update channels. Click-to-Run installations should receive the fix automatically once update channels are enabled. Refer to the Microsoft Security Update CVE-2025-49697 advisory for build numbers and KB articles per product.

Workarounds

  • Enable Protected View and Application Guard for Office to isolate documents from untrusted sources.
  • Disable the Outlook Preview Pane to reduce automatic rendering of attacker-supplied attachments.
  • Block inbound Office document attachments from external senders at the email gateway, or detonate them in a sandbox prior to delivery.
  • Apply Attack Surface Reduction (ASR) rules that block Office applications from creating child processes and from injecting code into other processes.
bash
# Enable ASR rules via PowerShell to limit Office exploitation impact
Set-MpPreference -AttackSurfaceReductionRules_Ids `
  D4F940AB-401B-4EFC-AADC-AD5F3C50688A, `
  3B576869-A4EC-4529-8536-B80A7769E899, `
  75668C1F-73B5-4CF0-BB93-3ECF5CB7CC84 `
  -AttackSurfaceReductionRules_Actions Enabled,Enabled,Enabled

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechMicrosoft 365 Apps

  • SeverityHIGH

  • CVSS Score8.4

  • EPSS Probability0.61%

  • 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-122
  • Vendor Resources
  • Microsoft Security Update CVE-2025-49697
  • Related CVEs
  • CVE-2025-62201: Microsoft 365 Apps Buffer Overflow Flaw

  • CVE-2025-47162: Microsoft 365 Apps Buffer Overflow Flaw

  • CVE-2025-32717: Microsoft 365 Apps Buffer Overflow Flaw

  • CVE-2025-62199: Microsoft 365 Apps Use After Free 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