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
    • 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-24064

CVE-2025-24064: Windows Server 2008 Use After Free Flaw

CVE-2025-24064 is a use after free vulnerability in Windows Server 2008 DNS Server that enables unauthorized attackers to execute code remotely over a network. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-24064 Overview

CVE-2025-24064 is a use-after-free vulnerability in the Windows DNS Server service that allows an unauthorized attacker to execute arbitrary code over a network. This memory corruption flaw (CWE-416) occurs when the DNS Server improperly handles memory during certain operations, potentially allowing attackers to manipulate freed memory regions and gain control of program execution flow.

Critical Impact

Remote code execution vulnerability affecting Windows DNS Server across all supported Windows Server versions, potentially allowing complete system compromise of critical network infrastructure.

Affected Products

  • Microsoft Windows Server 2008 (SP2, R2 SP1) - x86 and x64
  • Microsoft Windows Server 2012 (including R2)
  • Microsoft Windows Server 2016
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2022 (including 23H2)
  • Microsoft Windows Server 2025

Discovery Timeline

  • March 11, 2025 - CVE-2025-24064 published to NVD
  • July 2, 2025 - Last updated in NVD database

Technical Details for CVE-2025-24064

Vulnerability Analysis

This use-after-free vulnerability resides in the Windows DNS Server component, a critical service responsible for domain name resolution in enterprise environments. The vulnerability allows an unauthenticated attacker to execute code remotely without requiring any user interaction.

The attack complexity is considered high, indicating that specific conditions must be met for successful exploitation. However, the potential impact is severe—successful exploitation grants attackers high-level access to confidentiality, integrity, and availability of the target system. DNS servers are particularly valuable targets as they are essential network infrastructure components that often have elevated privileges and visibility into network traffic.

Root Cause

The root cause of CVE-2025-24064 is improper memory management within the Windows DNS Server service. A use-after-free condition occurs when the application continues to reference memory after it has been freed. In this case, the DNS Server fails to properly invalidate pointers or prevent access to deallocated memory regions during specific DNS operations. When the freed memory is subsequently reallocated and populated with attacker-controlled data, the DNS Server may execute arbitrary code when it attempts to use the stale pointer.

Attack Vector

The attack is network-based and does not require authentication or user interaction. An attacker can exploit this vulnerability by sending specially crafted DNS requests to a vulnerable Windows DNS Server. The attack flow involves:

  1. The attacker identifies a target running the Windows DNS Server role
  2. Crafted network packets are sent to trigger the memory deallocation condition
  3. The attacker times subsequent requests to manipulate the freed memory region
  4. When the vulnerable code path accesses the freed memory, it executes attacker-controlled instructions

The high attack complexity indicates that precise timing or specific server state conditions may be required for reliable exploitation. See the Microsoft CVE-2025-24064 Advisory for additional technical details.

Detection Methods for CVE-2025-24064

Indicators of Compromise

  • Unusual DNS Server crashes or service restarts that may indicate exploitation attempts
  • Anomalous memory allocation patterns in the dns.exe process
  • Unexpected child processes spawned from the DNS Server service
  • Network traffic containing malformed or suspicious DNS queries targeting the DNS Server

Detection Strategies

  • Deploy network intrusion detection rules to identify potentially malicious DNS traffic patterns
  • Monitor Windows Event Logs for DNS Server service errors, crashes, and unexpected restarts (Event IDs 4000-4999 in DNS Server log)
  • Implement memory integrity monitoring for the dns.exe process using endpoint detection tools
  • Utilize SentinelOne Singularity Platform for real-time behavioral analysis and memory exploit detection

Monitoring Recommendations

  • Enable verbose DNS Server diagnostic logging to capture detailed query information
  • Configure alerts for abnormal DNS query volumes or patterns from single sources
  • Monitor system resource utilization for indicators of memory corruption exploitation
  • Implement network segmentation to limit direct external access to DNS servers

How to Mitigate CVE-2025-24064

Immediate Actions Required

  • Apply the security updates from Microsoft immediately to all affected Windows Server systems running the DNS Server role
  • Restrict network access to DNS servers to only trusted networks and clients where possible
  • Implement defense-in-depth by placing DNS servers behind properly configured firewalls
  • Ensure DNS servers are not directly exposed to untrusted networks without additional protective controls

Patch Information

Microsoft has released security updates addressing this vulnerability as part of their March 2025 security release. Administrators should apply the appropriate cumulative update for their Windows Server version through Windows Update, Windows Server Update Services (WSUS), or Microsoft Update Catalog. Refer to the Microsoft CVE-2025-24064 Advisory for specific KB articles and download links for each affected product version.

Workarounds

  • Limit network exposure of DNS servers by using firewall rules to restrict access to authorized clients only
  • Consider implementing DNS response rate limiting to reduce potential attack surface
  • Deploy additional DNS servers in a redundant configuration to maintain availability during potential attacks
  • Monitor DNS server health closely for signs of exploitation while awaiting patch deployment
bash
# Example: Restrict DNS access using Windows Firewall (PowerShell)
# Only allow DNS queries from trusted internal networks
New-NetFirewallRule -DisplayName "Restrict DNS Access" `
    -Direction Inbound `
    -Protocol UDP `
    -LocalPort 53 `
    -RemoteAddress 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 `
    -Action Allow

New-NetFirewallRule -DisplayName "Block External DNS UDP" `
    -Direction Inbound `
    -Protocol UDP `
    -LocalPort 53 `
    -Action Block

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/TechWindows

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.41%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Vendor Resources
  • Microsoft CVE-2025-24064 Advisory
  • Related CVEs
  • CVE-2026-23667: Windows 10 1809 Use-After-Free Flaw

  • CVE-2026-23669: Windows Print Spooler Use After Free Flaw

  • CVE-2026-22722: Windows Use-After-Free Vulnerability

  • CVE-2026-21251: Windows Server Use-After-Free Flaw
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