CVE-2026-50252Possible cache poisoning attack by mapping source port population per thread
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | unbound | Fixed | 1.25.1-1ubuntu3.1 | UBUNTU-CVE-2026-50252 |
| Ubuntu 26.04 | unbound | Fixed | 1.24.2-1ubuntu2.4 | UBUNTU-CVE-2026-50252 |
| Ubuntu 24.04 | unbound | Fixed | 1.19.2-1ubuntu3.12 | UBUNTU-CVE-2026-50252 |
| Ubuntu 22.04 | unbound | Fixed | 1.13.1-1ubuntu5.17 | UBUNTU-CVE-2026-50252 |
| Ubuntu 20.04 | unbound | Fix pending | 1.9.4-2ubuntu1.11+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-50252 |
| Ubuntu 18.04 | unbound | Fix pending | 1.6.7-1ubuntu2.6+esm6 (Ubuntu Pro) | UBUNTU-CVE-2026-50252 |
| Ubuntu 16.04 | unbound | Fix pending | 1.5.8-1ubuntu1.1+esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-50252 |
| Ubuntu 14.04 | unbound | Fix pending | 1.4.22-1ubuntu4.14.04.3+esm5 (Ubuntu Pro) | UBUNTU-CVE-2026-50252 |
| Debian 14 | unbound | Fixed | 1.25.2-1 | DEBIAN-CVE-2026-50252 |
| Debian 13 | unbound | Fixed | 1.26.1-0+deb13u1 | DEBIAN-CVE-2026-50252 |
| Debian 12 | unbound | Fix pending | DEBIAN-CVE-2026-50252 | |
| Red Hat Enterprise Linux 10 | python3-unbound | Fixed | 0:1.24.2-7.el10_2.5 | RHSA-2026:68291 |
| Red Hat Enterprise Linux 10 | unbound | Fixed | 0:1.24.2-7.el10_2.5 | RHSA-2026:68291 |
| Red Hat Enterprise Linux 10 | unbound-anchor | Fixed | 0:1.24.2-7.el10_2.5 | RHSA-2026:68291 |
| Red Hat Enterprise Linux 10 | unbound-devel | Fixed | 0:1.24.2-7.el10_2.5 | RHSA-2026:68291 |
| Red Hat Enterprise Linux 10 | unbound-dracut | Fixed | 0:1.24.2-7.el10_2.5 | RHSA-2026:68291 |
| Red Hat Enterprise Linux 10 | unbound-libs | Fixed | 0:1.24.2-7.el10_2.5 | RHSA-2026:68291 |
| Red Hat Enterprise Linux 10 | unbound-utils | Fixed | 0:1.24.2-7.el10_2.5 | RHSA-2026:68291 |
| Red Hat Enterprise Linux 9 | python3-unbound | Fixed | 0:1.24.2-3.el9_8.6 | RHSA-2026:68292 |
| Red Hat Enterprise Linux 9 | unbound | Fixed | 0:1.24.2-3.el9_8.6 | RHSA-2026:68292 |
| Red Hat Enterprise Linux 9 | unbound-devel | Fixed | 0:1.24.2-3.el9_8.6 | RHSA-2026:68292 |
| Red Hat Enterprise Linux 9 | unbound-dracut | Fixed | 0:1.24.2-3.el9_8.6 | RHSA-2026:68292 |
| Red Hat Enterprise Linux 9 | unbound-libs | Fixed | 0:1.24.2-3.el9_8.6 | RHSA-2026:68292 |
| Red Hat Enterprise Linux 8 | python3-unbound | Fixed | 0:1.16.2-5.14.el8_10.2 | RHSA-2026:69120 |
| Red Hat Enterprise Linux 8 | unbound | Fixed | 0:1.16.2-5.14.el8_10.2 | RHSA-2026:69120 |
| Red Hat Enterprise Linux 8 | unbound-devel | Fixed | 0:1.16.2-5.14.el8_10.2 | RHSA-2026:69120 |
| Red Hat Enterprise Linux 8 | unbound-libs | Fixed | 0:1.16.2-5.14.el8_10.2 | RHSA-2026:69120 |
| Red Hat Enterprise Linux 7 | unbound | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | unbound-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | unbound-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | unbound-python | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | unbound | Not affected | ||
| Red Hat Enterprise Linux 6 | unbound-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | unbound-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | unbound-python | Not affected | ||
| AlmaLinux 10 | python3-unbound | Fixed | 1.24.2-7.el10_2.5 | ALSA-2026:68291 |
| AlmaLinux 10 | unbound | Fixed | 1.24.2-7.el10_2.5 | ALSA-2026:68291 |
| AlmaLinux 10 | unbound-anchor | Fixed | 1.24.2-7.el10_2.5 | ALSA-2026:68291 |
| AlmaLinux 10 | unbound-devel | Fixed | 1.24.2-7.el10_2.5 | ALSA-2026:68291 |
| AlmaLinux 10 | unbound-dracut | Fixed | 1.24.2-7.el10_2.5 | ALSA-2026:68291 |
| AlmaLinux 10 | unbound-libs | Fixed | 1.24.2-7.el10_2.5 | ALSA-2026:68291 |
| AlmaLinux 10 | unbound-utils | Fixed | 1.24.2-7.el10_2.5 | ALSA-2026:68291 |
| AlmaLinux 9 | python3-unbound | Fixed | 1.24.2-3.el9_8.6 | ALSA-2026:68292 |
| AlmaLinux 9 | unbound | Fixed | 1.24.2-3.el9_8.6 | ALSA-2026:68292 |
| AlmaLinux 9 | unbound-devel | Fixed | 1.24.2-3.el9_8.6 | ALSA-2026:68292 |
| AlmaLinux 9 | unbound-dracut | Fixed | 1.24.2-3.el9_8.6 | ALSA-2026:68292 |
| AlmaLinux 9 | unbound-libs | Fixed | 1.24.2-3.el9_8.6 | ALSA-2026:68292 |
| AlmaLinux 8 | python3-unbound | Fixed | 1.16.2-5.14.el8_10.2 | ALSA-2026:69120 |
| AlmaLinux 8 | unbound | Fixed | 1.16.2-5.14.el8_10.2 | ALSA-2026:69120 |
| AlmaLinux 8 | unbound-devel | Fixed | 1.16.2-5.14.el8_10.2 | ALSA-2026:69120 |
| AlmaLinux 8 | unbound-libs | Fixed | 1.16.2-5.14.el8_10.2 | ALSA-2026:69120 |
| Rocky Linux 10 | unbound | Fixed | 0:1.24.2-7.el10_2.5 | RLSA-2026:68291 |
| Rocky Linux 9 | unbound | Fixed | 0:1.24.2-3.el9_8.6 | RLSA-2026:68292 |
| Rocky Linux 8 | unbound | Fixed | 0:1.16.2-5.14.el8_10.2 | RLSA-2026:69120 |
| Alpine Linux 3.24 | unbound | Fixed | 1.25.2-r0 | ALPINE-CVE-2026-50252 |
| Alpine Linux 3.23 | unbound | Fixed | 1.25.2-r0 | ALPINE-CVE-2026-50252 |
| Alpine Linux 3.22 | unbound | Fixed | 1.25.2-r0 | ALPINE-CVE-2026-50252 |
What the vendor says
As published in the CVE record by NLnet Labs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- NLnet Labs Unbound: affected: 1.4.22 to before 1.25.2; fixed in
1.25.2
Solution: This issue is fixed starting with version 1.25.2
Vendor advisories:
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-50252.txt (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.