CVE-2026-32665: CWE-1284: Improper Validation of Specified Quantity in Input in NLnet Labs Unbound
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.
AI Analysis
Technical Summary
CVE-2026-32665 describes an improper validation of specified quantity in input in NLnet Labs Unbound when downstream DNS-over-QUIC (DoQ) is enabled. The first two bidirectional streams (stream_id 0 and 4) on a new QUIC connection bypass the per-stream 'quic-size' gate, allowing large input buffers to be allocated after only receiving a 2-byte length prefix. A remote client can exploit this by sending streams with a declared 65535-byte length prefix and holding them open, causing Unbound to allocate roughly double that amount of memory. This memory-accounting bypass leads to denial of service for new DoQ clients. The vulnerability affects Unbound versions from 1.22.0 through 1.25.1 and requires DoQ support to be compiled and configured.
Potential Impact
The vulnerability allows a remote unauthenticated attacker to cause excessive memory allocation on the Unbound server by bypassing input size limits on initial QUIC streams. This results in a denial of service condition, preventing new downstream DoQ clients from connecting. There is no impact on confidentiality or integrity reported. The CVSS 3.1 base score is 7.5 (High) with network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider disabling downstream DNS-over-QUIC (DoQ) support or avoid enabling the 'quic-port' configuration to prevent exposure. Monitor NLnet Labs advisories for updates and apply official patches once available.
CVE-2026-32665: CWE-1284: Improper Validation of Specified Quantity in Input in NLnet Labs Unbound
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.
CVSS v3.1
Score 7.5high
Affected software
pkg:github/nlnetlabs/unboundRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-32665 describes an improper validation of specified quantity in input in NLnet Labs Unbound when downstream DNS-over-QUIC (DoQ) is enabled. The first two bidirectional streams (stream_id 0 and 4) on a new QUIC connection bypass the per-stream 'quic-size' gate, allowing large input buffers to be allocated after only receiving a 2-byte length prefix. A remote client can exploit this by sending streams with a declared 65535-byte length prefix and holding them open, causing Unbound to allocate roughly double that amount of memory. This memory-accounting bypass leads to denial of service for new DoQ clients. The vulnerability affects Unbound versions from 1.22.0 through 1.25.1 and requires DoQ support to be compiled and configured.
Potential Impact
The vulnerability allows a remote unauthenticated attacker to cause excessive memory allocation on the Unbound server by bypassing input size limits on initial QUIC streams. This results in a denial of service condition, preventing new downstream DoQ clients from connecting. There is no impact on confidentiality or integrity reported. The CVSS 3.1 base score is 7.5 (High) with network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider disabling downstream DNS-over-QUIC (DoQ) support or avoid enabling the 'quic-port' configuration to prevent exposure. Monitor NLnet Labs advisories for updates and apply official patches once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- NLnet Labs
- Date Reserved
- 2026-05-07T10:07:51.860Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a60c4209c2644c7f80e9128
Added to database: 07/22/2026, 13:22:40 UTC
Last enriched: 07/22/2026, 13:37:48 UTC
Last updated: 07/23/2026, 00:19:22 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.