{"id":"CVE-2026-5946","published":"2026-05-20T13:10:03Z","modified":"2026-09-17T12:04:38Z","title":"Invalid handling of CLASS != IN","vendor":"ISC","product":"BIND 9","tier":"tail","description":{"text":"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`.\nThis 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01942,"percentile":0.80669,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-617","name":"Reachable Assertion"},{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"},{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"},{"id":"CWE-1287","name":"Improper Validation of Specified Type of Input"}],"references":[{"url":"https://kb.isc.org/docs/cve-2026-5946","tags":["vendor-advisory"]},{"url":"https://downloads.isc.org/isc/bind9/9.18.49","tags":["patch"]},{"url":"https://downloads.isc.org/isc/bind9/9.20.23","tags":["patch"]},{"url":"https://downloads.isc.org/isc/bind9/9.21.22","tags":["patch"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-5946","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2479771","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5946.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60383","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:62549","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:65851","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24338","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24339","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:23360","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:57189","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:55441","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24367","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24368","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:20334","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":21.4,"factors":[{"name":"EPSS percentile","points":16.13},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"isc","affectedVersions":[{"vendor":"ISC","product":"BIND 9","versions":[">= 9.11.0, <= 9.16.50",">= 9.18.0, <= 9.18.48",">= 9.20.0, <= 9.20.22",">= 9.21.0, <= 9.21.21",">= 9.11.3-S1, <= 9.16.50-S1",">= 9.18.11-S1, <= 9.18.48-S1",">= 9.20.9-S1, <= 9.20.22-S1"]}],"solutions":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Don't configure zones other than Internet (`IN`) class. Furthermore, do not expose the server that allows DNS Dynamic Update to the general Internet."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-20T13:40:04.619504Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-31107","exploited":false,"provenance":"source"}}