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

CVE-2025-40777: BIND 9 Denial of Service Vulnerability

CVE-2025-40777 is a denial of service vulnerability in BIND 9 that causes daemon crashes when specific caching resolver configurations encounter CNAME chains. This article covers technical details, affected versions, and mitigation.

Published: April 1, 2026

CVE-2025-40777 Overview

CVE-2025-40777 is a denial of service vulnerability in ISC BIND 9 DNS server that affects caching resolvers configured with specific stale answer settings. When named is configured with serve-stale-enable yes and stale-answer-client-timeout set to 0, and the resolver processes a query involving a CNAME chain with a specific combination of cached or authoritative records, the daemon will terminate unexpectedly with an assertion failure.

This vulnerability allows remote attackers to cause a denial of service condition by triggering the assertion failure, effectively crashing the DNS resolver and disrupting DNS resolution services for all dependent systems and clients.

Critical Impact

Remote attackers can crash BIND 9 DNS resolvers configured with stale answer features, causing widespread DNS resolution failures across networks relying on the affected resolver.

Affected Products

  • BIND 9 versions 9.20.0 through 9.20.10
  • BIND 9 versions 9.21.0 through 9.21.9
  • BIND 9 versions 9.20.9-S1 through 9.20.10-S1 (Supported Preview Edition)

Discovery Timeline

  • 2025-07-16 - CVE-2025-40777 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2025-40777

Vulnerability Analysis

This vulnerability is classified under CWE-617 (Reachable Assertion), indicating that the BIND 9 daemon contains an assertion check that can be triggered by an attacker through normal network operations. The assertion failure occurs in the query resolution path when processing CNAME chains under specific conditions.

The vulnerability specifically requires a precise configuration combination: the serve-stale feature must be enabled with stale-answer-client-timeout set to 0 (the only non-disabled value allowed). When these conditions are met, certain CNAME chain resolution patterns involving cached or authoritative records can trigger an internal assertion that causes the named process to abort immediately.

The network-accessible nature of this vulnerability means any remote attacker who can send DNS queries to the vulnerable resolver can potentially trigger the crash. No authentication or user interaction is required, making this highly exploitable in exposed DNS infrastructure.

Root Cause

The root cause is a reachable assertion (CWE-617) in the BIND 9 resolver code path that handles CNAME chain resolution when stale answer functionality is active. The assertion check fails when it encounters an unexpected state involving the combination of cached records and authoritative data during CNAME following. The stale-answer-client-timeout 0 setting appears to create a timing or state condition that exposes this code path to malformed or unusual CNAME chains that would otherwise be handled differently.

Attack Vector

The attack leverages the network-accessible DNS query interface. An attacker can craft DNS queries that, when resolved by the vulnerable BIND 9 server, trigger resolution paths involving specific CNAME chain configurations. The attacker does not need direct access to the server—they only need the ability to send DNS queries to the resolver, either directly or through recursive query mechanisms.

The attack can be executed by:

  1. Controlling or influencing authoritative DNS servers that the target resolver queries
  2. Crafting DNS responses that create the specific CNAME chain pattern
  3. Sending queries to the victim resolver that trigger resolution of the malicious CNAME chain

The vulnerability manifests in the CNAME chain processing logic when stale answer handling is active. When a query triggers resolution of a CNAME chain with a specific combination of cached and authoritative records, the internal state validation fails, causing named to abort with an assertion failure. For detailed technical information, refer to the ISC CVE-2025-40777 Advisory.

Detection Methods for CVE-2025-40777

Indicators of Compromise

  • Unexpected named process terminations or restarts in system logs
  • Assertion failure messages in BIND logs referencing CNAME resolution
  • DNS resolution failures reported by clients immediately after successful queries
  • Process core dumps containing assertion-related stack traces in the query resolution path

Detection Strategies

  • Monitor system logs for named daemon crashes with assertion failure messages
  • Implement process monitoring to detect unexpected BIND service restarts
  • Review DNS query logs for unusual CNAME-heavy query patterns from external sources
  • Configure automated alerting on named process state changes or exit codes

Monitoring Recommendations

  • Deploy health checks that verify named process stability and response times
  • Monitor DNS query latency spikes that may indicate service instability or restarts
  • Track BIND configuration files for changes to serve-stale-enable and stale-answer-client-timeout settings
  • Implement redundant DNS infrastructure monitoring to detect single-point failures

How to Mitigate CVE-2025-40777

Immediate Actions Required

  • Review BIND configurations for the vulnerable combination of serve-stale-enable yes and stale-answer-client-timeout 0
  • Temporarily disable or reconfigure stale answer settings to mitigate the vulnerability
  • Apply ISC security patches as soon as they become available for affected versions
  • Ensure DNS infrastructure redundancy to maintain service availability during patching

Patch Information

ISC has documented this vulnerability in their knowledge base. Administrators should consult the ISC CVE-2025-40777 Advisory for specific patch information and upgrade guidance. Upgrade to patched versions of BIND 9 beyond 9.20.10, 9.21.9, and 9.20.10-S1 as released by ISC.

Workarounds

  • Set stale-answer-client-timeout to disabled instead of 0 to avoid the vulnerable code path
  • Disable serve-stale-enable entirely if stale answer functionality is not critical to operations
  • Implement rate limiting on DNS queries to reduce the potential impact of exploitation attempts
  • Deploy multiple DNS resolvers behind load balancers to maintain availability if one instance crashes
bash
# Configuration example - Disable vulnerable stale answer settings
# In named.conf options block:
options {
    # Disable stale answer client timeout to mitigate CVE-2025-40777
    stale-answer-client-timeout disabled;
    
    # Alternatively, disable serve-stale entirely
    # serve-stale-enable no;
};

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechBind

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-617
  • Technical References
  • ISC CVE-2025-40777 Advisory

  • Openwall OSS-Security Discussion
  • Related CVEs
  • CVE-2026-1519: BIND DNS Resolver DoS Vulnerability

  • CVE-2026-3119: BIND 9 DNS Server DoS Vulnerability

  • CVE-2025-13878: BIND 9 DNS Server DoS Vulnerability

  • CVE-2025-8677: BIND 9 DNS DoS Vulnerability via DNSKEY
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