CVE Database›Document archive›CVE-2026-50252

CVE-2026-50252

unbound: Unbound: DNS cache poisoning via UDP source port predictability

Loading…

Severity

Moderate

Red Hat Product Security

6.5

CVSS 3.1

Review impact separately from score.

Published · July 22, 2026

Updated · November 1, 2026

Description

A flaw in Unbound's SO_REUSEPORT implementation reduces UDP source port entropy by allowing attackers to map ports to specific worker threads. This enables DNS cache poisoning, potentially leading to traffic redirection or unauthorized information disclosure.

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

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.

CVSS / CWE

CVSS 3.1 · 6.5
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

CWE-349 · Acceptance of Extraneous Untrusted Data With Trusted Data