CVEfocus › CVE database › CVE-2025-40780

CVE-2025-40780Cache poisoning due to weak PRNG

CVSS 8.6 HighEPSS 0.6% (higher than 40% of CVEs)Published 2025-10-22Updated 2025-11-04Assigner: isc

In specific circumstances, due to a weakness in the Pseudo Random Number Generator (PRNG) that is used, it is possible for an attacker to predict the source port and query ID that BIND will use. This issue affects BIND 9 versions 9.16.0 through 9.16.50, 9.18.0 through 9.18.39, 9.20.0 through 9.20.13, 9.21.0 through 9.21.12, 9.16.8-S1 through 9.16.50-S1, 9.18.11-S1 through 9.18.39-S1, and 9.20.9-S1 through 9.20.13-S1.

CWE-341

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

85Fixed
3Fix pending
3Under investigation
1Will not fix
45Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04bind9Fixed1:9.20.11-1ubuntu3UBUNTU-CVE-2025-40780
Ubuntu 26.04isc-dhcpUnder investigationUBUNTU-CVE-2025-40780
Ubuntu 25.10bind9Fixed1:9.20.11-1ubuntu2.1UBUNTU-CVE-2025-40780
Ubuntu 25.10isc-dhcpWill not fix
As of isc-dhcp-4.4.3-1, isc-dhcp vendors bind9 libs in focal and jammy, isc-dhcp uses the bind9-libs package per upstream, 9.16+, need to check This is…
UBUNTU-CVE-2025-40780
Ubuntu 24.04bind9Fixed1:9.18.39-0ubuntu0.24.04.2UBUNTU-CVE-2025-40780
Ubuntu 24.04isc-dhcpUnder investigationUBUNTU-CVE-2025-40780
Ubuntu 22.04bind9Fixed1:9.18.39-0ubuntu0.22.04.2UBUNTU-CVE-2025-40780
Ubuntu 22.04bind9-libsUnder investigationUBUNTU-CVE-2025-40780
Ubuntu 22.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 20.04bind9Fix pending1:9.18.30-0ubuntu0.20.04.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-40780
Ubuntu 20.04bind9-libsFix pendingUBUNTU-CVE-2025-40780
Ubuntu 18.04isc-dhcpFix pendingUBUNTU-CVE-2025-40780
Debian 14bind9Fixed1:9.20.15-1DEBIAN-CVE-2025-40780
Debian 13bind9Fixed1:9.20.15-1~deb13u1DEBIAN-CVE-2025-40780
Debian 12bind9Fixed1:9.18.41-1~deb12u1DEBIAN-CVE-2025-40780
Red Hat Enterprise Linux 10bindFixed32:9.18.33-4.el10_0.2RHSA-2025:21034
Red Hat Enterprise Linux 10bind-chrootFixed32:9.18.33-10.el10_1.2RHSA-2025:19912
Red Hat Enterprise Linux 10bind-develFixed32:9.18.33-10.el10_1.2RHSA-2025:19912
Red Hat Enterprise Linux 10bind-dnssec-utilsFixed32:9.18.33-10.el10_1.2RHSA-2025:19912
Red Hat Enterprise Linux 10bind-docFixed32:9.18.33-10.el10_1.2RHSA-2025:19912
Red Hat Enterprise Linux 10bind-libsFixed32:9.18.33-10.el10_1.2RHSA-2025:19912
Red Hat Enterprise Linux 10bind-licenseFixed32:9.18.33-10.el10_1.2RHSA-2025:19912
Red Hat Enterprise Linux 10bind-utilsFixed32:9.18.33-4.el10_0.2RHSA-2025:21034
Red Hat Enterprise Linux 9bindFixed32:9.16.23-34.el9_7.1RHSA-2025:19951
Red Hat Enterprise Linux 9bind-chrootFixed32:9.16.23-34.el9_7.1RHSA-2025:19951
Red Hat Enterprise Linux 9bind-develFixed32:9.16.23-31.el9_6.2RHSA-2025:21110
Red Hat Enterprise Linux 9bind-dnssec-docFixed32:9.16.23-31.el9_6.2RHSA-2025:21110
Red Hat Enterprise Linux 9bind-dnssec-utilsFixed32:9.16.23-31.el9_6.2RHSA-2025:21110
Red Hat Enterprise Linux 9bind-docFixed32:9.16.23-34.el9_7.1RHSA-2025:19951
Red Hat Enterprise Linux 9bind-libsFixed32:9.16.23-34.el9_7.1RHSA-2025:21110
Red Hat Enterprise Linux 9bind-licenseFixed32:9.16.23-31.el9_6.2RHSA-2025:21110
Red Hat Enterprise Linux 9bind-utilsFixed32:9.16.23-31.el9_6.2RHSA-2025:21110
Red Hat Enterprise Linux 9bind9.18Fixed32:9.18.29-5.el9_7.2RHSA-2025:19950
Red Hat Enterprise Linux 9bind9.18-chrootFixed32:9.18.29-4.el9_6.2RHSA-2025:21111
Red Hat Enterprise Linux 9bind9.18-develFixed32:9.18.29-4.el9_6.2RHSA-2025:21111
Red Hat Enterprise Linux 9bind9.18-dnssec-utilsFixed32:9.18.29-4.el9_6.2RHSA-2025:21111
Red Hat Enterprise Linux 9bind9.18-docFixed32:9.18.29-4.el9_6.2RHSA-2025:21111
Red Hat Enterprise Linux 9bind9.18-libsFixed32:9.18.29-5.el9_7.2RHSA-2025:21111
Red Hat Enterprise Linux 9bind9.18-utilsFixed32:9.18.29-4.el9_6.2RHSA-2025:21111
Red Hat Enterprise Linux 9dhcpNot affected
Red Hat Enterprise Linux 9dhcp-clientNot affected
Red Hat Enterprise Linux 9dhcp-commonNot affected
Red Hat Enterprise Linux 9dhcp-relayNot affected
Red Hat Enterprise Linux 9dhcp-serverNot affected
Red Hat Enterprise Linux 9python3-bindFixed32:9.16.23-31.el9_6.2RHSA-2025:21110
Red Hat Enterprise Linux 8bindNot affected
Red Hat Enterprise Linux 8bind-chrootNot affected
Red Hat Enterprise Linux 8bind-develNot affected
Red Hat Enterprise Linux 8bind-export-develNot affected
Red Hat Enterprise Linux 8bind-export-libsNot affected
Red Hat Enterprise Linux 8bind-libsNot affected
Red Hat Enterprise Linux 8bind-libs-liteNot affected
Red Hat Enterprise Linux 8bind-licenseNot affected
Red Hat Enterprise Linux 8bind-lite-develNot affected
Red Hat Enterprise Linux 8bind-pkcs11Not affected
Red Hat Enterprise Linux 8bind-pkcs11-develNot affected
Red Hat Enterprise Linux 8bind-pkcs11-libsNot affected
Red Hat Enterprise Linux 8bind-pkcs11-utilsNot affected
Red Hat Enterprise Linux 8bind-sdbNot affected
Red Hat Enterprise Linux 8bind-sdb-chrootNot affected
Red Hat Enterprise Linux 8bind-utilsNot affected
Red Hat Enterprise Linux 8bind9.16Fixed32:9.16.23-0.22.el8_10.4RHSA-2025:19793
Red Hat Enterprise Linux 8bind9.16-chrootFixed32:9.16.23-0.22.el8_10.4RHSA-2025:19793
Red Hat Enterprise Linux 8bind9.16-develFixed32:9.16.23-0.22.el8_10.4RHSA-2025:19793
Red Hat Enterprise Linux 8bind9.16-dnssec-utilsFixed32:9.16.23-0.22.el8_10.4RHSA-2025:19793
Red Hat Enterprise Linux 8bind9.16-docFixed32:9.16.23-0.22.el8_10.4RHSA-2025:19793
Red Hat Enterprise Linux 8bind9.16-libsFixed32:9.16.23-0.22.el8_10.4RHSA-2025:19793
Red Hat Enterprise Linux 8bind9.16-licenseFixed32:9.16.23-0.22.el8_10.4RHSA-2025:19793
Red Hat Enterprise Linux 8bind9.16-utilsFixed32:9.16.23-0.22.el8_10.4RHSA-2025:19793
Red Hat Enterprise Linux 8python3-bindNot affected
Red Hat Enterprise Linux 8python3-bind9.16Fixed32:9.16.23-0.22.el8_10.4RHSA-2025:19793
Red Hat Enterprise Linux 7bindNot affected
Red Hat Enterprise Linux 7bind-chrootNot affected
Red Hat Enterprise Linux 7bind-develNot affected
Red Hat Enterprise Linux 7bind-export-develNot affected
Red Hat Enterprise Linux 7bind-export-libsNot affected
Red Hat Enterprise Linux 7bind-libsNot affected
Red Hat Enterprise Linux 7bind-libs-liteNot affected
Red Hat Enterprise Linux 7bind-licenseNot affected
Red Hat Enterprise Linux 7bind-lite-develNot affected
Red Hat Enterprise Linux 7bind-pkcs11Not affected
Red Hat Enterprise Linux 7bind-pkcs11-develNot affected
Red Hat Enterprise Linux 7bind-pkcs11-libsNot affected
Red Hat Enterprise Linux 7bind-pkcs11-utilsNot affected
Red Hat Enterprise Linux 7bind-sdbNot affected
Red Hat Enterprise Linux 7bind-sdb-chrootNot affected
Red Hat Enterprise Linux 7bind-utilsNot affected
Red Hat Enterprise Linux 6bindNot affected
Red Hat Enterprise Linux 6bind-chrootNot affected
Red Hat Enterprise Linux 6bind-develNot affected
Red Hat Enterprise Linux 6bind-libsNot affected
Red Hat Enterprise Linux 6bind-sdbNot affected
Red Hat Enterprise Linux 6bind-utilsNot affected
AlmaLinux 10bindFixed32:9.18.33-10.el10_1.2ALSA-2025:21034
AlmaLinux 10bind-chrootFixed32:9.18.33-10.el10_1.2ALSA-2025:21034
AlmaLinux 10bind-develFixed32:9.18.33-10.el10_1.2ALSA-2025:21034
AlmaLinux 10bind-dnssec-utilsFixed32:9.18.33-10.el10_1.2ALSA-2025:21034
AlmaLinux 10bind-docFixed32:9.18.33-4.el10_0.2ALSA-2025:21034
AlmaLinux 10bind-libsFixed32:9.18.33-10.el10_1.2ALSA-2025:21034
AlmaLinux 10bind-licenseFixed32:9.18.33-10.el10_1.2ALSA-2025:19912
AlmaLinux 10bind-utilsFixed32:9.18.33-10.el10_1.2ALSA-2025:21034
AlmaLinux 9bindFixed32:9.16.23-34.el9_7.1ALSA-2025:21110
AlmaLinux 9bind-chrootFixed32:9.16.23-34.el9_7.1ALSA-2025:21110
AlmaLinux 9bind-develFixed32:9.16.23-34.el9_7.1ALSA-2025:21110
AlmaLinux 9bind-dnssec-docFixed32:9.16.23-34.el9_7.1ALSA-2025:21110
AlmaLinux 9bind-dnssec-utilsFixed32:9.16.23-34.el9_7.1ALSA-2025:21110
AlmaLinux 9bind-docFixed32:9.16.23-34.el9_7.1ALSA-2025:21110
AlmaLinux 9bind-libsFixed32:9.16.23-34.el9_7.1ALSA-2025:21110
AlmaLinux 9bind-licenseFixed32:9.16.23-34.el9_7.1ALSA-2025:21110
AlmaLinux 9bind-utilsFixed32:9.16.23-34.el9_7.1ALSA-2025:21110
AlmaLinux 9bind9.18Fixed32:9.18.29-4.el9_6.2ALSA-2025:21111
AlmaLinux 9bind9.18-chrootFixed32:9.18.29-4.el9_6.2ALSA-2025:21111
AlmaLinux 9bind9.18-develFixed32:9.18.29-4.el9_6.2ALSA-2025:21111
AlmaLinux 9bind9.18-dnssec-utilsFixed32:9.18.29-5.el9_7.2ALSA-2025:19950
AlmaLinux 9bind9.18-docFixed32:9.18.29-4.el9_6.2ALSA-2025:21111
AlmaLinux 9bind9.18-libsFixed32:9.18.29-4.el9_6.2ALSA-2025:21111
AlmaLinux 9bind9.18-utilsFixed32:9.18.29-4.el9_6.2ALSA-2025:21111
AlmaLinux 9python3-bindFixed32:9.16.23-34.el9_7.1ALSA-2025:21110
AlmaLinux 8bind9.16Fixed32:9.16.23-0.22.el8_10.4ALSA-2025:19793
AlmaLinux 8bind9.16-chrootFixed32:9.16.23-0.22.el8_10.4ALSA-2025:19793
AlmaLinux 8bind9.16-develFixed32:9.16.23-0.22.el8_10.4ALSA-2025:19793
AlmaLinux 8bind9.16-dnssec-utilsFixed32:9.16.23-0.22.el8_10.4ALSA-2025:19793
AlmaLinux 8bind9.16-docFixed32:9.16.23-0.22.el8_10.4ALSA-2025:19793
AlmaLinux 8bind9.16-libsFixed32:9.16.23-0.22.el8_10.4ALSA-2025:19793
AlmaLinux 8bind9.16-licenseFixed32:9.16.23-0.22.el8_10.4ALSA-2025:19793
AlmaLinux 8bind9.16-utilsFixed32:9.16.23-0.22.el8_10.4ALSA-2025:19793
AlmaLinux 8python3-bind9.16Fixed32:9.16.23-0.22.el8_10.4ALSA-2025:19793
Rocky Linux 10bindFixed2:9.18.33-10.el10_1.2RLSA-2025:21034
Rocky Linux 9bindFixed2:9.16.23-34.el9_7.1RLSA-2025:21110
Rocky Linux 9bind9.18Fixed2:9.18.29-5.el9_7.2RLSA-2025:21111
Rocky Linux 8bind9.16Fixed2:9.16.23-0.22.el8_10.4RLSA-2025:19793
Alpine Linux 3.24bindFixed9.20.15-r0ALPINE-CVE-2025-40780
Alpine Linux 3.23bindFixed9.20.15-r0ALPINE-CVE-2025-40780
Alpine Linux 3.22bindFixed9.20.15-r0ALPINE-CVE-2025-40780
Alpine Linux 3.21bindFixed9.18.41-r0ALPINE-CVE-2025-40780
Alpine Linux 3.20bindFixed9.18.41-r0ALPINE-CVE-2025-40780
Alpine Linux 3.19bindFixed9.18.41-r0ALPINE-CVE-2025-40780

What the vendor says

As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to the patched release most closely related to your current version of BIND 9: 9.18.41, 9.20.15, 9.21.14, 9.18.41-S1, or 9.20.15-S1.

Workaround: No workarounds known.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.