Skip to main content

NLnet Labs Unbound CVE-2026-82717

| EUVDEUVD-2026-80292 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-09-16 NLnet Labs GHSA-r5xg-xh8m-9q2w
8.4
CVSS 4.0 · Vendor: NLnet Labs
View

Attack ChainAIDerived

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

  1. Access
    Lure resolver to attacker-controlled domain
  2. Delivery
    Return crafted CNAME response with TTL-rewrite + compression pointer
  3. Exploit
    Trigger error path that skips buffer advance
  4. Execution
    Overflow and progressively corrupt heap
  5. Impact
    Crash resolver or (build-dependent) execute code

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires the attacker to control or inject the upstream DNS response that Unbound processes - i.e., act as the authoritative server for a domain the resolver is induced to query, or hold an on-path position to spoof responses. The specific trigger is CNAME synthesis during an upstream response where Unbound enforces/rewrites a maximum TTL in the packet buffer, combined with a compression pointer referencing the overwritten value to invalidate the domain name and reach the faulty error path. Limiting factors: exploitation is heavily dependent on heap memory layout (reflected as AC:H), so results are non-deterministic; the reliable outcome is memory corruption leading to a crash, while remote code execution is possible only on certain systems and compilation options (e.g., builds lacking hardening mitigations). No authentication or user interaction is required (PR:N/UI:N). Affects NLnet Labs Unbound versions up to and including 1.26.0.

Impact

Signals are mixed and point to a genuine but not-yet-urgent priority. The CVSS 4.0 base score of 8.4 is driven by AV:N/PR:N/UI:N (a remote, unauthenticated attacker who controls or injects upstream DNS responses), but the vector's own AC:H and the description's repeated caveats ('heavily reliant on heap memory layout', 'under specific systems and compilation options could lead to remote code execution') show reliable code execution is hard and non-universal. The Exploit Maturity metric is explicitly E:U (Unreported), consistent with no CISA KEV listing and no public exploit code - no public exploit identified at time of analysis. There is no EPSS score in the provided data to gauge exploitation probability. The 4.0 vector also asserts subsequent-system impact SC:H/SI:H/SA:H, which appears overstated: heap corruption is contained within the Unbound resolver process and does not inherently compromise a separate downstream system, so the true scope is narrower than scored. The realistic, reliably-achievable outcome is progressive memory corruption ending in a resolver crash (denial of service); RCE is a conditional worst case gated on platform and build hardening. Net: treat as an important patch for internet-facing recursive resolvers given the network/unauthenticated vector, but the high attack complexity, absence of any public PoC/KEV, and conditional RCE argue against emergency-tier prioritization.

Exploit ScenarioDerived

An attacker operates or compromises an authoritative DNS server (or is positioned on-path) for a domain that a victim's Unbound resolver will query. They craft a response containing a CNAME chain that triggers TTL-max rewriting in the packet buffer together with a compression pointer aimed at the rewritten bytes, forcing the flawed error path that skips advancing the buffer position and overflows the heap. Repeated over many responses, the corruption crashes the resolver, and on specific systems/build configurations may yield remote code execution; no public exploit code currently exists.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 16, 2026

Heap-based memory corruption in NLnet Labs Unbound up to and including 1.26.0 lets a remote, unauthenticated attacker who controls or spoofs the upstream DNS response (PR:N/UI:N) gradually overwrite heap memory, with the reliable outcome being a crash and remote code execution possible only on certain systems and compilation options that lack hardening. The flaw is scored CVSS 8.4 (CVSS:4.0) and by the independent assessment as CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, with the high attack complexity reflecting heavy dependence on heap layout and non-deterministic results. No public exploit code and no confirmed active exploitation were identified at time of analysis, and no KEV listing or EPSS signal is present, so this is a genuine but not-yet-urgent priority for internet-facing recursive resolvers.

RemediationAI

No vendor-released fix version is identified in the available data, so treat the first action as consulting the NLnet Labs advisory at https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-82717.txt and upgrading to the first release past 1.26.0 as soon as it is confirmed there - do not rely on an unverified version number. Until then, prioritise controls that reduce exposure rather than pretending to patch: restrict recursion so only intended clients can query the resolver (access-control / ACL tightening), which removes open-resolver abuse paths but will break legitimate off-net clients; enable and enforce DNSSEC validation so spoofed upstream answers for signed zones are rejected, at the cost of added CPU and the risk of resolution failures for misconfigured signed domains; and adopt query minimisation, 0x20 encoding and randomised source ports to make off-path response injection substantially harder, though none of these stops a malicious authoritative server for a domain the resolver is asked to resolve. Because the reliable effect is a crash and RCE depends on heap layout and build hardening, run Unbound as an unprivileged, chrooted service with modern allocator hardening, ASLR, stack protector and RELRO so that a successful overflow is far more likely to terminate the process than yield code execution, and monitor for unexpected resolver restarts or segfaults as the primary detection signal for exploitation attempts in the absence of a published signature.

Affected VersionsENISA

Unbound 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 issue is a CWE-122 heap-based buffer overflow in Unbound's DNS packet-handling path (CPE cpe:2.3:a:nlnet_labs:unbound:*:*:*:*:*:*:*:*). When Unbound processes an upstream response containing a CNAME that requires synthesis, it may enforce or rewrite a maximum TTL value directly inside the packet buffer. If a DNS compression pointer in the message references the exact bytes that were overwritten, the referenced domain name becomes invalid and parsing falls into an error path that fails to correctly advance the buffer position. That desynchronisation between the parser's read cursor and the actual packet contents is what allows writes past the end of the heap allocation, progressively corrupting adjacent heap memory rather than failing cleanly. The technique abuses two core DNS wire-format mechanisms - record name compression and TTL clamping of synthesised CNAME targets - which is why the trigger is specific: the attacker must be able to influence the upstream answer (operate the authoritative server for a queried domain or be on-path to spoof responses). Because heap layout determines whether corruption lands somewhere meaningful, exploitation is not deterministic; under typical builds this manifests as a resolver crash, while RCE requires favourable memory arrangement and compilation options without strong mitigations. This is a remote, unauthenticated condition affecting recursive resolvers, which typically run as internet-exposed services handling untrusted upstream data by design.

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 8.4 HIGH
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:U
vuln.today AI 8.1 HIGH

Attacker-controlled upstream responses give AV:N/PR:N/UI:N; heap-layout dependence forces AC:H; corruption stays within the resolver process so S:U; C/I:H reflect conditional RCE and A:H the reliable crash.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/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 8.1 HIGH

Primary rating from Vendor (NLnet Labs).

CVSS VectorVendor: NLnet Labs

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Sep 16, 2026 - 10:02 EUVD
CVE Published
Sep 16, 2026 - 08:31 cve.org
HIGH 8.4

DescriptionCVE.org

In NLnet Labs Unbound up to and including 1.26.0, a vulnerability was found in that can progressively corrupt heap memory and under certain systems and compilation options could lead to remote code execution. The vulnerability starts when CNAME synthesis during an upstream response needs to enforce(rewrite) a max TTL value in the packet buffer. Coupled with a compression pointer that points to the overwritten value and invalidates the domain name, it leads to an error path that does not properly move the buffer position and allows for the heap buffer overflow. Since this is heavily reliant on heap memory layout, results are memory corruption that eventually leads to a crash and under specific systems and compilation options remote code execution.

Executive ViewAI

Why It Matters

NLnet Labs Unbound recursive DNS resolvers running version 1.26.0 or earlier are affected by a high-severity heap memory corruption flaw that can cause service crashes and, on some systems, remote code execution by a remote unauthenticated attacker. Organizations operating internet-facing Unbound resolvers face potential DNS availability and integrity disruption, and leadership should prioritize mitigation because no vendor-released patch is available and no public exploit has been identified at time of analysis.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting recursion to trusted clients, disabling recursion on internet-facing instances where possible, network segmentation and firewall ACLs, OS/compiler hardening (ASLR, RELRO, stack canaries, FORTIFY_SOURCE, heap protections), migrating critical public resolvers to an alternative DNS resolver, and monitoring for crashes or anomalous restarts.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
High
Unbound is a widely deployed recursive DNS resolver across Linux distros, ISPs, and appliances
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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

CVE-2026-80225 HIGH
7.5 Sep 16

Degradation of service in NLnet Labs Unbound up to and including 1.26.0 allows an unauthenticated remote attacker to mon

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