CVE-2025-8677 Resource exhaustion via malformed DNSKEY handling

High 7.5 Published Updated

Attackers can cause CPU exhaustion and service denial by sending queries for malformed DNSKEY records in crafted zones.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-8677?

CVE-2025-8677 is a high-severity denial of service vulnerability in ISC BIND 9, published on 22 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Querying 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.

Weakness: CWE-405

Which versions are affected by CVE-2025-8677?

Linux distribution packages (32)
bind AlmaLinux:9All versions32:9.16.23-40.el9_8.1
bind-chroot AlmaLinux:9All versions32:9.16.23-40.el9_8.1
bind-devel AlmaLinux:9All versions32:9.16.23-40.el9_8.1
bind-dnssec-doc AlmaLinux:9All versions32:9.16.23-40.el9_8.1
bind-dnssec-utils AlmaLinux:9All versions32:9.16.23-40.el9_8.1
bind-doc AlmaLinux:9All versions32:9.16.23-40.el9_8.1
bind-libs AlmaLinux:9All versions32:9.16.23-40.el9_8.1
bind-license AlmaLinux:9All versions32:9.16.23-40.el9_8.1
bind-utils AlmaLinux:9All versions32:9.16.23-40.el9_8.1
python3-bind AlmaLinux:9All versions32:9.16.23-40.el9_8.1
bind Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
bind-chroot Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
bind-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
bind-debugsource Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
bind-dnssec-doc Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
bind-dnssec-utils Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
bind-dnssec-utils-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
bind-libs Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
bind-libs-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
bind-license Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
bind-utils Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
bind-utils-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
python3-bind Red Hat:enterprise_linux:9::appstreamAll versions32:9.16.23-40.el9_8.1
bind-debuginfo Red Hat:enterprise_linux:9::crbAll versions32:9.16.23-40.el9_8.1
bind-debugsource Red Hat:enterprise_linux:9::crbAll versions32:9.16.23-40.el9_8.1
bind-devel Red Hat:enterprise_linux:9::crbAll versions32:9.16.23-40.el9_8.1
bind-dnssec-utils-debuginfo Red Hat:enterprise_linux:9::crbAll versions32:9.16.23-40.el9_8.1
bind-doc Red Hat:enterprise_linux:9::crbAll versions32:9.16.23-40.el9_8.1
bind-libs Red Hat:enterprise_linux:9::crbAll versions32:9.16.23-40.el9_8.1
bind-libs-debuginfo Red Hat:enterprise_linux:9::crbAll versions32:9.16.23-40.el9_8.1
bind-utils-debuginfo Red Hat:enterprise_linux:9::crbAll versions32:9.16.23-40.el9_8.1
bind Rocky Linux:9All versions2:9.16.23-40.el9_8.1

How do I fix CVE-2025-8677?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-8677 being exploited?

There is no known exploitation of CVE-2025-8677 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2025-8677, ALSA-2026:18786, AZL-68733, AZL-68742, BELL-CVE-2025-8677, CLSA-2026-1782147734 and 7 more.

Is CVE-2025-8677 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free