CVE-2025-8677
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedQuerying for records within a specially crafted zone containing certain malformed DNSKEY records can lead to CPU exhaustion. This issue affects BIND 9 versions 9.18.0 through 9.18.39, 9.20.0 through 9.20.13, 9.21.0 through 9.21.12, 9.18.11-S1 through 9.18.39-S1, and 9.20.9-S1 through 9.20.13-S1.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA CPU exhaustion vulnerability exists in BIND 9 where processing queries for records in zones containing specially crafted malformed DNSKEY records triggers excessive computational overhead, leading to denial of service. The vulnerability affects multiple version branches across 9.18.x, 9.20.x, and 9.21.x.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify BIND 9 installation and versionRun 'named -v' or 'named -V' to display the BIND version. On systems using rpm: 'rpm -q bind'. On Debian/Ubuntu: 'dpkg -l bind9'.Affected if Version falls within 9.18.x (before 9.18.40), 9.20.x (before 9.20.14), or 9.21.x (before 9.21.13)
-
Confirm the named service is runningRun 'systemctl status named' or 'service named status' depending on your init system. Alternatively, 'ps aux | grep named' to verify the process is active.Affected if The named daemon is running and processing DNS queries
-
Verify if the DNS server accepts queries from untrusted sourcesCheck the 'allow-query' directive in named.conf (or included configuration files). Also check any zone definitions for zone-specific query restrictions. Look for 'allow-query { any; }' or broad IP ranges.Affected if The server allows queries from addresses other than trusted localhost or specific internal networks
-
Check for malformed DNSKEY records in served zones (optional)Use 'dig DNSKEY zone.name @server' to retrieve DNSKEY records for authoritative zones. Inspect the response for obviously malformed or unusually structured records. This step is supplemental and may require DNS expertise.Affected if Your zones contain malformed DNSKEY records being served to querying clients
A user is affected if they run a BIND 9 version prior to 9.18.40/9.20.14/9.21.13 AND the server is actively accepting DNS queries from untrusted or external sources.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade BIND 9 to versions 9.18.40+, 9.20.14+, or 9.21.13+ (or respective S1 variants) to patch the vulnerability. Consider rate-limiting or filtering DNS queries from untrusted sources as a temporary mitigation.
BIND 9.18.40, 9.20.14, or 9.21.13 (or latest S1 stable patches)
- 1. Identify the currently installed BIND 9 version using 'named -v' or 'bind -v'
- 2. Determine which stable release branch you are using (9.18.x, 9.20.x, or 9.21.x)
- 3. Obtain the latest patched version for your branch from ISC: 9.18.40, 9.20.14, or 9.21.13 (or the corresponding S1 stable releases)
- 4. Download the appropriate BIND 9 source or binary from ISC (https://www.isc.org/download/)
- 5. For source installations: compile and install following standard build procedures, then restart named
- 6. For package-based systems: install the updated package via your package manager, then restart named
- 7. Verify the new version is running with 'named -v'
- 8. Test DNS query functionality to ensure the server is operational
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-8677 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-8677 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data