CVEfocus › CVE database › CVE-2026-50251

CVE-2026-50251Attacker supplied '0.0.0.0'/'::' glue triggers defensive full-cache flush

CVSS 5.3 MediumEPSS 0.4% (higher than 26% of CVEs)Published 2026-07-22Updated 2026-07-22Assigner: NLnet Labs

In NLnet Labs Unbound up to and including version 1.25.1, when 'unwanted-reply-threshold' is enabled (set to any value greater than zero), glue records of 0.0.0.0/::0 can short-circuit Unbound, on systems that can direct such traffic, by issuing DNS queries and receiving seemingly unwanted replies since the remote IP does not match the original source IP of 0.0.0.0/::0. This behavior keeps on looping for the glue records and pushing the counter to the configured 'unwanted-reply-threshold' that triggers a defensive cache clear. A malicious actor who controls a delegation that returns in-bailiwick glue of 0.0.0.0/::0 can drive the counter to the limit of 'unwanted-reply-threshold' to the threshold and trigger a cache clean of the message and rrset caches; at will, indefinitely, without sending a single spoofed packet. The iterator uses the 0.0.0.0/::0 glue, and a system that can route this (e.g., Linux kernel routes the datagram over loopback), Unbound's own listener answers from 127.0.0.1. Because of the mismatch of 0.0.0.0 and 127.0.0.1, in this example, Unbound accounts the reply as an unwanted (probably spoofed) answer. The counter resets to zero on every cache flush, so the attack loops forever.

CWE-184

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

36Fixed
10Fix pending
3Under investigation
8Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10unboundFix pendingUBUNTU-CVE-2026-50251
Ubuntu 26.04unboundUnder investigationUBUNTU-CVE-2026-50251
Ubuntu 24.04unboundUnder investigationUBUNTU-CVE-2026-50251
Ubuntu 22.04unboundUnder investigationUBUNTU-CVE-2026-50251
Ubuntu 20.04unboundFix pendingUBUNTU-CVE-2026-50251
Ubuntu 18.04unboundFix pendingUBUNTU-CVE-2026-50251
Ubuntu 16.04unboundFix pendingUBUNTU-CVE-2026-50251
Ubuntu 14.04unboundFix pendingUBUNTU-CVE-2026-50251
Debian 14unboundFixed1.25.2-1DEBIAN-CVE-2026-50251
Debian 13unboundFixed1.26.1-0+deb13u1DEBIAN-CVE-2026-50251
Debian 12unboundFix pendingDEBIAN-CVE-2026-50251
Red Hat Enterprise Linux 10python3-unboundFixed0:1.26.1-2.el10_3RHSA-2026:97121
Red Hat Enterprise Linux 10unboundFixed0:1.26.1-2.el10_3RHSA-2026:97121
Red Hat Enterprise Linux 10unbound-anchorFixed0:1.26.1-2.el10_3RHSA-2026:97121
Red Hat Enterprise Linux 10unbound-develFixed0:1.26.1-2.el10_3RHSA-2026:97121
Red Hat Enterprise Linux 10unbound-dracutFixed0:1.26.1-2.el10_3RHSA-2026:97121
Red Hat Enterprise Linux 10unbound-libsFixed0:1.26.1-2.el10_3RHSA-2026:97121
Red Hat Enterprise Linux 10unbound-utilsFixed0:1.26.1-2.el10_3RHSA-2026:97121
Red Hat Enterprise Linux 9python3-unboundFixed0:1.26.1-1.el9_9RHSA-2026:97497
Red Hat Enterprise Linux 9unboundFixed0:1.26.1-1.el9_9RHSA-2026:97497
Red Hat Enterprise Linux 9unbound-develFixed0:1.26.1-1.el9_9RHSA-2026:97497
Red Hat Enterprise Linux 9unbound-dracutFixed0:1.26.1-1.el9_9RHSA-2026:97497
Red Hat Enterprise Linux 9unbound-libsFixed0:1.26.1-1.el9_9RHSA-2026:97497
Red Hat Enterprise Linux 8python3-unboundFix pending
Fix deferred
Red Hat Enterprise Linux 8unboundFix pending
Fix deferred
Red Hat Enterprise Linux 8unbound-develFix pending
Fix deferred
Red Hat Enterprise Linux 8unbound-libsFix pending
Fix deferred
Red Hat Enterprise Linux 7unboundWill not fix
Out of support scope
Red Hat Enterprise Linux 7unbound-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7unbound-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7unbound-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6unboundWill not fix
Out of support scope
Red Hat Enterprise Linux 6unbound-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6unbound-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6unbound-pythonWill not fix
Out of support scope
AlmaLinux 10python3-unboundFixed1.26.1-2.el10_3ALSA-2026:97121
AlmaLinux 10unboundFixed1.26.1-2.el10_3ALSA-2026:97121
AlmaLinux 10unbound-anchorFixed1.26.1-2.el10_3ALSA-2026:97121
AlmaLinux 10unbound-develFixed1.26.1-2.el10_3ALSA-2026:97121
AlmaLinux 10unbound-dracutFixed1.26.1-2.el10_3ALSA-2026:97121
AlmaLinux 10unbound-libsFixed1.26.1-2.el10_3ALSA-2026:97121
AlmaLinux 10unbound-utilsFixed1.26.1-2.el10_3ALSA-2026:97121
Rocky Linux 10python3-unboundFixed0:1.26.1-2.el10_3RLSA-2026:97121
Rocky Linux 10unboundFixed0:1.26.1-2.el10_3RLSA-2026:97121
Rocky Linux 10unbound-anchorFixed0:1.26.1-2.el10_3RLSA-2026:97121
Rocky Linux 10unbound-develFixed0:1.26.1-2.el10_3RLSA-2026:97121
Rocky Linux 10unbound-dracutFixed0:1.26.1-2.el10_3RLSA-2026:97121
Rocky Linux 10unbound-libsFixed0:1.26.1-2.el10_3RLSA-2026:97121
Rocky Linux 10unbound-utilsFixed0:1.26.1-2.el10_3RLSA-2026:97121
Rocky Linux 9python3-unboundFixed0:1.26.1-1.el9_9RLSA-2026:97497
Rocky Linux 9unboundFixed0:1.26.1-1.el9_9RLSA-2026:97497
Rocky Linux 9unbound-develFixed0:1.26.1-1.el9_9RLSA-2026:97497
Rocky Linux 9unbound-dracutFixed0:1.26.1-1.el9_9RLSA-2026:97497
Rocky Linux 9unbound-libsFixed0:1.26.1-1.el9_9RLSA-2026:97497
Alpine Linux 3.24unboundFixed1.25.2-r0ALPINE-CVE-2026-50251
Alpine Linux 3.23unboundFixed1.25.2-r0ALPINE-CVE-2026-50251
Alpine Linux 3.22unboundFixed1.25.2-r0ALPINE-CVE-2026-50251

What the vendor says

As published in the CVE record by NLnet Labs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: This issue is fixed starting with version 1.25.2

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.