Skip to main content

Unbound DNS EUVDEUVD-2026-47675

| CVE-2026-50251 MEDIUM
Incomplete List of Disallowed Inputs (CWE-184)
2026-07-22 NLnet Labs GHSA-rj42-r8f9-w75j
5.3
CVSS 3.1 · Vendor: NLnet Labs
View

Attack ChainAIDerived

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

  1. Recon
    Control authoritative DNS delegation zone
  2. Delivery
    Configure in-bailiwick glue records with 0.0.0.0/::0 address
  3. Exploit
    Induce victim Unbound resolver to query delegated zone
  4. Install
    Linux kernel routes 0.0.0.0 query over loopback, Unbound listener replies from 127.0.0.1
  5. C2
    IP mismatch flags reply as unwanted, counter increments
  6. Execute
    Counter reaches unwanted-reply-threshold, full cache flush triggered
  7. Impact
    Counter resets to zero, attack loop repeats indefinitely

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
Exploitation Conditions

Two concurrent conditions are required for exploitation. First, Unbound must have 'unwanted-reply-threshold' explicitly set to any integer greater than zero in unbound.conf - this is not a default setting and must be deliberately configured by the operator; deployments with the default (disabled/zero) configuration are entirely unaffected. Second, the Unbound instance must run on a system (the CVE description specifically identifies Linux) where the OS kernel routes datagrams destined for 0.0.0.0 over the loopback interface, causing Unbound's own listener at 127.0.0.1 to answer the queries; behavior on non-Linux platforms is unconfirmed. Additionally, the attacker must control or operate a DNS delegation (an authoritative zone) that the victim resolver's clients will resolve, limiting exploitation to actors with DNS infrastructure access. Limiting factors: the non-default configuration gate excludes the majority of Unbound deployments; no spoofed packets are required but a controlled delegation is; impact is restricted to cache flushing with no data exfiltration or code execution possible per CVSS C:N/I:N.

Impact

CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (5.3) accurately reflects the network-reachable, no-auth attack surface, but the Low availability impact score may understate operational impact on high-traffic resolvers: repeated cache flushes force recursive re-resolution of every cached record, causing latency spikes and significantly increased upstream query load during sustained attack. The attack is, however, gated on a non-default configuration: unwanted-reply-threshold must be explicitly set to a value greater than zero in unbound.conf - deployments where the feature is disabled are entirely unaffected. The Linux-specific loopback routing behavior cited in the description further narrows the real-world attack surface. No EPSS score was present in the provided intelligence, no CISA KEV listing exists, and no public proof-of-concept code has been identified, collectively suggesting this is a newly vendor-disclosed theoretical attack with no observed in-the-wild exploitation. The tags in the source data include 'Information Disclosure,' which is inconsistent with the CVSS (C:N, I:N) and the CVE description - that tag appears erroneous and should not be used to elevate risk assessment. Real priority: moderate for operators who have explicitly enabled unwanted-reply-threshold on Linux-based Unbound resolvers; low or negligible for all others.

Exploit ScenarioDerived

An attacker who operates or has compromised an authoritative nameserver for any delegated DNS zone crafts NS records whose in-bailiwick hostnames resolve to A/AAAA glue records containing 0.0.0.0 or ::0. When a victim Unbound resolver (running on Linux with unwanted-reply-threshold set to a non-zero value) resolves any name within that zone, it follows the delegation, queries 0.0.0.0, and receives a reply from its own listener at 127.0.0.1 via Linux loopback routing. The IP mismatch causes Unbound to increment the unwanted-reply counter; the attacker repeatedly drives queries to the zone until the counter reaches the threshold, triggering a full cache flush - at which point the counter resets and the cycle can begin again, causing indefinite cache degradation with no spoofed packets required and no special network position needed beyond operating a DNS delegation.

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

Cache-clearing denial-of-service in NLnet Labs Unbound through 1.25.1 allows a remote attacker who controls a DNS delegation to indefinitely and repeatedly flush Unbound's message and rrset caches without sending a single spoofed packet. The attack exploits a logic flaw in how the iterator processes in-bailiwick glue records containing the unspecified address 0.0.0.0/::0: on Linux, such queries are routed via loopback and answered by 127.0.0.1, creating an IP mismatch that the unwanted-reply counter tallies until the configured threshold triggers a defensive cache clear - which resets the counter, enabling the loop to continue indefinitely. No public exploit identified at time of analysis; CVSS 3.1 scores this 5.3 (Medium) with Low availability impact and no confidentiality or integrity impact.

