Use of insufficiently random values in Unbound - CVE-2026-50252
Published: July 23, 2026
Unbound
Detailed vulnerability description
The vulnerability allows a remote attacker to conduct DNS cache poisoning attacks.
The vulnerability exists due to improper randomness management in UDP source port selection when handling DNS queries with the SO_REUSEPORT configuration option enabled. A remote attacker can send queries and observe outgoing source ports to conduct DNS cache poisoning attacks.
The issue occurs because worker threads use disjoint UDP source port subsets, allowing observed outgoing source ports to reveal which thread processed the original query.