CVE-2026-50252Nlnetlabs Unbound
Medium 5.7 No auth needed
Follow: this CVE · Nlnetlabs · Nlnetlabs Unbound We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 4.0
- 5.7
- EPSS
- —
- Auth required
- No
- Published
- Jul 22, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-349
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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
What happens
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
- Apply the vendor's security update for Unbound.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nlnetlabs | unbound | ≥ 1.4.22 < 1.25.2 |
Official advisories
- Red Hat Security Advisory: unbound security update · Red Hat · RHSA-2026:69120 · Sep 21, 2026 Medium
- Red Hat Security Advisory: unbound security update · Red Hat · RHSA-2026:68291 · Sep 17, 2026 Medium
- Red Hat Security Advisory: unbound security update · Red Hat · RHSA-2026:68292 · Sep 17, 2026 Medium
- Security update for unbound · SUSE · SUSE-SU-2026:3885-1 · Aug 31, 2026 High
- Security update for unbound · SUSE · SUSE-SU-2026:3884-1 · Aug 31, 2026 High
- Security update for unbound · SUSE · SUSE-SU-2026:23360-1 · Aug 26, 2026 High
Also: SUSE (+6), Red Hat (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.nlnetlabs.nl Vendor Advisory