Description
An attacker who knows (or guesses) that a resolver uses RPZ with wildcard CNAME policies can craft query names long enough to trigger a NAMETOOLONG error condition during RPZ processing. This is not handled correctly and may lead to defeating the RPZ rule. It also may lead to an unexpected exit of the BIND 9 software.
This issue affects BIND 9 versions 9.16.0 through 9.18.50, 9.20.0 through 9.20.24, 9.21.0 through 9.21.23, 9.16.8-S1 through 9.18.50-S1, and 9.20.9-S1 through 9.20.24-S1.
Published: 2026-07-22
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An attacker who crafts a DNS query name long enough to trigger a NAMETOOLONG error in RPZ processing can defeat the wildcard CNAME RPZ policy, effectively bypassing the intended DNS policy. The flaw originates from an improper handling of the error condition, which may also cause the BIND 9 process to exit unexpectedly, leading to a denial of DNS service for clients. This weakness is identified as CWE‑790, a race condition or logic error that allows simultaneous state and error handling paths to be exploited.

Affected Systems

The vulnerability is present in ISC BIND 9 versions 9.16.0 through 9.18.50, 9.20.0 through 9.20.24, 9.21.0 through 9.21.23, and the corresponding –S1 releases 9.16.8‑S1 through 9.18.50‑S1 and 9.20.9‑S1 through 9.20.24‑S1. Updated releases such as 9.20.26, 9.21.24, and 9.20.26‑S1 contain the fix.

Risk and Exploitability

Based on the description, the attack vector is a network‑based attack requiring delivery of a crafted DNS query with an extremely long name to trigger the NAMETOOLONG error. The CVSS score of 7.5 indicates a high severity. The EPSS score of < 1 % indicates that exploitation is unlikely in the wild, and the vulnerability is not listed in CISA KEV. Successful exploitation would allow the resolver to bypass its wildcard CNAME RPZ rule and could cause an unexpected exit of the BIND 9 software, disrupting DNS service availability.

Generated by OpenCVE AI on August 3, 2026 at 23:36 UTC.

Remediation

Vendor Solution

Upgrade to the patched release most closely related to your current version of BIND 9: 9.20.26, 9.21.24, or 9.20.26-S1.


Vendor Workaround

No workarounds known.


OpenCVE Recommended Actions

  • Upgrade ISC BIND 9 to the latest patched release (9.20.26, 9.21.24, or 9.20.26‑S1).
  • Implement query‑length validation or firewall rules to block unusually long DNS query names, mitigating the NAMETOOLONG error trigger.
  • Monitor DNS logs for excessively long query names and any unexpected BIND restarts, and verify that RPZ policies remain enforced after patching.

Generated by OpenCVE AI on August 3, 2026 at 23:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4725-1 bind9 security update
Debian DSA Debian DSA DSA-6395-1 bind9 security update
History

Thu, 23 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Wed, 22 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 15:00:00 +0000

Type Values Removed Values Added
Description An attacker who knows (or guesses) that a resolver uses RPZ with wildcard CNAME policies can craft query names long enough to trigger a NAMETOOLONG error condition during RPZ processing. This is not handled correctly and may lead to defeating the RPZ rule. It also may lead to an unexpected exit of the BIND 9 software. This issue affects BIND 9 versions 9.16.0 through 9.18.50, 9.20.0 through 9.20.24, 9.21.0 through 9.21.23, 9.16.8-S1 through 9.18.50-S1, and 9.20.9-S1 through 9.20.24-S1.
Title Potential wildcard CNAME RPZ policy bypass
First Time appeared Isc
Isc bind
Weaknesses CWE-790
CPEs cpe:2.3:a:isc:bind:*:*:*:*:*:*:*:*
Vendors & Products Isc
Isc bind
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: isc

Published:

Updated: 2026-07-22T18:54:17.064Z

Reserved: 2026-06-05T07:03:42.361Z

Link: CVE-2026-11331

cve-icon Vulnrichment

Updated: 2026-07-22T18:54:13.398Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-07-22T15:16:51.457

Modified: 2026-07-22T20:33:11.590

Link: CVE-2026-11331

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-22T00:00:00Z

Links: CVE-2026-11331 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:45:06Z

Weaknesses
  • CWE-790

    Improper Filtering of Special Elements