{"id":"CVE-2026-44687","published":"2026-07-22T13:06:42Z","modified":"2026-07-22T14:19:53Z","title":"Off-by-one error in 'harden-below-nxdomain' logic can shadow a stub/forward zone by a legitimate parent's NXDOMAIN","vendor":"NLnet Labs","product":"Unbound","tier":"tail","description":{"text":"In NLnet Labs Unbound 1.13.2 up to and including 1.25.1, stub or forward zones where the name is below an intermediate labed below a DNSSEC signed zone could be shadowed by the intermediate label's secure NXDOMAIN answer from the parent. This is caused by an off-by-one error in 'harden-below-nxdomain' logic; enabled by default. It effectively bypasses the configuration and the configured stub/forward zone is never contacted. 'harden-below-nxdomain' does an upward DNS cache walk together with a delegation point guard that does not allow NXDOMAIN synthesis above stub/forward zones. The guard tests the domain name but before stripping a label. This results in an iteration where the domain name equals the configured stub/forward zone apex that passes the guard, strips one more label, and probes the cache at the apex's immediate public parent. If that parent has a cached DNSSEC-secure NXDOMAIN, which it will for any private namespace nested two or more labels under a signed public name, the walk returns it and the configured stub/forward upstream is never contacted. This can only be triggered by the query for the intermediate label (between the stub/forward apex and the DNSSEC parent zone).","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00327,"percentile":0.18227,"provenance":"source"},"cwes":[{"id":"CWE-193","name":"Off-by-one Error"}],"references":[{"url":"https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-44687.txt","tags":["vendor-advisory"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":3.65},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"nlnet-labs","affectedVersions":[{"vendor":"NLnet Labs","product":"Unbound","versions":[">= 1.13.2, < 1.25.2"]}],"solutions":{"items":["This issue is fixed starting with version 1.25.2"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-22T14:19:38.843549Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-47668","exploited":false,"provenance":"source"}}