Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-50252

MEDIUM 5.7EPSS 5%

Possible cache poisoning attack by mapping source port population per thread

Mitigation

  • Upgrade Unbound to 1.25.2 or later.

Who should check

  • Anyone running NLnet Labs Unbound >= 1.4.22, < 1.25.2

Vulnerability facts

Affected
NLnet Labs Unbound >= 1.4.22, < 1.25.2
Fixed in
NLnet Labs Unbound 1.25.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.7 (v4.0, CNA)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:AmberOpen in CVSS calculator
Show all 13 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: High
  • Availability impact on other systems: High
  • Exploit maturity: Proof of concept
  • U: Amber
EPSS
0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
CWE
CWE-349
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
NLnet Labs Unbound>= 1.4.22, < 1.25.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-50252. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-50252.md
Affected: NLnet Labs Unbound >= 1.4.22, < 1.25.2
Fixed in: NLnet Labs Unbound 1.25.2

Steps:
1. Search this machine and project for NLnet Labs Unbound: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-50252 being exploited?

There is no confirmed exploitation: CVE-2026-50252 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-50252?

Medium: CVSS 5.7 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-50252?

NLnet Labs Unbound >= 1.4.22, < 1.25.2.

Is there a fix for CVE-2026-50252?

Yes. Fixed in NLnet Labs Unbound 1.25.2. Upgrade Unbound to 1.25.2 or later.

How do I check if I'm affected by CVE-2026-50252?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors