CyberSecBulletin
CVE-2026-50252NVD status: Analyzed

Unbound: Acceptance of Extraneous Untrusted Data With Trusted Data

CVE-2026-50252 is a critical-severity acceptance of extraneous untrusted data with trusted data vulnerability in Unbound from NLnet Labs, with a CVSS 3.1 base score of 9.3 out of 10. It can be exploited from the same local network by an unauthenticated attacker, without any action from a user. The record lists version 1.25.2 as the first without the flaw, so updating Unbound to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.17% chance of exploitation within 30 days, which is low compared with other CVEs.

Patch this week

Critical severity: a successful attack would have severe impact.

What to do

  1. Update Unbound to 1.25.2 or a later version.
  2. Read the advisory on nlnetlabs.nl for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
NLnet LabsUnbound1.4.22 up to, but not including, 1.25.21.25.2

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
AdjacentThe attacker must be on the same local network segment.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
ChangedThe attack can reach beyond the vulnerable component into other systems.
Confidentiality
NoneNo data is disclosed.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 4.05.7MediumCNA (nlnetlabs.nl)
CVSS 3.19.3CriticalNVD

Official 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.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Acceptance of Extraneous Untrusted Data With Trusted Data

The product, when processing trusted data, accepts any untrusted data that is also included with the trusted data, treating the untrusted data as if it were trusted.

More Acceptance of Extraneous Untrusted Data With Trusted Data vulnerabilities (CWE-349)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Unbound

All Unbound vulnerabilities

Recent Acceptance of Extraneous Untrusted Data With Trusted Data vulnerabilities

Spotted an error? Tell us.