CVE-2026-50252 Possible cache poisoning attack by mapping source port population per thread
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| NLnet Labs Unbound | >= 1.4.22, < 1.25.2 | 1.25.2 |
| redhat/unbound(Red Hat:enterprise_linux:10.2) | < 1.24.2-7.el10_2.5 | 1.24.2-7.el10_2.5 |
| redhat/unbound(Red Hat:enterprise_linux:8) | < 1.16.2-5.14.el8_10.2 | 1.16.2-5.14.el8_10.2 |
| redhat/unbound(Red Hat:enterprise_linux:9) | < 1.24.2-3.el9_8.6 | 1.24.2-3.el9_8.6 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.22::el9) | < 9:4.22.9.8.202611032353-0 | 9:4.22.9.8.202611032353-0 |
| redhat/unbound-main(Red Hat:hummingbird:1) | < 1.25.2-0.1.hum1 | 1.25.2-0.1.hum1 |
| redhat/unbound(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
| debian/unbound(Debian:12) | All versions | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2+deb12u1 | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2+deb12u2 | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2+deb12u3 | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2+deb12u4 | No fix listed |
| debian/unbound(Debian:12) | = 1.17.1-2+loong64 | No fix listed |
| debian/unbound(Debian:12) | = 1.18.0-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.18.0-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.19.1-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.19.2-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.20.0-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.21.1-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.22.0-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.22.0-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.23.1-1 | No fix listed |
Show 47 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/unbound(Debian:12) | = 1.24.0-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.24.0-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.24.1-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.24.1-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.24.2-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.25.0-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.25.1-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.25.2-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.26.0-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.26.0-2 | No fix listed |
| debian/unbound(Debian:12) | = 1.26.1-1 | No fix listed |
| debian/unbound(Debian:12) | = 1.26.2-1 | No fix listed |
| debian/unbound(Debian:13) | < 1.26.1-0+deb13u1 | 1.26.1-0+deb13u1 |
| debian/unbound(Debian:13) | = 1.22.0-2 | No fix listed |
| debian/unbound(Debian:13) | = 1.22.0-2+deb13u1 | No fix listed |
| debian/unbound(Debian:13) | = 1.22.0-2+deb13u2 | No fix listed |
| debian/unbound(Debian:13) | = 1.22.0-2+deb13u3 | No fix listed |
| debian/unbound(Debian:13) | = 1.23.1-1 | No fix listed |
| debian/unbound(Debian:13) | = 1.24.0-1 | No fix listed |
| debian/unbound(Debian:13) | = 1.24.0-2 | No fix listed |
| debian/unbound(Debian:13) | = 1.24.1-1 | No fix listed |
| debian/unbound(Debian:13) | = 1.24.1-2 | No fix listed |
| debian/unbound(Debian:13) | = 1.24.2-1 | No fix listed |
| debian/unbound(Debian:13) | = 1.25.0-1 | No fix listed |
| debian/unbound(Debian:13) | = 1.25.1-1 | No fix listed |
| debian/unbound(Debian:13) | = 1.25.2-1 | No fix listed |
| debian/unbound(Debian:13) | = 1.26.0-1 | No fix listed |
| debian/unbound(Debian:13) | = 1.26.0-2 | No fix listed |
| debian/unbound(Debian:14) | < 1.25.2-1 | 1.25.2-1 |
| debian/unbound(Debian:14) | = 1.22.0-2 | No fix listed |
| debian/unbound(Debian:14) | = 1.23.1-1 | No fix listed |
| debian/unbound(Debian:14) | = 1.24.0-1 | No fix listed |
| debian/unbound(Debian:14) | = 1.24.0-2 | No fix listed |
| debian/unbound(Debian:14) | = 1.24.1-1 | No fix listed |
| debian/unbound(Debian:14) | = 1.24.1-2 | No fix listed |
| debian/unbound(Debian:14) | = 1.24.2-1 | No fix listed |
| debian/unbound(Debian:14) | = 1.25.0-1 | No fix listed |
| debian/unbound(Debian:14) | = 1.25.1-1 | No fix listed |
| alpine/unbound(Alpine:v3.22) | >= 1.4.22, < 1.25.2-r0 | 1.25.2-r0 |
| alpine/unbound(Alpine:v3.23) | >= 1.4.22, < 1.25.2-r0 | 1.25.2-r0 |
| alpine/unbound(Alpine:v3.24) | >= 1.4.22, < 1.25.2-r0 | 1.25.2-r0 |
| nlnetlabs unbound | >= 1.4.22, < 1.25.2 | 1.25.2 |
| ubuntu/unbound(Ubuntu:22.04) | < 1.13.1-1ubuntu5.17 | 1.13.1-1ubuntu5.17 |
| ubuntu/unbound(Ubuntu:24.04) | < 1.19.2-1ubuntu3.12 | 1.19.2-1ubuntu3.12 |
| ubuntu/unbound(Ubuntu:26.04) | < 1.24.2-1ubuntu2.4 | 1.24.2-1ubuntu2.4 |
| ubuntu/unbound(Ubuntu:26.10) | < 1.25.1-1ubuntu3.1 | 1.25.1-1ubuntu3.1 |
| azure linux unbound(Azure Linux:3.0) | < 1.25.2-1 | 1.25.2-1 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- USN-8946-2: Unbound vulnerabilities vendor-advisory
- www.nlnetlabs.nl vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:68291 patch vendor-advisory
- RHSA-2026:69120 patch vendor-advisory
- RHSA-2026:68292 patch vendor-advisory
- RHSA-2026:95346 patch vendor-advisory
- RHSA-2026:43588 patch vendor-advisory
- Red Hat Bugzilla 2506133 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-50252 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8946-1 vendor-advisory
- security.alpinelinux.org vendor-advisory