Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97206 Overview
CVE-2026-97206 is a use-after-free vulnerability [CWE-416] in NLnet Labs Unbound, affecting versions 1.22.0 through 1.26.1. The flaw resides in the DNS-over-QUIC (DoQ) implementation under multi-threaded operation. A remote DoQ client can trigger a QUIC path migration that enters stream and connection cleanup while a pending mesh reply still holds a pointer to the DoQ stream. When the mesh reply later completes, it dereferences the freed stream, crashing the resolver.
Critical Impact
Remote attackers can crash Unbound resolvers over the network without authentication, producing a denial-of-service condition for DNS resolution services.
Affected Products
- NLnet Labs Unbound 1.22.0
- NLnet Labs Unbound versions through 1.26.1
- Deployments with DNS-over-QUIC enabled in multi-threaded mode
Discovery Timeline
- 2026-10-21 - CVE CVE-2026-97206 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-97206
Vulnerability Analysis
Unbound exposes DNS-over-QUIC as a transport for recursive queries. When a client initiates a QUIC path migration mid-query, Unbound's connection handler begins tearing down the associated DoQ stream and connection state. In a multi-threaded worker configuration, a mesh reply queued for the same query can still hold a reference to the stream object scheduled for release.
The cleanup path frees the DoQ stream structure before the mesh reply callback executes. When the reply completes and the callback runs, it dereferences the dangling pointer. The resulting memory access targets freed heap memory, causing the Unbound worker process to crash. Because the resolver typically runs as a single supervised process, the crash removes DNS resolution for all downstream clients until the service restarts.
Root Cause
The root cause is a lifetime management defect [CWE-416] between the QUIC transport layer and the mesh reply subsystem. The code lacks synchronization or reference counting between the stream cleanup triggered by path migration and in-flight mesh replies that reference the same stream. Multi-threaded worker operation widens the race window because reply completion and cleanup execute on different threads.
Attack Vector
Exploitation requires network reachability to a DoQ listener (AV:N), no privileges, and no user interaction. A remote client establishes a DoQ session, submits a query that produces a mesh reply, and triggers a QUIC path migration before the reply completes. The vulnerability yields an availability impact only; confidentiality and integrity are unaffected. See the NLnet Labs CVE-2026-97206 Advisory for upstream technical detail.
Detection Methods for CVE-2026-97206
Indicators of Compromise
- Unexpected termination of the unbound worker process accompanied by SIGSEGV entries in system logs or core dumps.
- Repeated DoQ connections from a single remote address that initiate path migration shortly after query submission.
- Gaps in DNS resolution availability correlated with QUIC traffic spikes on UDP port 853.
Detection Strategies
- Monitor Unbound logs for abnormal worker restarts and crash signatures referencing DoQ stream handling.
- Inspect QUIC flow telemetry for clients that frequently change source address or connection ID mid-stream against the resolver.
- Correlate recursive query latency spikes with process restarts of unbound on affected hosts.
Monitoring Recommendations
- Enable verbose logging on Unbound workers and ship logs to a central analytics platform for crash pattern analysis.
- Alert on repeated SIGSEGV or abort events for the unbound binary within short time windows.
- Track DoQ connection counts and path migration events via QUIC-aware network monitoring where available.
How to Mitigate CVE-2026-97206
Immediate Actions Required
- Inventory all Unbound instances and identify those running versions 1.22.0 through 1.26.1 with DoQ enabled.
- Disable DNS-over-QUIC on exposed resolvers until a patched version is deployed.
- Restrict network access to the DoQ listener using firewall rules so only trusted clients can reach UDP port 853.
Patch Information
Refer to the NLnet Labs CVE-2026-97206 Advisory for the fixed release version and upgrade instructions. Upgrade all affected Unbound deployments to the patched release and restart the service to load the corrected code paths.
Workarounds
- Disable the DoQ listener in unbound.conf by removing or commenting out any quic-port directive and restarting Unbound.
- Run Unbound with a single worker thread (num-threads: 1) to narrow the race window where cleanup and reply completion overlap.
- Place the resolver behind a network ACL or load balancer that filters untrusted DoQ clients.
# Example: disable DoQ in unbound.conf and restart
# server:
# quic-port: 0
sudo sed -i 's/^\s*quic-port:.*/ quic-port: 0/' /etc/unbound/unbound.conf
sudo unbound-checkconf
sudo systemctl restart unbound
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

