Skip to main content

Unbound libunbound CVE-2026-44621

| EUVDEUVD-2026-47667 MEDIUM
Improper Check for Unusual or Exceptional Conditions (CWE-754)
2026-07-22 NLnet Labs GHSA-3m86-wjgw-cgqc
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
    Control or spoof authoritative nameserver
  2. Delivery
    Induce target application to query attacker-influenced domain
  3. Exploit
    Flood resolver with wrong-transaction-ID UDP datagrams
  4. Execution
    Cross configured unwanted-reply-threshold
  5. Persist
    Trigger unregistered libworker_alloc_cleanup call
  6. Impact
    Fatal allow-list violation crashes embedding application

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Unusual condition handling
Exploitation Conditions

Two explicit conditions must both be true. First, the target application must embed libunbound (not use standalone Unbound) and must set 'unwanted-reply-threshold' to any non-zero integer - this is not the default; an operator must have deliberately enabled it. Second, the attacker must control or be able to spoof UDP datagrams appearing to originate from an authoritative nameserver that the target resolver is actively querying, and must sustain this spoofing long enough to exceed the configured threshold. What limits exploitation: standalone Unbound is categorically unaffected; applications that never set 'unwanted-reply-threshold' are unaffected regardless of version; the AC:H CVSS rating reflects the real-world difficulty of controlling or spoofing authoritative DNS responses at sufficient volume; and the attacker must time the attack to coincide with active queries to a nameserver they influence.

Impact

The CVSS 3.1 score of 5.9 (Medium) with vector AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H reflects a purely availability-impacting flaw with elevated attack complexity. AC:H is well-justified: the attacker must control or convincingly spoof responses from an authoritative nameserver that the target resolver is querying - a non-trivial network positioning requirement. The impact is hard availability loss (A:H) against the embedding application, with no confidentiality or integrity exposure. No EPSS score was provided in the source data, and there is no CISA KEV listing, indicating no confirmed active exploitation at the time of this analysis. The vulnerability is further constrained by requiring a non-default, explicitly configured option ('unwanted-reply-threshold' set to any non-zero value); applications that never set this option are entirely unaffected. Standalone Unbound deployments are also categorically unaffected. The realistic risk is therefore moderate and bounded: the population of vulnerable targets is limited to applications embedding libunbound with this specific option enabled, and the exploit requires meaningful attacker control over DNS infrastructure. This is not a mass-exploitation scenario but remains a credible denial-of-service vector for targeted attacks against specific DNS-dependent applications.

Exploit ScenarioDerived

An attacker who operates or has compromised an authoritative nameserver - or who is positioned to spoof UDP packets from one - waits for a target application embedding libunbound to query a domain they control. They respond with a sustained flood of UDP datagrams carrying wrong transaction IDs until the application's configured 'unwanted-reply-threshold' is crossed, causing libunbound to invoke its unregistered cleanup function and crash the embedding process. No public proof-of-concept code is known at this time, but the attack logic follows directly from the vendor's description and is straightforward for an attacker with appropriate DNS infrastructure.

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

Fatal application termination in NLnet Labs Unbound's libunbound library (up to and including 1.25.1) can be triggered remotely when the 'unwanted-reply-threshold' feature is enabled. An attacker controlling or able to spoof responses from an authoritative nameserver can flood the resolver with wrong-transaction-ID UDP datagrams until the threshold is crossed, causing libunbound to invoke 'libworker_alloc_cleanup' - a function absent from the internal allow list - resulting in a fatal exit that crashes the embedding application. Notably, standalone Unbound is unaffected because its counterpart function 'worker_alloc_cleanup' is correctly registered; only applications embedding libunbound are at risk. No public exploit code or CISA KEV listing has been identified at time of analysis.

RemediationAI

Consult the NLnet Labs advisory at https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-44621.txt for the official patched release. An exact fixed version beyond 1.25.1 is not independently confirmed in the available data - monitor the NLnet Labs release page for a corrected build and upgrade as soon as one is available. As an immediate compensating control, applications embedding libunbound should set 'unwanted-reply-threshold' to 0 (its default, which disables the feature) in their libunbound configuration; this prevents the vulnerable code path from ever being triggered and carries no functional cost if the feature was not deliberately relied upon. Applications that require the threshold feature for operational reasons should prioritize upgrading to the patched version, as disabling the feature removes a legitimate defense against transaction-ID spoofing attacks. Network-level mitigations such as filtering inbound UDP with mismatched transaction IDs at the authoritative-server boundary may reduce exposure but are not a substitute for patching.

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 implements an internal function call allow list as a security boundary for libunbound, the embeddable resolver library. When 'unwanted-reply-threshold' is configured to a non-zero value, the library monitors for unsolicited or mismatched UDP datagrams (wrong transaction IDs) from authoritative nameservers - a defense against DNS cache poisoning and amplification. Upon crossing the threshold, cleanup logic triggers 'libworker_alloc_cleanup', which handles memory and cache flushing for libunbound worker threads. This function was inadvertently omitted from the allow list, causing the allow-list enforcement mechanism itself to raise a fatal error. CWE-754 (Improper Check for Unusual or Exceptional Conditions) captures this class of bug: the library fails to handle the edge case where its own internal cleanup function is invoked via a code path that the allow list does not anticipate. The affected CPE is cpe:2.3:a:nlnet_labs:unbound:*:*:*:*:*:*:*:*, covering all versions through 1.25.1. Standalone Unbound correctly registers 'worker_alloc_cleanup' in its allow list and is not vulnerable.

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 need to control or spoof authoritative DNS responses; PR:N as no authentication to libunbound is needed; A:H for application crash; C/I:N as no data exposure or modification occurs.

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 6.2 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/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
None
Integrity
None
Availability
High

Lifecycle Timeline

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

DescriptionCVE.org

With NLnet Labs Unbound up to and including version 1.25.1, applications using libunbound and configured with 'unwanted-reply-threshold', could eventually be abruptly terminated if the threshold is reached and libunbound needs to call 'libworker_alloc_cleanup' since the function is absent from the function call allow list. When an application using libunbound sets 'unwanted-reply-threshold' to any non-zero value and the iterator queries an authoritative that replies with enough wrong-transaction-ID UDP datagrams to cross the threshold, the 'libworker_alloc_cleanup' will eventually be called. Since the function is absent from the function call allow list, this leads to a fatal exit of libunbound and eventual termination of the embedding application.Unbound itself is not affected since its relevant function 'worker_alloc_cleanup' is registed in the allow list and proceeds to perform the documented cache flush.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
Unbound widely deployed as DNS resolver, but libunbound embedding is a subset
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.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