cve.bz

CVE-2026-50252 nlnetlabs unbound

5.7 mediumEPSS 0.2%

Medium (5.7) in nlnetlabs unbound. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

5.7 medium
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/U:Amber

CVSS 3.1

9.3 critical
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 7th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-349 Acceptance of Extraneous Untrusted Data With Trusted Data
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-50252 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-50252?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-50252?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-50252 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-50252

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-50252](https://cve.bz/cve/badge/CVE-2026-50252.svg)](https://cve.bz/cve/CVE-2026-50252)

HTML:

<a href="https://cve.bz/cve/CVE-2026-50252"><img src="https://cve.bz/cve/badge/CVE-2026-50252.svg" alt="CVE-2026-50252"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
NLnet Labs Unboundfrom 1.4.22 before 1.25.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12unboundno fix listedDEBIAN-CVE-2026-50252
Debian13unbound1.26.1-0+deb13u1DEBIAN-CVE-2026-50252
Debian14unbound1.25.2-1DEBIAN-CVE-2026-50252
Ubuntu22.04:LTSunbound1.13.1-1ubuntu5.17UBUNTU-CVE-2026-50252 USN-8946-1
Ubuntu24.04:LTSunbound1.19.2-1ubuntu3.12UBUNTU-CVE-2026-50252 USN-8946-1
Ubuntu26.04:LTSunbound1.24.2-1ubuntu2.4UBUNTU-CVE-2026-50252 USN-8946-1
Ubuntu26.10unbound1.25.1-1ubuntu3.1UBUNTU-CVE-2026-50252 USN-8946-2
UbuntuPro:14.04:LTSunbound1.4.22-1ubuntu4.14.04.3+esm5UBUNTU-CVE-2026-50252 USN-8946-1
UbuntuPro:16.04:LTSunbound1.5.8-1ubuntu1.1+esm5UBUNTU-CVE-2026-50252 USN-8946-1
UbuntuPro:18.04:LTSunbound1.6.7-1ubuntu2.6+esm6UBUNTU-CVE-2026-50252 USN-8946-1
UbuntuPro:20.04:LTSunbound1.9.4-2ubuntu1.11+esm3UBUNTU-CVE-2026-50252 USN-8946-1
Red Hatenterprise_linux:8::appstreamunbound, unbound-libs, unbound-devel and 5 more0:1.16.2-5.14.el8_10.2RHSA-2026:69120
Red Hatenterprise_linux:9::appstreamunbound, unbound-libs, unbound-dracut and 5 more0:1.24.2-3.el9_8.6RHSA-2026:68292
Red Hatenterprise_linux:9::crbunbound-devel, unbound-debuginfo, unbound-debugsource and 2 more0:1.24.2-3.el9_8.6RHSA-2026:68292
Red Hatenterprise_linux:10.2unbound, unbound-libs, unbound-devel and 10 more0:1.24.2-7.el10_2.5RHSA-2026:68291
Red Hathummingbird:1unbound, unbound-libs, unbound-devel and 5 more0:1.25.2-0.1.hum1RHSA-2026:43588
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 6 moreunbound1.25.2-150100.10.28.1SUSE-SU-2026:3884-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Server 15 SP6-LTSS and 1 moreunbound1.25.2-150600.23.19.1SUSE-SU-2026:3885-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0unbound1.25.2-160000.1.1SUSE-SU-2026:23215-1 SUSE-SU-2026:23226-1
SUSELinux Micro 6.0unbound1.25.2-1.1SUSE-SU-2026:23360-1
SUSELinux Micro 6.1unbound1.25.2-slfo.1.1_1.1SUSE-SU-2026:23349-1
SUSELinux Micro 6.2unbound1.25.2-160000.1.1SUSE-SU-2026:23050-1
openSUSELeap 16.0unbound1.25.2-160000.1.1openSUSE-SU-2026:21550-1
openSUSETumbleweedunbound1.25.2-1.1openSUSE-SU-2026:11380-1
AlmaLinux8unbound, unbound-libs, unbound-devel and 1 more1.16.2-5.14.el8_10.2ALSA-2026:69120
AlmaLinux9unbound, unbound-libs, unbound-devel and 2 more1.24.2-3.el9_8.6ALSA-2026:68292
AlmaLinux10unbound, unbound-libs, unbound-devel and 4 more1.24.2-7.el10_2.5ALSA-2026:68291
Rocky Linux8unbound0:1.16.2-5.14.el8_10.2RLSA-2026:69120
Rocky Linux9unbound0:1.24.2-3.el9_8.6RLSA-2026:68292
Rocky Linux10unbound0:1.24.2-7.el10_2.5RLSA-2026:68291
Alpinev3.22, v3.23, v3.24unbound1.25.2-r0ALPINE-CVE-2026-50252
Azure Linux3unbound1.25.2-1AZL-92982

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate: This flaw allows for DNS cache poisoning due to predictable UDP source ports when Unbound's `so-reuseport` option is enabled by default. An attacker on an adjacent network can exploit this to compromise the integrity of DNS resolutions, leading to potential redirection of traffic.

Red Hat's mitigation

Disable the so-reuseport option by explicitly setting so-reuseport: no in your unbound.conf file. This prevents the deterministic mapping of worker threads to outbound UDP source ports, effectively stopping the cache poisoning vector. Additionally, restrict who can query the resolver using the access-control directive to reduce the overall attack surface, and restart the Unbound service to apply the changes.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10unbound-0:1.24.2-7.el10_2.5Fixed 2026-09-16RHSA-2026:68291
Red Hat Enterprise Linux 8unbound-0:1.16.2-5.14.el8_10.2Fixed 2026-09-21RHSA-2026:69120
Red Hat Enterprise Linux 9unbound-0:1.24.2-3.el9_8.6Fixed 2026-09-16RHSA-2026:68292
Red Hat OpenShift Container Platform 4.22openshift/ose-rhel-coreos-9:4.22.9.8.202611032353-0Fixed 2026-11-06RHSA-2026:95346
Red Hat Hardened Imagesunbound-main-1.25.2-0.1.hum1Fixed 2026-07-22RHSA-2026:43588
Red Hat Enterprise Linux 6unboundNot affected
Red Hat Enterprise Linux 7unboundAffected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-50252.

Attack patterns (CAPEC)

  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-141 Cache Poisoning Likelihood: High · Severity: High
  • CAPEC-142 DNS Cache Poisoning Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON