CVE-2026-11331

Potential wildcard CNAME RPZ policy bypass

Published Jul 22, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Ubuntu USN Ubuntu USN USN-8648-1 Bind vulnerabilities
Ubuntu USN Ubuntu USN USN-8929-1 Bind vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*
cpe:2.3:a:isc:bind:*:*:*:*:supported_preview:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-790

    Improper Filtering of Special Elements

Sources

Status
PUBLISHED
Assigner
isc
Published
Updated
Jul 22, 2026, 6:54 PM
Reserved
Jun 5, 2026, 7:03 AM
Status
Analyzed
Published
Jul 22, 2026, 3:16 PM
Modified
Nov 2, 2026, 5:45 PM
Severity
Important
Public date
Jul 22, 2026, 12:00 AM