CVEfocus › CVE database › CVE-2026-5946

CVE-2026-5946Invalid handling of CLASS != IN

CVSS 7.5 HighEPSS 1.8% (higher than 78% of CVEs)Published 2026-05-20Updated 2026-09-17Assigner: isc

Multiple flaws have been identified in `named` related to the handling of DNS messages whose CLASS is not Internet (`IN`) — for example, `CHAOS` or `HESIOD`, or DNS messages that specify meta-classes (`ANY` or `NONE`) in the question section. Specially crafted requests reaching the affected code paths — recursion, dynamic updates (`UPDATE`), zone change notifications (`NOTIFY`), or processing of `IN`-specific record types in non-`IN` data — can cause assertion failures in `named`. This issue affects BIND 9 versions 9.11.0 through 9.16.50, 9.18.0 through 9.18.48, 9.20.0 through 9.20.22, 9.21.0 through 9.21.21, 9.11.3-S1 through 9.16.50-S1, 9.18.11-S1 through 9.18.48-S1, and 9.20.9-S1 through 9.20.22-S1.

CWE-125CWE-1287CWE-20CWE-617CWE-754CWE-843

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

113Fixed
4Fix pending
9Not 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.18-1ubuntu2.1UBUNTU-CVE-2026-5946
Ubuntu 26.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 25.10bind9Fixed1:9.20.11-1ubuntu2.4UBUNTU-CVE-2026-5946
Ubuntu 25.10isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 24.04bind9Fixed1:9.18.39-0ubuntu0.24.04.5UBUNTU-CVE-2026-5946
Ubuntu 24.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 22.04bind9Fixed1:9.18.39-0ubuntu0.22.04.4UBUNTU-CVE-2026-5946
Ubuntu 22.04bind9-libsFix pendingUBUNTU-CVE-2026-5946
Ubuntu 22.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 20.04bind9Fix pending1:9.18.30-0ubuntu0.20.04.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-5946
Ubuntu 20.04bind9-libsFix pendingUBUNTU-CVE-2026-5946
Ubuntu 18.04bind9Fix pending1:9.11.3+dfsg-1ubuntu1.19+esm5 (Ubuntu Pro)UBUNTU-CVE-2026-5946
Debian 14bind9Fixed1:9.20.23-1DEBIAN-CVE-2026-5946
Debian 13bind9Fixed1:9.20.23-1~deb13u1DEBIAN-CVE-2026-5946
Debian 12bind9Fixed1:9.18.49-1~deb12u2DEBIAN-CVE-2026-5946
Red Hat Enterprise Linux 10bindFixed32:9.18.33-15.el10_2.2RHSA-2026:24338
Red Hat Enterprise Linux 10bind-chrootFixed32:9.18.33-15.el10_2.2RHSA-2026:24338
Red Hat Enterprise Linux 10bind-develFixed32:9.18.33-15.el10_2.2RHSA-2026:24338
Red Hat Enterprise Linux 10bind-dnssec-utilsFixed32:9.18.33-15.el10_2.2RHSA-2026:24338
Red Hat Enterprise Linux 10bind-docFixed32:9.18.33-15.el10_2.2RHSA-2026:24338
Red Hat Enterprise Linux 10bind-libsFixed32:9.18.33-15.el10_2.2RHSA-2026:24338
Red Hat Enterprise Linux 10bind-licenseFixed32:9.18.33-15.el10_2.2RHSA-2026:24338
Red Hat Enterprise Linux 10bind-utilsFixed32:9.18.33-15.el10_2.2RHSA-2026:24338
Red Hat Enterprise Linux 9bindFixed32:9.16.23-40.el9_8.2RHSA-2026:24367
Red Hat Enterprise Linux 9bind-chrootFixed32:9.16.23-40.el9_8.2RHSA-2026:24367
Red Hat Enterprise Linux 9bind-develFixed32:9.16.23-40.el9_8.2RHSA-2026:24367
Red Hat Enterprise Linux 9bind-dnssec-docFixed32:9.16.23-40.el9_8.2RHSA-2026:24367
Red Hat Enterprise Linux 9bind-dnssec-utilsFixed32:9.16.23-40.el9_8.2RHSA-2026:24367
Red Hat Enterprise Linux 9bind-docFixed32:9.16.23-40.el9_8.2RHSA-2026:24367
Red Hat Enterprise Linux 9bind-libsFixed32:9.16.23-40.el9_8.2RHSA-2026:24367
Red Hat Enterprise Linux 9bind-licenseFixed32:9.16.23-40.el9_8.2RHSA-2026:24367
Red Hat Enterprise Linux 9bind-utilsFixed32:9.16.23-40.el9_8.2RHSA-2026:24367
Red Hat Enterprise Linux 9bind9.18Fixed32:9.18.29-14.el9_8.2RHSA-2026:24368
Red Hat Enterprise Linux 9bind9.18-chrootFixed32:9.18.29-14.el9_8.2RHSA-2026:24368
Red Hat Enterprise Linux 9bind9.18-develFixed32:9.18.29-14.el9_8.2RHSA-2026:24368
Red Hat Enterprise Linux 9bind9.18-dnssec-utilsFixed32:9.18.29-14.el9_8.2RHSA-2026:24368
Red Hat Enterprise Linux 9bind9.18-docFixed32:9.18.29-14.el9_8.2RHSA-2026:24368
Red Hat Enterprise Linux 9bind9.18-libsFixed32:9.18.29-14.el9_8.2RHSA-2026:24368
Red Hat Enterprise Linux 9bind9.18-utilsFixed32:9.18.29-14.el9_8.2RHSA-2026:24368
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-40.el9_8.2RHSA-2026:24367
Red Hat Enterprise Linux 8bindFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-chrootFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-develFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-export-develFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-export-libsFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-libsFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-libs-liteFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-licenseFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-lite-develFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-pkcs11Fixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-pkcs11-develFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-pkcs11-libsFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-pkcs11-utilsFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-sdbFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-sdb-chrootFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind-utilsFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8bind9.16Fixed32:9.16.23-0.22.el8_10.6RHSA-2026:23360
Red Hat Enterprise Linux 8bind9.16-chrootFixed32:9.16.23-0.22.el8_10.6RHSA-2026:23360
Red Hat Enterprise Linux 8bind9.16-develFixed32:9.16.23-0.22.el8_10.6RHSA-2026:23360
Red Hat Enterprise Linux 8bind9.16-dnssec-utilsFixed32:9.16.23-0.22.el8_10.6RHSA-2026:23360
Red Hat Enterprise Linux 8bind9.16-docFixed32:9.16.23-0.22.el8_10.6RHSA-2026:23360
Red Hat Enterprise Linux 8bind9.16-libsFixed32:9.16.23-0.22.el8_10.6RHSA-2026:23360
Red Hat Enterprise Linux 8bind9.16-licenseFixed32:9.16.23-0.22.el8_10.6RHSA-2026:23360
Red Hat Enterprise Linux 8bind9.16-utilsFixed32:9.16.23-0.22.el8_10.6RHSA-2026:23360
Red Hat Enterprise Linux 8python3-bindFixed32:9.11.36-16.el8_10.8RHSA-2026:24339
Red Hat Enterprise Linux 8python3-bind9.16Fixed32:9.16.23-0.22.el8_10.6RHSA-2026:23360
AlmaLinux 10bind-docFixed32:9.18.33-15.el10_2.2ALSA-2026:24338
AlmaLinux 10bind-licenseFixed32:9.18.33-15.el10_2.2ALSA-2026:24338
AlmaLinux 9bindFixed32:9.16.23-40.el9_8.2ALSA-2026:24367
AlmaLinux 9bind-chrootFixed32:9.16.23-40.el9_8.2ALSA-2026:24367
AlmaLinux 9bind-develFixed32:9.16.23-40.el9_8.2ALSA-2026:24367
AlmaLinux 9bind-dnssec-docFixed32:9.16.23-40.el9_8.2ALSA-2026:24367
AlmaLinux 9bind-dnssec-utilsFixed32:9.16.23-40.el9_8.2ALSA-2026:24367
AlmaLinux 9bind-docFixed32:9.16.23-40.el9_8.2ALSA-2026:24367
AlmaLinux 9bind-libsFixed32:9.16.23-40.el9_8.2ALSA-2026:24367
AlmaLinux 9bind-licenseFixed32:9.16.23-40.el9_8.2ALSA-2026:24367
AlmaLinux 9bind-utilsFixed32:9.16.23-40.el9_8.2ALSA-2026:24367
AlmaLinux 9bind9.18Fixed32:9.18.29-14.el9_8.2ALSA-2026:24368
AlmaLinux 9bind9.18-chrootFixed32:9.18.29-14.el9_8.2ALSA-2026:24368
AlmaLinux 9bind9.18-develFixed32:9.18.29-14.el9_8.2ALSA-2026:24368
AlmaLinux 9bind9.18-dnssec-utilsFixed32:9.18.29-14.el9_8.2ALSA-2026:24368
AlmaLinux 9bind9.18-docFixed32:9.18.29-14.el9_8.2ALSA-2026:24368
AlmaLinux 9bind9.18-libsFixed32:9.18.29-14.el9_8.2ALSA-2026:24368
AlmaLinux 9bind9.18-utilsFixed32:9.18.29-14.el9_8.2ALSA-2026:24368
AlmaLinux 9python3-bindFixed32:9.16.23-40.el9_8.2ALSA-2026:24367
AlmaLinux 8bindFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-chrootFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-develFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-export-develFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-export-libsFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-libsFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-libs-liteFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-licenseFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-lite-develFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-pkcs11Fixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-pkcs11-develFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-pkcs11-libsFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-pkcs11-utilsFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-sdbFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-sdb-chrootFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind-utilsFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8bind9.16Fixed32:9.16.23-0.22.el8_10.6ALSA-2026:23360
AlmaLinux 8bind9.16-chrootFixed32:9.16.23-0.22.el8_10.6ALSA-2026:23360
AlmaLinux 8bind9.16-develFixed32:9.16.23-0.22.el8_10.6ALSA-2026:23360
AlmaLinux 8bind9.16-dnssec-utilsFixed32:9.16.23-0.22.el8_10.6ALSA-2026:23360
AlmaLinux 8bind9.16-docFixed32:9.16.23-0.22.el8_10.6ALSA-2026:23360
AlmaLinux 8bind9.16-libsFixed32:9.16.23-0.22.el8_10.6ALSA-2026:23360
AlmaLinux 8bind9.16-licenseFixed32:9.16.23-0.22.el8_10.6ALSA-2026:23360
AlmaLinux 8bind9.16-utilsFixed32:9.16.23-0.22.el8_10.6ALSA-2026:23360
AlmaLinux 8python3-bindFixed32:9.11.36-16.el8_10.8ALSA-2026:24339
AlmaLinux 8python3-bind9.16Fixed32:9.16.23-0.22.el8_10.6ALSA-2026:23360
Rocky Linux 10bindFixed2:9.18.33-15.el10_2.2RLSA-2026:24338
Rocky Linux 9bindFixed2:9.16.23-40.el9_8.2RLSA-2026:24367
Rocky Linux 9bind9.18Fixed2:9.18.29-14.el9_8.2RLSA-2026:24368
Rocky Linux 8bindFixed2:9.11.36-16.el8_10.8RLSA-2026:24339
Rocky Linux 8bind9.16Fixed2:9.16.23-0.22.el8_10.6RLSA-2026:23360
Alpine Linux 3.24bindFixed9.20.23-r0ALPINE-CVE-2026-5946
Alpine Linux 3.23bindFixed9.20.23-r0ALPINE-CVE-2026-5946
Alpine Linux 3.22bindFixed9.20.23-r0ALPINE-CVE-2026-5946
Alpine Linux 3.21bindFixed9.18.49-r0ALPINE-CVE-2026-5946
Alpine Linux 3.20bindFixed9.18.49-r0ALPINE-CVE-2026-5946

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.49, 9.20.23, 9.21.22, 9.18.49-S1, or 9.20.23-S1.

Workaround: Don't configure zones other than Internet (`IN`) class. Furthermore, do not expose the server that allows DNS Dynamic Update to the general Internet.

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.