Skip to main content

NLnet Labs Unbound CVE-2026-55990

| EUVDEUVD-2026-47682 MEDIUM
Use of Uninitialized Variable (CWE-457)
2026-07-22 NLnet Labs GHSA-hpr4-88jh-4pvx
5.9
CVSS 3.1 · Vendor: NLnet Labs
View

Attack ChainAIDerived

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

  1. Access
    Identify Unbound DNSCrypt UDP port via scan
  2. Delivery
    Confirm cert/key misconfiguration exists (server stays up)
  3. Exploit
    Craft 68-byte UDP datagram with 0xdb prefix bytes
  4. Execution
    Send single datagram to dnscrypt-port
  5. Persist
    Garbage slot dereference in Unbound
  6. Impact
    DNS resolver process crashes

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Variable initialization checks
Exploitation Conditions

Two independent conditions must both be satisfied. First, the Unbound binary must have been compiled with --enable-dnscrypt; this is not the default and must be explicitly chosen at build time, so stock distribution packages without this flag are entirely unaffected. Second, the active unbound.conf must contain a dnscrypt: block where the count of dnscrypt-provider-cert: directives exceeds the count of dnscrypt-secret-key: directives - a silent misconfiguration that produces no startup error. Given both conditions, any unauthenticated attacker with UDP reachability to the configured dnscrypt-port can crash the server with a single packet whose first 8 bytes equal 0xdb. Limiting factors: non-default build requirement significantly reduces the exposed population; the cert/key count mismatch is an operator error that a correctly deployed system would not exhibit; the dnscrypt-port is often firewalled to specific client ranges. CVSS PR:N confirms no authentication is required once preconditions exist.

Impact

The NVD CVSS 3.1 score of 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H) accurately captures the risk profile: the network vector and zero-privilege requirement are genuinely concerning, but AC:H is warranted because two independent preconditions must both hold - the binary must be compiled with --enable-dnscrypt (a non-default build flag) and the configuration must contain a cert/key count mismatch. In practice, a properly configured DNSCrypt deployment matches these counts exactly, so the vulnerable state is a silent misconfiguration that most operators will not knowingly sustain. The impact is limited to availability (server crash, no data exfiltration or integrity violation). EPSS data was not provided in the input and cannot be estimated; no CISA KEV listing and no public POC code are noted. SSVC signals: exploitation status is 'none publicly known'; the attack is automatable once preconditions are met (single UDP packet); technical impact is 'partial' (DoS of DNS resolver, potentially significant for infrastructure but recoverable by restart). Real-world priority is moderate: administrators running DNSCrypt-enabled Unbound should audit their cert-to-key ratios immediately, but the double precondition significantly limits the exposed population versus the raw score.

Exploit ScenarioDerived

An attacker who has identified that a target Unbound instance listens on a non-standard dnscrypt-port (discoverable via port scan or banner) and suspects a cert/key misconfiguration sends a single 68-byte UDP datagram to that port with the first 8 bytes set to 0xdb (the predictable libsodium allocator fill pattern). Unbound resolves the garbage slot as a valid DNSCrypt provider entry, dereferences an invalid pointer, and crashes, taking down DNS resolution for all clients relying on that resolver. No public exploit code exists at time of analysis, but the trigger is mechanically simple and requires no authentication.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Jul 22, 2026

Crash-triggering memory corruption in Unbound's DNSCrypt subsystem allows any unauthenticated network client to kill the DNS resolver with a single UDP packet. Affected versions 1.7.0 through 1.25.1, compiled with DNSCrypt support, miscount valid key slots when the dnscrypt-provider-cert list outnumbers dnscrypt-secret-key entries, leaving tail slots filled with libsodium's 0xdb debug pattern; iterating beyond valid bounds then dereferences that garbage. No public exploit has been identified at time of analysis, and no KEV listing exists, but the trigger condition is trivially constructable - one 68-byte UDP datagram.

RemediationAI

Consult the vendor advisory at https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-55990.txt for the patched release version; a specific fixed version number was not included in the data available for this analysis and cannot be confirmed independently. As an immediate workaround while upgrading, ensure that the number of dnscrypt-provider-cert: entries in every dnscrypt: clause exactly matches the number of dnscrypt-secret-key: entries - any surplus cert files should be removed or commented out, eliminating the uninitialized tail slots. If DNSCrypt is not operationally required, recompiling Unbound without --enable-dnscrypt or switching to a pre-built package that omits DNSCrypt support removes the attack surface entirely; this is lossless for operators not using encrypted DNS. Network-layer filtering of the dnscrypt-port to trusted client ranges can reduce exposure but does not eliminate the crash risk if any trusted client is compromised or sends malformed traffic.

Affected VersionsENISA

Unbound 1.7.0 <1.25.2

Affected Packages

euvd unbound fix: 1.25.2

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 DNS resolver maintained by NLnet Labs (CPE: cpe:2.3:a:nlnet_labs:unbound:*:*:*:*:*:*:*:*). Its optional DNSCrypt support, enabled at compile time via --enable-dnscrypt, allows the server to accept encrypted DNS queries over a dedicated UDP port. The root cause (CWE-457: Use of Uninitialized Variable) is a slot-count mismatch during configuration loading: when a dnscrypt: clause lists N cert files but only M secret-key files (N > M), Unbound allocates N slots but populates only the first M. The remaining N-M slots retain the 0xdb fill that libsodium's secure allocator writes into every fresh allocation as a debug/security measure. Iteration is then bounded by the cert count N rather than the valid key count M, so the server walks into uninitialized slots. Because libsodium's 0xdb fill is predictable and fixed, an attacker who knows the target uses DNSCrypt can craft a UDP packet whose first 8 bytes match this sentinel, causing Unbound to treat the garbage slot as a legitimate entry and crash on the resulting null/garbage pointer dereference.

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 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

AC:H reflects two independent preconditions (DNSCrypt build flag and cert/key count mismatch); AV:N because the trigger is a single UDP packet; only availability is impacted.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
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
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Jul 22, 2026 - 16:18 EUVD

DescriptionCVE.org

In NLnet Labs Unbound 1.7.0 up to and including 1.25.1, when the 'dnscrypt:' clause lists more 'dnscrypt-provider-cert:' files than there are matching 'dnscrypt-secret-key:' files, Unbound fills only the matched prefix and leaves the tail slots at the '0xdb' fill that libsodium's allocator writes into every allocation. Unbound would then iterate over the number of cert files, not the actual slots, so it walks into a slot with garbage data filled with '0xdb' bytes. Any unauthenticated client that sends one UDP datagram of ≥ 68 bytes whose first 8 bytes are '0xdb' to 'dnscrypt-port' will use that garbage entry which leads to a garbage dereference killing the server. This is a silent faulty configuration that goes unnoticed until triggered with the right client query. Unbound needs to be compiled with DNSCrypt support ('--enable-dnscrypt').

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
popular recursive DNS resolver, widely deployed by ISPs and enterprises
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.4%
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
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

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: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Micro 5.5 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected

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