Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.7

CVE-2026-50252: Unbound DNS server can leak thread info, enabling cache poisoning

CVE-2026-50252 · published 3 months ago
Summary

The Unbound DNS resolver (versions up to 1.25.1) uses a setting that splits outgoing UDP ports among its worker threads. Because each thread uses a distinct set of ports, an attacker can tell which thread handled a query and use that information to forge false DNS answers and poison the cache. Disable the "so-reuseport" option or upgrade Unbound to a version where the issue is fixed.

What to do
  • Update debian unbound to version 1.17.1-2+deb12u4.aikido.2.
  • Update debian rootio-unbound to version 1.17.1-2+deb12u4.aikido.2.
  • Update debian unbound to version 1.22.0-2+deb13u3.aikido.1.
  • Update debian rootio-unbound to version 1.13.1-1+deb11u7.aikido.1.
  • Update alpine unbound to version 1.25.2-r0.
  • Update debian unbound to version 1.13.1-1+deb11u7.aikido.1.
  • Update debian unbound to version 1.13.1-1+deb11u7.aikido.3.
  • Update debian rootio-unbound to version 1.13.1-1+deb11u7.aikido.3.
  • Update debian unbound to version 1.13.1-1+deb11u7.aikido.6.
  • Update debian rootio-unbound to version 1.13.1-1+deb11u7.aikido.6.
  • Update debian unbound to version 1.17.1-2+deb12u4.aikido.3.
  • Update debian rootio-unbound to version 1.17.1-2+deb12u4.aikido.3.
  • Update debian unbound to version 1.17.1-2+deb12u4.aikido.4.
  • Update debian rootio-unbound to version 1.17.1-2+deb12u4.aikido.4.
  • Update debian rootio-unbound to version 1.22.0-2+deb13u3.aikido.1.
  • Update debian unbound to version 1.22.0-2+deb13u3.aikido.2.
  • Update debian rootio-unbound to version 1.22.0-2+deb13u3.aikido.2.
  • Update unbound to version 1.17.1-2+deb12u4.aikido.5.
  • Update rootio-unbound to version 1.17.1-2+deb12u4.aikido.5.
  • Update unbound to version 1.22.0-2+deb13u3.aikido.4.
  • Update rootio-unbound to version 1.22.0-2+deb13u3.aikido.4.
  • Update debian unbound to version 1.26.1-0+deb13u1.
  • Update debian unbound to version 1.25.2-1.
  • Update nlnet labs unbound to version 1.25.2 or later.
  • Update nlnetlabs unbound to version 1.25.2 or later.
Affected software
Ecosystem VendorProductAffected versions
– nlnet labs unbound < 1.25.2
Debian:11 debian unbound All versions
Debian:12 debian unbound All versions
Debian:13 debian unbound < 1.26.1-0+deb13u1
Fix: upgrade to 1.26.1-0+deb13u1
Debian:14 debian unbound < 1.25.2-1
Fix: upgrade to 1.25.2-1
– nlnetlabs unbound >= 1.4.22, < 1.25.2
cpe:2.3:a:nlnetlabs:unbound:*:*:*:*:*:*:*:*
Root:Debian:12 debian unbound < 1.17.1-2+deb12u4.aikido.2
< 1.17.1-2+deb12u4.aikido.3
< 1.17.1-2+deb12u4.aikido.4
Fix: upgrade to 1.17.1-2+deb12u4.aikido.2
Root:Debian:12 debian rootio-unbound < 1.17.1-2+deb12u4.aikido.2
< 1.17.1-2+deb12u4.aikido.3
< 1.17.1-2+deb12u4.aikido.4
Fix: upgrade to 1.17.1-2+deb12u4.aikido.2
Root:Debian:13 debian unbound < 1.22.0-2+deb13u3.aikido.1
< 1.22.0-2+deb13u3.aikido.2
Fix: upgrade to 1.22.0-2+deb13u3.aikido.1
Root:Debian:11 debian rootio-unbound < 1.13.1-1+deb11u7.aikido.1
< 1.13.1-1+deb11u7.aikido.3
< 1.13.1-1+deb11u7.aikido.6
Fix: upgrade to 1.13.1-1+deb11u7.aikido.1
Alpine:v3.24 alpine unbound >= 1.4.22, < 1.25.2-r0
Fix: upgrade to 1.25.2-r0
Root:Debian:11 debian unbound < 1.13.1-1+deb11u7.aikido.1
< 1.13.1-1+deb11u7.aikido.3
< 1.13.1-1+deb11u7.aikido.6
Fix: upgrade to 1.13.1-1+deb11u7.aikido.1
Root:Debian:13 debian rootio-unbound < 1.22.0-2+deb13u3.aikido.1
< 1.22.0-2+deb13u3.aikido.2
Fix: upgrade to 1.22.0-2+deb13u3.aikido.1
Root:Debian:12 – unbound < 1.17.1-2+deb12u4.aikido.5
Fix: upgrade to 1.17.1-2+deb12u4.aikido.5
Root:Debian:12 – rootio-unbound < 1.17.1-2+deb12u4.aikido.5
Fix: upgrade to 1.17.1-2+deb12u4.aikido.5
Root:Debian:13 – unbound < 1.22.0-2+deb13u3.aikido.4
Fix: upgrade to 1.22.0-2+deb13u3.aikido.4
Root:Debian:13 – rootio-unbound < 1.22.0-2+deb13u3.aikido.4
Fix: upgrade to 1.22.0-2+deb13u3.aikido.4
Ubuntu:Pro:14.04:LTS canonical unbound All versions
Original advisory text
CVE-2026-50252 in unbound - Patched by Root
In NLnet Labs Unbound 1.4.22 up to and including 1.25.1, UDP source port is randomized and intended to serve as a secret value that increases the entropy of DNS transactions. When resolver load balancing policies depend on the source port while their outcome is revealed this secrecy is undermined. The vulnerability arises when the load balancing policy is consistent with respect to the incoming source UDP port and IP address while heavily depending on the incoming source UDP port as a randomization source. When the SO_REUSEPORT configuration option is enabled ('so-reuseport: yes') in Unbound (by default), it meets these conditions, making it vulnerable for DNS cache poisoning attacks. Upon startup, Unbound randomly partitions the available UDP source port space into disjoint subsets of (almost) equal size, assigning each subset to a specific worker thread. When an incoming DNS query is received, the kernel’s SO_REUSEPORT load balancing mechanism deterministically assigns the query to a socket associated with a particular thread. All outgoing DNS queries generated during the resolution of that request use source ports selected exclusively from the port subset assigned to the corresponding thread. Since these port subsets are disjoint across threads, the source port observed in a resolver’s outgoing query to an authoritative name server serves as a reliable indicator of the worker thread that processed the original client query. A malicious actor can acquire the mapping between incoming UDP source ports (for a given fixed source IP address) and Unbound worker threads and leverage it to conduct DNS cache poisoning attacks by effectively lowering the random port population per thread.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
5.7 Medium
Exploitation
<1% chance of attack within 30 days
Type
CWE-349Acceptance of Extraneous Untrusted Data With Trusted Data
Timeline
Published22 Jul 2026
Updated26 Oct 2026
First seen22 Jul 2026
Track software like this
Free during beta