Possible cache poisoning attack by mapping source port population per thread
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 7 fixed, 3 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NLnet Labs | Unbound | 1.4.22 to before 1.25.2 | 1.25.2 | Patch available | CNA |
- Unbound VendorNLnet Labs Affected 1.4.22 to before 1.25.2 Fixed in 1.25.2 Patch available CNA
Remediation
- Fix · CNA Unbound (NLnet Labs) Fixed in 1.25.2
Red Hat 5 advisories
- RHSA-2026:95346 Released 2026-11-06 · Red Hat rating CriticalOpenShift Container Platform 4.22.22 bug fix and security update
- Red Hat OpenShift Container Platform 4.22 rhcos-aarch64-4.22.9.8.202611032353-0, rhcos-ppc64le-4.22.9.8.202611032353-0, rhcos-s390x-4.22.9.8.202611032353-0 +1
- RHSA-2026:69120 Released 2026-09-21 · Red Hat rating Moderateunbound security update
- Red Hat Enterprise Linux AppStream (v. 8) python3-unbound-1.16.2-5.14.el8_10.2, unbound-1.16.2-5.14.el8_10.2, unbound-devel-1.16.2-5.14.el8_10.2 +1
- RHSA-2026:68292 Released 2026-09-16 · Red Hat rating Moderateunbound security update
- Red Hat Enterprise Linux AppStream (v. 9) python3-unbound-1.24.2-3.el9_8.6, unbound-1.24.2-3.el9_8.6, unbound-dracut-1.24.2-3.el9_8.6 +1
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) unbound-devel-1.24.2-3.el9_8.6
Show 2 more Red Hat advisories
- RHSA-2026:68291 Released 2026-09-16 · Red Hat rating Moderateunbound security update
- Red Hat Enterprise Linux AppStream (v. 10) python3-unbound-1.24.2-7.el10_2.5, unbound-1.24.2-7.el10_2.5, unbound-anchor-1.24.2-7.el10_2.5 +3
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) unbound-devel-1.24.2-7.el10_2.5
- RHSA-2026:43588 Released 2026-07-22 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python3-unbound-1.25.2-0.1.hum1@aarch64, python3-unbound-1.25.2-0.1.hum1@x86_64, unbound-1.25.2-0.1.hum1@aarch64 +14
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
NLnet Labs Unbound 1.25.2
24 records Highest priority Priority LOW 24 LOW
Other records, highest priority first
- TI-2026-40374 'dns-error-reporting: yes' leads to stack buffer overflowPriority LOW 39
- TI-2026-29375 Packet of death for DNSCrypt over TCPPriority LOW 39
- TI-2026-25166 Remote DNS-over-QUIC denial of service due to `quic-size` budget bypassPriority LOW 39
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:68291 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:69120 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:68292 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:68291 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:68292 |
| Red Hat Hardened Images | Fixed | RHSA-2026:43588 |
| Red Hat OpenShift Container Platform 4.22 | Fixed | RHSA-2026:95346 |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2026-50252
- 2026-10-03 Alias added: GHSA-jfgc-mgqq-r573
- 2026-11-01 Affected versions changed · Red Hat
- 2026-11-07 Fix available: RHSA-2026:95346 · Red Hat
- 2026-11-07 Fix available: Red Hat OpenShift Container Platform 4.22 · Red Hat
References
More NLnet Labs vulnerabilities
- TI-2026-25690 Possible arbitrary code execution during DNSSEC validation CVSS 4.0CRITICAL 9.1
- TI-2026-56302 Heap buffer overflow and possible Remote Code Execution when digesting DNSKEY CVSS 4.0CRITICAL 9.1
- TI-2026-31146 Crash during DNSSEC validation of malicious content CVSS 4.0HIGH 8.7
- TI-2026-31135 Heap overflow with multiple NSID, COOKIE, PADDING EDNS options CVSS 4.0HIGH 8.7
- TI-2026-36436 Routinator crashes on specifically crafted RRDP XML files CVSS 4.0HIGH 8.7
- TI-2026-36433 Routinator exits when accepting an incoming HTTP or RTR connection fails CVSS 4.0HIGH 8.7
Sources
- CVE-2026-50252 · CVE Program
- CVE-2026-50252 · NVD
- FIRST EPSS
- GHSA-jfgc-mgqq-r573 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-50252 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences