Skip to main content

NLnet Labs Unbound CVE-2026-78227

| EUVDEUVD-2026-80288 MEDIUM
Use After Free (CWE-416)
2026-09-16 NLnet Labs GHSA-jwvw-q5m4-rjxh
6.5
CVSS 3.1 · Vendor: NLnet Labs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Reach Unbound over DoQ
  2. Delivery
    Open stream and send query
  3. Exploit
    Withhold ACKs, send RESET_STREAM
  4. Install
    Buffer freed, retransmit entries retained
  5. C2
    Wait for PTO re-encode from freed memory
  6. Execute
    Repeat ~20-query spray
  7. Impact
    Abnormal server exit (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Unbound must be compiled with '--with-libngtcp2' and actively serving DNS-over-QUIC (DoQ); default builds without QUIC support are not affected. The attacker needs network reachability to the DoQ listener but no authentication or privilege (PR:N) and no user interaction. Exploitation requires a specific QUIC protocol sequence - issue a query, withhold ACKs, send RESET_STREAM to free the stream output buffer, then wait for the PTO timeout to trigger retransmission from freed memory - repeated across roughly 20 queries to force an abnormal server exit. The AC:H rating reflects both the timing-dependent QUIC state manipulation and the non-default compile-time configuration that gate exploitation.

Impact

This is a moderate, config-gated availability threat rather than a top-tier priority. The vendor CVSS 6.5 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L) correctly captures network reach with no privilege (PR:N) and high complexity (AC:H) reflecting the QUIC/PTO timing sequence and the non-default build requirement. However the impact weighting is questionable: the description demonstrates only 'retransmissions against freed memory and eventually an abnormal server exit' - a crash - which argues for A:H, not A:L, for a recursive resolver whose crash denies name resolution to all downstream clients; conversely C:H appears overstated because no data disclosure is demonstrated (the use-after-free could re-transmit reused freed memory back to the attacker's own connection, giving at most a low, unproven confidentiality vector). No EPSS score, KEV entry, POC, or SSVC decision data is provided in the input. Exploitation status: no public exploit identified at time of analysis. The dominant limiting factor is that Unbound must be compiled with '--with-libngtcp2' and have DNS-over-QUIC enabled - a niche, non-default deployment - which sharply reduces the real-world attack surface despite the network-facing, unauthenticated vector. Net: prioritize patching only for the subset of Unbound instances actually serving DoQ; general Unbound deployments are unaffected.

Exploit ScenarioDerived

An unauthenticated attacker who can reach an Unbound resolver over DNS-over-QUIC opens a stream, issues a query, deliberately withholds ACKs, then sends a RESET_STREAM to free the stream's output buffer while ngtcp2 still holds retransmission pointers into it. On the subsequent PTO timeout, ngtcp2 re-encodes the STREAM frame from the freed buffer; repeating this roughly 20 times crashes the resolver. No public exploit code is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Unbound versions 1.22.0 through 1.26.1 built with DNS-over-QUIC support (--with-libngtcp2) can be driven to an abnormal exit by an unauthenticated remote attacker who manipulates QUIC stream state. The attacker sends a DoQ query, withholds ACKs, issues RESET_STREAM to free the per-stream output buffer, then waits for a PTO timeout so ngtcp2 re-encodes a STREAM frame from the freed memory; a spray of roughly 20 such queries forces the daemon down. Default builds compiled without QUIC support are not affected, and exploitation also requires precise timing against the QUIC state machine, making this a moderate, configuration-gated availability threat rather than a top-tier priority. No public exploit code and no confirmed active exploitation were identified at time of analysis, and the authoritative assessment rates it AV:N/AC:H/PR:N/UI:N/S:U with low confidentiality and high availability impact, so the practical outcome is denial of service against the resolver rather than broad data compromise.

RemediationAI

No fixed version is specified in the available data, so the first action is to consult the NLnet Labs advisory at https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-78227.txt and apply the patched Unbound release it names, then confirm the build no longer reproduces the crash under a DoQ RESET_STREAM/PTO test. If an immediate upgrade is not possible, the most effective compensating control is to remove the vulnerable code path entirely by rebuilding Unbound without --with-libngtcp2 or by disabling the QUIC listener (do-quic: no / removing the quic-port setting), accepting that DoQ clients must fall back to DoT or DoH; alternatively, restrict the DoQ port to trusted resolver clients with firewall rules or access-control lists and apply connection rate limiting, which reduces but does not eliminate the risk from a positioned attacker. Operators should also monitor and alert on repeated DoQ RESET_STREAM events combined with unacknowledged streams and PTO-triggered retransmissions, and should treat unexpected unbound process exits on QUIC-enabled builds as a potential exploitation signal, while noting that blocking the DoQ port affects any clients relying on that transport.

Affected VersionsENISA

Unbound 1.22.0 <1.26.1

Affected Packages

euvd unbound fix: 1.26.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a use-after-free (CWE-416) in Unbound's DNS-over-QUIC (DoQ) implementation, which depends on the libngtcp2 (ngtcp2) QUIC stack enabled at compile time via --with-libngtcp2. In this design each DoQ stream owns an output buffer holding the encoded DNS response, while ngtcp2's retransmission buffer stores a shallow pointer into that same buffer for as long as a STREAM frame remains unacknowledged and potentially resendable. When a client sends RESET_STREAM, Unbound frees the stream's output buffer, but the matching retransmission entries in ngtcp2 are not invalidated. On the next PTO (probe timeout), ngtcp2 re-encodes the STREAM frame and copies payload bytes from the dangling pointer, producing a read of freed heap memory; repeated across many streams this corrupts protocol behaviour enough to terminate the server. CPE data identifies the affected component as cpe:2.3:a:nlnet_labs:unbound with a wildcard version, aligning with the stated 1.22.0-1.26.1 range, and the root cause class is a lifetime/ownership mismatch between the application-layer stream buffer and the transport library's retransmission cache. Because the attacker must reach a DoQ listener and orchestrate a specific ACK-withholding, RESET_STREAM and PTO sequence, the assessed AC:H is consistent with both the timing-dependent protocol manipulation and the non-default build configuration required.

Know when Unbound gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (NLnet Labs) PRIMARY 6.5 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
vuln.today AI 6.5 MEDIUM

Network, unauthenticated, but timing- and build-gated DoQ path (AC:H); demonstrated impact is a resolver crash (A:H), with only a low, unproven info-leak from retransmitted freed memory (C:L, I:N).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat 5.9 MEDIUM

Primary rating from Vendor (NLnet Labs).

CVSS VectorVendor: NLnet Labs

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch available
Sep 16, 2026 - 10:02 EUVD
CVE Published
Sep 16, 2026 - 08:29 cve.org
MEDIUM 6.5

DescriptionCVE.org

NLnet Labs Unbound 1.22.0 up to and including 1.26.1, has a use-after-free vulnerability when compiled for DNS-over-QUIC support with '--with-libngtcp2'. Each DoQ stream owns an output buffer that holds the DNS response. ngtcp2's retransmission buffer keeps a shallow pointer into the output buffer for as long as a STREAM frame may be resent. On a client RESET_STREAM, the output buffer is freed but ngtcp2 still holds the matching retransmission entries. The next PTO timeout makes ngtcp2 re-encode the STREAM frame and copy from the freed buffer. A malicious actor that can query Unbound over DoQ and that withholds ACKs, sends RESET_STREAM, and waits for PTO, reaches this use-after-free with no privilege. This leads to retransmissions against freed memory and eventually an abnormal server exit under a 20-query spray.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
High
Unbound is a widely deployed recursive resolver, though the vulnerable DoQ build is niche
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2019-18934 HIGH POC
7.3 Nov 19

Unbound 1.6.4 through 1.9.4 contain a vulnerability in the ipsec module that can cause shell code execution after receiv

CVE-2026-81642 CRITICAL
9.1 Sep 16

A crafted DNSKEY whose owner name is a compression pointer into its own RDATA overflows the digest buffer in the DNSSEC

CVE-2026-33278 CRITICAL
9.1 May 20

Use-after-free in the DNSSEC validator of NLnet Labs Unbound resolver versions 1.19.1 through 1.25.0 allows remote attac

CVE-2026-42959 HIGH
8.7 May 20

Remote denial of service in NLnet Labs Unbound recursive DNS resolver (versions up to and including 1.25.0) allows an at

CVE-2026-42944 HIGH
8.7 May 20

Heap overflow denial-of-service in NLnet Labs Unbound recursive DNS resolver versions 1.14.0 through 1.25.0 allows remot

CVE-2026-82717 HIGH
8.4 Sep 16

Heap-based memory corruption in NLnet Labs Unbound up to and including 1.26.0 lets a remote, unauthenticated attacker wh

CVE-2019-16866 HIGH
7.5 Oct 03

Unbound before 1.9.4 accesses uninitialized memory, which allows remote attackers to trigger a crash via a crafted NOTIF

CVE-2026-32665 HIGH
7.5 Jul 22

Remote denial of service in NLnet Labs Unbound 1.22.0 through 1.25.1 lets an unauthenticated client exhaust configured m

CVE-2026-55973 HIGH
7.5 Jul 22

Remote denial-of-service in NLnet Labs Unbound 1.23.0 through 1.25.1 lets an attacker who controls a delegated DNS zone

CVE-2026-40691 HIGH
7.5 Jul 22

Remote denial-of-service in NLnet Labs Unbound 1.9.0 through 1.25.1 allows an unauthenticated attacker to crash the recu

CVE-2026-81634 HIGH
7.5 Sep 16

Heap buffer overflow in NLnet Labs Unbound 1.26.0 and earlier can be triggered when a resolver processing a large TCP-fr

CVE-2026-85501 HIGH
7.5 Sep 16

Denial-of-service through algorithmic complexity attacks in NLnet Labs Unbound up to and including 1.26.0 can degrade or

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Micro 5.5 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy