Skip to main content

NLnet Labs Unbound EUVDEUVD-2026-31077

| CVE-2026-32792 MEDIUM
Out-of-bounds Read (CWE-125)
2026-05-20 sep@nlnetlabs.nl GHSA-8v34-57vr-p4cp
4.6
CVSS 4.0 · Vendor: nlnetlabs
View

Attack ChainAIDerived

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

  1. Recon
    Identify Unbound instance with DNSCrypt port open
  2. Delivery
    Craft DNSCrypt query with all-0x00 decrypted plaintext
  3. Exploit
    Send single query to DNSCrypt listener
  4. Install
    Trigger missing 0x80 marker check bypass
  5. C2
    Out-of-bounds heap read initiated
  6. Execute
    Memory-layout-dependent heap overflow
  7. Impact
    Unbound process crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

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

Exploitation Conditions

Exploitation requires two concrete conditions to be satisfied simultaneously: first, the target Unbound binary must have been compiled with the '--enable-dnscrypt' build-time flag, which is non-default and must be explicitly chosen by the operator; second, the attacker must be able to send UDP or TCP packets to the DNSCrypt listener port. The CVSS vector (PR:N/UI:N) confirms no authentication is needed and no user interaction is required - any network-reachable attacker can attempt the attack once these prerequisites are met. The primary factor limiting exploitation is the non-default compilation requirement, which significantly restricts the vulnerable population. A secondary limiting factor is the probabilistic nature of the crash: the heap overflow only materializes under specific memory allocator and heap layout conditions at runtime, meaning a single malformed query may not crash the process. If no crash occurs, Unbound's internal validation rejects the packet with no observable side effect for the attacker.

Impact

The CVSS 4.0 base score of 4.6 (Medium) accurately reflects the constrained real-world impact. The Attack Requirements modifier (AT:P) is the pivotal signal: exploitation is only possible against deployments where Unbound was compiled with '--enable-dnscrypt', which is explicitly a non-default, opt-in build-time decision. This substantially narrows the exposed population compared to a default-install vulnerability. Attack Vector is Network (AV:N) and no privileges or user interaction are required (PR:N/UI:N), meaning that any attacker who can reach the DNSCrypt port of a vulnerable instance can attempt the attack - no authentication is needed. However, the Exploit Maturity is rated Unreported (E:U), and the vendor's own advisory acknowledges that the likelihood of a crash is low due to memory-allocator and heap-layout dependencies; without a crash, Unbound's internal packet checks catch and discard the bad query harmlessly. Confidentiality and integrity impacts are rated None (VC:N/VI:N), with availability impact High (VA:H) on the vulnerable component only (SC:N/SI:N/SA:N). EPSS data was not provided in the source intelligence. There is no CISA KEV listing and no public POC code, so this is best characterized as a low-urgency, medium-severity finding for the subset of operators running DNSCrypt-enabled Unbound builds. The U:Green urgency rating from the CVSS supplemental aligns with this assessment.

Exploit ScenarioDerived

An attacker who identifies a publicly reachable Unbound instance listening on a DNSCrypt port sends a single crafted DNSCrypt query whose decrypted plaintext payload consists entirely of 0x00 bytes with no 0x80 marker. No account, session, or prior knowledge beyond the target's DNSCrypt port is required. Depending on the heap state at the moment of the query, Unbound either crashes (causing a service outage for all clients of that resolver) or silently discards the packet after its later validation catches the malformed content - the attacker cannot predict which outcome will occur without prior knowledge of the target's memory layout.

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

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

Alert me

AnalysisAIv1 – May 20, 2026

Heap out-of-bounds read in Unbound's DNSCrypt packet handling allows a remote unauthenticated attacker to potentially crash the resolver with a single malformed query, causing denial of service. Affected are all Unbound installations from version 1.6.2 through 1.25.0 that were compiled with the optional '--enable-dnscrypt' flag. The crash is probabilistic rather than guaranteed - whether the out-of-bounds read escalates to a heap overflow depends entirely on the memory allocator behavior and heap layout at runtime; absent a crash, Unbound's own packet validation will discard the offending query. No public exploit exists and no active exploitation has been identified at time of analysis.

RemediationAI

The primary remediation is upgrading to Unbound 1.25.1, which contains a vendor-released patch that bounds the DNSCrypt buffer read to the declared buffer space, eliminating the out-of-bounds condition. The advisory is at https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-32792.txt. For operators who cannot immediately upgrade, the most effective compensating control is to recompile Unbound without the '--enable-dnscrypt' flag if DNSCrypt is not operationally required - this entirely removes the vulnerable code path with no DNS resolution impact, though it eliminates DNSCrypt-encrypted client support. If DNSCrypt is required and patching is deferred, restricting access to the DNSCrypt listener port (typically UDP/443 or a custom port) to known trusted client IP ranges via firewall rules reduces the attack surface at the cost of blocking legitimate DNSCrypt clients from untrusted networks. Network-layer rate limiting of DNSCrypt traffic is a weaker mitigation that does not prevent the vulnerability but may reduce crash probability under sustained attack.

Affected VersionsENISA

Unbound 1.6.2 <1.25.1

Affected Packages

euvd unbound fix: 1.25.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

Unbound is a validating, recursive, caching DNS resolver maintained by NLnet Labs. DNSCrypt is an optional protocol layered over DNS that encrypts and authenticates resolver traffic; it is compiled into Unbound only when the build flag '--enable-dnscrypt' is explicitly set, making it a non-default deployment configuration. The root cause is CWE-125 (Out-of-bounds Read): the DNSCrypt packet reading procedure performs an underflow on its read position when the decrypted plaintext of a received query consists entirely of 0x00 bytes and therefore lacks the expected 0x80 marker byte. Instead of bounding reads to the declared buffer space, the code continues scanning forward through memory until it encounters a non-zero byte. Depending on what occupies adjacent heap memory, this unbounded scan can produce a heap overflow condition, ultimately crashing the Unbound process. The vendor-confirmed fix in 1.25.1 adds an explicit bounds check so that reading is constrained within the legitimate buffer window.

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 (nlnetlabs) PRIMARY 4.6 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
SUSE 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Red Hat 5.9 MEDIUM

Primary rating from Vendor (nlnetlabs).

CVSS VectorVendor: nlnetlabs

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

Lifecycle Timeline

1
Patch available
May 20, 2026 - 11:02 EUVD

DescriptionCVE.org

NLnet Labs Unbound 1.6.2 up to and including version 1.25.0 has a denial of service vulnerability when compiled with DNSCrypt support ('--enable-dnscrypt'). A bad DNSCrypt query could underflow Unbound's DNSCrypt packet reading procedure that may lead to heap overflow. A malicious actor can exploit the vulnerability with a single bad DNSCrypt query that its decrypted plaintext consists entirely of '0x00' bytes and does not contain the expected '0x80' marker. Unbound would then start reading more bytes than necessary until it finds a non-'0x00' byte. Based on the underlying memory allocator and the memory layout, it could lead to heap overflow while reading followed by a crash. Likelihood of a crash is low, since it relies heavily on the underlying memory allocator and the memory layout. If the heap overflow does not happen, Unbound's later packet checks will deny the packet. Unbound 1.25.1 contains a patch with a fix to bound reading in the given buffer space.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
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.0%
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
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
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.

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

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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: Medium
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Affected
SUSE Linux Enterprise Micro 5.5 Affected

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