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

CVE-2025-64657: Azure Application Gateway Privilege Escalation

CVE-2025-64657 is a privilege escalation vulnerability in Microsoft Azure Application Gateway caused by a stack-based buffer overflow. Attackers can exploit this flaw to elevate privileges remotely over a network.

Published: March 18, 2026

CVE-2025-64657 Overview

A stack-based buffer overflow vulnerability exists in Microsoft Azure Application Gateway that allows an unauthorized attacker to elevate privileges over a network. This vulnerability, classified as CWE-787 (Out-of-bounds Write), can be exploited remotely without requiring authentication or user interaction, making it a significant threat to organizations utilizing Azure Application Gateway for their web application delivery and security needs.

Critical Impact

An unauthenticated remote attacker can exploit this stack-based buffer overflow to achieve privilege escalation, potentially gaining full control over affected Azure Application Gateway instances and compromising the security of backend applications.

Affected Products

  • Microsoft Azure Application Gateway

Discovery Timeline

  • 2025-11-26 - CVE-2025-64657 published to NVD
  • 2026-02-13 - Last updated in NVD database

Technical Details for CVE-2025-64657

Vulnerability Analysis

This vulnerability represents a stack-based buffer overflow condition in Azure Application Gateway, a web traffic load balancer that enables organizations to manage traffic to their web applications. The flaw stems from improper handling of input data, which allows an attacker to write data beyond the boundaries of allocated stack memory. When exploited, this out-of-bounds write condition can corrupt adjacent memory structures, potentially allowing the attacker to hijack execution flow and escalate privileges within the affected system.

The attack can be executed remotely over the network without requiring any prior authentication or user interaction, significantly lowering the barrier for exploitation. Successful exploitation could result in complete compromise of confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause of CVE-2025-64657 is an out-of-bounds write vulnerability (CWE-787) in the Azure Application Gateway component. This occurs when the application fails to properly validate the size or boundaries of input data before copying it to a fixed-size buffer on the stack. When oversized or malformed input is processed, the data overflows the intended buffer boundaries, overwriting adjacent stack memory including return addresses, saved registers, or other critical data structures.

Attack Vector

The attack vector for this vulnerability is network-based, allowing remote exploitation. An attacker can send specially crafted network requests to a vulnerable Azure Application Gateway instance. The malicious payload would be designed to trigger the buffer overflow condition, overwriting stack memory with attacker-controlled data. By carefully crafting the payload, an attacker can manipulate the execution flow to elevate privileges, potentially gaining unauthorized administrative access to the gateway and its managed resources.

The attack requires no authentication credentials and no interaction from legitimate users, making it particularly dangerous in environments where Azure Application Gateway is exposed to untrusted networks.

Detection Methods for CVE-2025-64657

Indicators of Compromise

  • Unexpected crashes or restarts of Azure Application Gateway services
  • Anomalous network traffic patterns including oversized or malformed HTTP requests targeting the gateway
  • Unusual privilege escalation events or unauthorized administrative actions in Azure audit logs
  • Memory corruption artifacts or stack corruption indicators in diagnostic logs

Detection Strategies

  • Monitor Azure Application Gateway access logs for abnormally large request headers or payloads that could indicate buffer overflow attempts
  • Enable Azure Security Center threat detection to identify exploitation attempts against Azure resources
  • Implement network intrusion detection rules to flag suspicious traffic patterns targeting Application Gateway endpoints
  • Review Azure Activity Logs for unexpected configuration changes or privilege escalation events

Monitoring Recommendations

  • Enable comprehensive logging for Azure Application Gateway including access logs, firewall logs, and diagnostic logs
  • Configure Azure Monitor alerts for anomalous request patterns and gateway health degradation
  • Implement continuous monitoring of Azure AD audit logs for unauthorized privilege escalation attempts
  • Utilize Azure Sentinel or equivalent SIEM for correlation and analysis of security events across the Azure environment

How to Mitigate CVE-2025-64657

Immediate Actions Required

  • Review the Microsoft Security Advisory for the latest guidance and patches
  • Audit Azure Application Gateway configurations and restrict network access to trusted sources where possible
  • Enable Azure Web Application Firewall (WAF) with the latest rule sets to help mitigate potential exploitation attempts
  • Monitor Azure Application Gateway instances for signs of compromise or unusual activity

Patch Information

Microsoft has published security guidance for this vulnerability. Organizations should consult the Microsoft Security Advisory for detailed patch information and remediation steps. As Azure Application Gateway is a managed cloud service, Microsoft may apply security updates automatically, but organizations should verify their instances are protected and follow any additional guidance provided.

Workarounds

  • Implement network segmentation to limit exposure of Azure Application Gateway to untrusted networks
  • Enable Azure Web Application Firewall (WAF) with custom rules to inspect and block potentially malicious oversized requests
  • Configure Azure Network Security Groups to restrict inbound traffic to Application Gateway from known, trusted IP ranges only
  • Consider implementing Azure DDoS Protection to help mitigate network-based attack vectors

As Azure Application Gateway is a managed service, configuration-level mitigations should be applied through the Azure portal, CLI, or ARM templates according to Microsoft's recommended security baseline practices.

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechMicrosoft Azure Application Gateway

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Vendor Resources
  • Microsoft Security Advisory
  • Related CVEs
  • CVE-2025-64656: Azure Application Gateway Privilege Escalation
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