Critical severity · published Jul 22, 2026
CVE-2026-50252
Possible cache poisoning attack by mapping source port population per thread
9.3
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
Attack vector
Adjacent
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 7% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
UN
Unbound · NLnet Labs
1.4.22 before 1.25.2 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-50252
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-50252
Vendor Advisory
https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-50252.txt
More from Unbound
10.0
CVE-2026-42960
Possible cache poisoning via promiscuous records for the authority section
9.8
CVE-2026-82717
CNAME synthesis could lead to heap corruption
9.8
CVE-2026-81642
Heap buffer overflow and possible Remote Code Execution when digesting DNSKEY
9.8
CVE-2026-33278
Possible arbitrary code execution during DNSSEC validation
7.5
CVE-2026-97206
DNS-over-QUIC (DoQ) path-migration can lead to use-after-free on multi-threaded deployments.
