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 Details
- CVSS 4.0 Base Score: 5.7 (MEDIUM)
- CVSS 4.0 Vector: (CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:H/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Amber)
- CVSS 3.1 Base Score: 9.3
- CVSS 3.1 Vector: (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade unbound | Jul 29, 2026 | Jul 22, 2026 |
| Amazon_linux_2023 | — | Upgrade unbound-utilsUpgrade unbound-libsUpgrade unbound-anchorUpgrade unbound-develUpgrade unbound-utils-debuginfoUpgrade unboundUpgrade python3-unboundUpgrade unbound-debugsourceUpgrade unbound-debuginfoUpgrade unbound-anchor-debuginfoUpgrade unbound-libs-debuginfoUpgrade python3-unbound-debuginfo | Aug 10, 2026 | Jul 22, 2026 |
| Debian | — | Upgrade unbound | Sep 21, 2026 | Jul 22, 2026 |
| Freebsd | — | Upgrade unbound | Jul 28, 2026 | Jul 25, 2026 |
| Redhat_linux | — | Upgrade unbound-dracutUpgrade unbound-libsUpgrade unboundUpgrade unbound-debuginfoUpgrade unbound-debugsourceUpgrade unbound-anchorUpgrade unbound-develUpgrade unbound-utilsUpgrade python3-unbound-debuginfoUpgrade unbound-libs-debuginfoUpgrade unbound-utils-debuginfoUpgrade unbound-anchor-debuginfoNo solution existsUpgrade python3-unbound | Aug 20, 2026 | Jul 22, 2026 |
| Rocky_linux | — | Upgrade unbound-libs-debuginfoUpgrade unbound-anchor-debuginfoUpgrade python3-unbound-debuginfoUpgrade unbound-debuginfoUpgrade unbound-libsUpgrade unbound-anchorUpgrade python3-unboundUpgrade unboundUpgrade unbound-utils-debuginfoUpgrade unbound-develUpgrade unbound-utilsUpgrade unbound-debugsourceUpgrade unbound-dracut | Sep 18, 2026 | Sep 17, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 10, 2026 | Jul 22, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub