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

CVE-2025-40780: BIND 9 Information Disclosure Vulnerability

CVE-2025-40780 is an information disclosure vulnerability in BIND 9 caused by a weak PRNG that allows attackers to predict source ports and query IDs. This article covers technical details, affected versions, and mitigation.

Published: March 11, 2026

CVE-2025-40780 Overview

CVE-2025-40780 is a cryptographic vulnerability affecting ISC BIND 9, one of the most widely deployed DNS server implementations. The vulnerability stems from a weakness in the Pseudo Random Number Generator (PRNG) used by BIND, which allows attackers to predict the source port and query ID values used in DNS queries. This predictability enables sophisticated DNS cache poisoning attacks that can redirect legitimate DNS queries to malicious destinations.

Critical Impact

Successful exploitation allows attackers to poison DNS caches by predicting source ports and query IDs, potentially redirecting users to malicious servers without detection.

Affected Products

  • BIND 9 versions 9.16.0 through 9.16.50
  • BIND 9 versions 9.18.0 through 9.18.39
  • BIND 9 versions 9.20.0 through 9.20.13
  • BIND 9 versions 9.21.0 through 9.21.12
  • BIND 9-S (Supported Preview) versions 9.16.8-S1 through 9.16.50-S1
  • BIND 9-S versions 9.18.11-S1 through 9.18.39-S1
  • BIND 9-S versions 9.20.9-S1 through 9.20.13-S1

Discovery Timeline

  • 2025-10-22 - CVE-2025-40780 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2025-40780

Vulnerability Analysis

This vulnerability is classified under CWE-341 (Predictable from Observable State), indicating that the PRNG implementation in BIND produces values that can be predicted by observing the system's state. In the context of DNS security, unpredictable source ports and transaction IDs (query IDs) are critical defenses against cache poisoning attacks—a protection mechanism that has been fundamental to DNS security since the Kaminsky attack disclosure in 2008.

The weakness enables a network-based attacker to significantly reduce the entropy required to successfully inject forged DNS responses. By predicting the source port and query ID combination, an attacker can craft spoofed DNS responses that will be accepted by the vulnerable BIND resolver as legitimate responses from authoritative nameservers.

Root Cause

The root cause lies in the Pseudo Random Number Generator (PRNG) implementation within BIND 9. Under specific circumstances, the PRNG produces predictable values for source port selection and DNS query ID generation. This weakness defeats the entropy-based protections that prevent attackers from blindly guessing the correct port/ID combination needed for successful cache poisoning.

The vulnerability affects the randomness quality of two critical DNS security parameters:

  • Source port randomization: Port numbers used for outbound DNS queries
  • Query ID (TXID) randomization: 16-bit transaction identifiers in DNS headers

Attack Vector

The attack can be executed remotely over the network without requiring any authentication or user interaction. An attacker positioned to observe and inject network traffic can:

  1. Analyze DNS query patterns from the target BIND resolver to observe PRNG outputs
  2. Use the observed values to predict future source port and query ID combinations
  3. Race legitimate authoritative responses with forged responses containing predicted values
  4. Successfully poison the DNS cache with malicious records

The vulnerability can be exploited to redirect traffic for arbitrary domain names to attacker-controlled infrastructure, enabling phishing, malware distribution, and man-in-the-middle attacks. The scope is changed, meaning successful exploitation can impact resources beyond the vulnerable component itself—affecting all clients relying on the poisoned DNS cache.

The attack requires network access to send packets to and from the vulnerable DNS resolver. For detailed technical analysis, refer to the ISC CVE-2025-40780 Advisory.

Detection Methods for CVE-2025-40780

Indicators of Compromise

  • Unusual patterns in DNS query source ports that exhibit predictable sequences
  • Multiple DNS responses received for single queries (indicating race condition attempts)
  • Unexpected changes in cached DNS records, particularly for high-value domains
  • Anomalous DNS traffic patterns from external sources targeting your resolver

Detection Strategies

  • Monitor BIND resolver logs for signs of cache poisoning attempts, such as rejected responses with incorrect port/ID combinations
  • Implement DNS response validation using DNSSEC to detect forged responses regardless of successful ID prediction
  • Deploy network intrusion detection signatures that identify DNS spoofing patterns
  • Analyze DNS query/response ratios for anomalies indicating injection attempts

Monitoring Recommendations

  • Enable and review BIND query logging to establish baselines and detect anomalies
  • Monitor for unexpected TTL changes in cached records that may indicate cache poisoning
  • Track DNS resolution patterns for critical domains and alert on unexpected IP address changes
  • Implement DNS firewall rules to restrict resolver access to authorized networks only

How to Mitigate CVE-2025-40780

Immediate Actions Required

  • Upgrade BIND to the latest patched version as specified in the ISC security advisory
  • Restrict DNS resolver access to trusted networks only using firewall rules and BIND ACLs
  • Enable DNSSEC validation on resolvers to cryptographically verify DNS responses
  • Consider implementing DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT) for additional transport security

Patch Information

ISC has released security updates addressing this vulnerability. Organizations should upgrade to the latest available BIND version for their respective branch. Consult the ISC CVE-2025-40780 Advisory for specific patched version numbers and upgrade instructions.

Additional information about this vulnerability was disclosed on the OpenWall OSS-Security Mailing List.

Workarounds

  • Enable DNSSEC validation to cryptographically verify DNS responses and reject forged data
  • Implement strict ACLs to limit which clients can query the resolver
  • Deploy rate limiting on DNS responses to slow down cache poisoning race conditions
  • Consider running BIND behind a DNS firewall or proxy that provides additional response validation
bash
# Configuration example - Enable DNSSEC validation and restrict access
# Add to named.conf options block
options {
    dnssec-validation auto;
    allow-query { trusted-networks; };
    allow-recursion { internal-clients; };
    rate-limit {
        responses-per-second 10;
    };
};

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechBind

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.03%

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

  • OpenWall OSS-Security Mailing List
  • Related CVEs
  • CVE-2026-3104: BIND 9 Memory Leak Vulnerability

  • CVE-2026-3591: BIND 9 Privilege Escalation Vulnerability

  • CVE-2026-1519: BIND DNS Resolver DoS Vulnerability

  • CVE-2026-3119: BIND 9 DNS Server DoS 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