CVE-2026-32665

Remote DNS-over-QUIC denial of service due to `quic-size` budget bypass

Published Jul 22, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
In NLnet Labs Unbound 1.22.0 up to and including 1.25.1, when downstream DNS-over-QUIC (DoQ) is enabled, the first two bidirectional streams on a new QUIC connection (stream_id 0 and 4) bypass the per-stream 'quic-size' gate entirely, and large input buffers are allocated later, after only the 2-byte length prefix has been received from the initial streams. As a result, a remote client can make Unbound exceed the configured 'quic-size' limit with low-cost input. Using only one connection and two streams, each sending a declared 65535-byte length prefix and then holding the streams open, a client can already trivially make Unbound roughly allocate double that amount. This is a remote availability issue / memory-accounting bypass in the downstream DoQ implementation that leads to denial of service for new DoQ clients. This vulnerability needs Unbound to be compiled with DoQ support ('--with-libngtcp2') and the 'quic-port' to be configured for the listening interfaces.

Analysis

AI-generated

Technical impact

In Unbound 1.22.0 through 1.25.1 a bug in the DNS‑over‑QUIC implementation allows the QUIC connection to skip the per‑stream `quic-size` limit. Because only a two‑byte length prefix is received before large buffers are allocated, a remote client can declare 65535‑byte payloads on both streams and hold them open with minimal traffic. The responder then unnecessarily allocates memory for the anticipated payloads, causing the program to exceed the configured `quic-size` budget, potentially exhaust memory, and crash or consume persistent high resources.

Affected Systems

This vulnerability affects NLnet Labs Unbound installations that were built with QUIC support enabled via the `--with-libngtcp2`1.22.0 through 1.25.1 are vulnerable; later patched versions are not.

Risk and Exploitability

The CVSS score of 7.5 indicates a high impact from a remote network attack, and the EPSS score of <1% suggests a low probability of exploitation, but the vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that the DoS arises from a memory‑accounting bypass with no privilege escalation, allowing an attacker to launch it from any remote IP. The likely attack vector is a standard QUIC connection to the resolver, and the potential impact is that the resolver may become unavailable due to memory exhaustion or crash. The risk remains significant for providers that keep DoQ enabled and have not applied the upgrade.

Remediation

Vendor Solution

This issue is fixed starting with version 1.25.2


OpenCVE Recommended Actions

  • Upgrade Unbound to version 1.25.2 or later, which contains the patch for the DoQ `quic-size` check.
  • If an upgrade is not immediately possible, disable QUIC support by removing the `--with-libngtcp2` build option or commenting out the `quic-port` directive in the configuration file, preventing DoQ traffic from triggering the vulnerable code path.
  • While outbound QUIC traffic; apply firewall rules to rate‑limit or block QUIC protocols from untrusted networks.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6507-1 unbound security update
Ubuntu USN Ubuntu USN USN-8946-1 Unbound vulnerabilities
Ubuntu USN Ubuntu USN USN-8946-2 Unbound vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-770
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
First Time appeared Nlnetlabs
Nlnetlabs unbound
Vendors & Products Nlnetlabs
Nlnetlabs unbound
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 In NLnet Labs Unbound 1.22.0 up to and including 1.25.1, when downstream DNS-over-QUIC (DoQ) is enabled, the first two bidirectional streams on a new QUIC connection (stream_id 0 and 4) bypass the per-stream 'quic-size' gate entirely, and large input buffers are allocated later, after only the 2-byte length prefix has been received from the initial streams. As a result, a remote client can make Unbound exceed the configured 'quic-size' limit with low-cost input. Using only one connection and two streams, each sending a declared 65535-byte length prefix and then holding the streams open, a client can already trivially make Unbound roughly allocate double that amount. This is a remote availability issue / memory-accounting bypass in the downstream DoQ implementation that leads to denial of service for new DoQ clients. This vulnerability needs Unbound to be compiled with DoQ support ('--with-libngtcp2') and the 'quic-port' to be configured for the listening interfaces.
Title Remote DNS-over-QUIC denial of service due to `quic-size` budget bypass
Weaknesses CWE-1284
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
NLnet Labs
Published
Updated
Sep 16, 2026, 2:24 PM
Reserved
May 7, 2026, 10:07 AM
Status
Analyzed
Published
Jul 22, 2026, 2:17 PM
Modified
Oct 24, 2026, 1:10 PM
Severity
Important
Public date
Jul 22, 2026, 12:00 AM