RemediationAI

Upstream fix available per NLnet Labs vendor advisory (https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-50251.txt); a specific patched version number was not independently confirmed from the provided intelligence - operators should consult the advisory directly for the exact fixed release. As an immediate and complete workaround, set 'unwanted-reply-threshold: 0' in unbound.conf to disable the feature; this eliminates the attack vector entirely but also removes the anti-spoofing cache-flush protection the feature provides, which is a deliberate trade-off operators must weigh. A more targeted compensating control is to configure Unbound's response filtering or access control lists to reject delegation responses containing glue records with 0.0.0.0 or ::0 addresses before they reach the iterator; this preserves the unwanted-reply-threshold defensive function while blocking the specific malicious input class. On Linux, iptables or nftables rules can drop UDP/TCP packets routed over loopback to address 0.0.0.0, preventing the routing quirk from triggering - note this is a host-level mitigation with potential side effects on other loopback-dependent services and should be tested before deployment in production.

Affected VersionsENISA

Unbound 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 (NLnet Labs) is a validating, recursive, caching DNS resolver widely deployed in ISPs, enterprises, and on Linux-based systems. The affected feature, unwanted-reply-threshold, is a configurable anti-spoofing defense that flushes the message and rrset caches when Unbound receives too many DNS replies from IPs that do not match the original query destination - intended to mitigate cache poisoning via spoofed UDP packets. CWE-184 (Incomplete List of Disallowed Inputs) is the root cause: Unbound's iterator does not validate or reject 0.0.0.0 (IPv4 unspecified) or ::0 (IPv6 unspecified) as clearly invalid glue record addresses returned by authoritative nameservers in delegation responses. On Linux, the kernel routes datagrams destined for 0.0.0.0 over the loopback interface, causing Unbound to query that address and receive a reply from its own listener at 127.0.0.1. Because 127.0.0.1 does not match the queried destination 0.0.0.0, Unbound's source-validation logic classifies the reply as 'unwanted' and increments the counter. When the counter hits the configured threshold, a full cache flush fires and resets the counter to zero, allowing the cycle to repeat without bound. Affected products per CPE: cpe:2.3:a:nlnet_labs:unbound:*:*:*:*:*:*:*:* - all releases up to and including 1.25.1.

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

Network-reachable via DNS with no authentication; impact is limited to periodic cache flushing causing degraded resolver performance, not a complete outage.

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

Primary rating from Vendor (NLnet Labs).

CVSS VectorVendor: NLnet Labs

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

Lifecycle Timeline

2
Patch available
Jul 22, 2026 - 16:18 EUVD
CVE Published
Jul 22, 2026 - 13:08 cve.org
MEDIUM 5.3

DescriptionCVE.org

In NLnet Labs Unbound up to and including version 1.25.1, when 'unwanted-reply-threshold' is enabled (set to any value greater than zero), glue records of 0.0.0.0/::0 can short-circuit Unbound, on systems that can direct such traffic, by issuing DNS queries and receiving seemingly unwanted replies since the remote IP does not match the original source IP of 0.0.0.0/::0. This behavior keeps on looping for the glue records and pushing the counter to the configured 'unwanted-reply-threshold' that triggers a defensive cache clear. A malicious actor who controls a delegation that returns in-bailiwick glue of 0.0.0.0/::0 can drive the counter to the limit of 'unwanted-reply-threshold' to the threshold and trigger a cache clean of the message and rrset caches; at will, indefinitely, without sending a single spoofed packet. The iterator uses the 0.0.0.0/::0 glue, and a system that can route this (e.g., Linux kernel routes the datagram over loopback), Unbound's own listener answers from 127.0.0.1. Because of the mismatch of 0.0.0.0 and 127.0.0.1, in this example, Unbound accounts the reply as an unwanted (probably spoofed) answer. The counter resets to zero on every cache flush, so the attack loops forever.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Medium
popular open-source recursive DNS resolver, common in ISP and enterprise deployments
Social Media
1
Sightings
Data Quality
7 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
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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