VDB

CVE-2026-50252

CVE-2026-50252 PUBLISHED CVSS 5.7 MEDIUM

Possible cache poisoning attack by mapping source port population per thread

Reported by nlnet labs · Published July 22, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
unboundAlpine1.25.2-r0
unbound-develerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.14.el8
unbound-anchorerrata.rockylinux.org1.24.2-7.el10
unbound-debuginfoerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.14.el8
unbound-libserrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.14.el8
python3-unboundAmazon Linux1.17.1-1.amzn2023.0.13
unbound-libs-debuginfoerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.14.el8
unbounderrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.14.el8
unbound-utilsAmazon Linux1.17.1-1.amzn2023.0.13
python3-unbounderrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.14.el8
unbound-dracuterrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9
python3-unbound-debuginfoerrata.rockylinux.org1.24.2-7.el10, 1.24.2-3.el9, 1.16.2-5.14.el8

9 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
5.7
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

Affected products

VendorProductVersions
NLnet LabsUnbound1.4.22
alpineunbound0
amazon:2023python3-unbound0
amazon:2023unbound-utils0
NLnet LabsUnbound1.4.22
amazon:2023unbound-libs0
amazon:2023unbound-anchor0
amazon:2023unbound-devel0
amazon:2023unbound0

Timeline

  • Jul 22, 2026 Coalition ESS Score
  • Jul 22, 2026 CVE Published
  • Jul 23, 2026 Security Advisory (5 in total, the first dated here)
  • Jul 25, 2026 EPSS Score (13 in total, the first dated here)
  • Sep 17, 2026 Distribution Patch (7 in total, the first dated here)
  • Oct 24, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-50252
vulnetix vdb fixes CVE-2026-50252

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-50252/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • vendor-advisory
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›