Impact
Unbound 1.7.0 through 1.25.1 contains a misconfiguration bug that triggers a memory corruption when the number of dnscrypt-provider-cert files exceeds the number of matching dnscrypt-secret-key files. The uninitialized memory is filled with 0xdb bytes; an attacker can send a single UDP datagram of at least 68 bytes whose first eight bytes are 0xdb to the dnscrypt port, causing Unbound to dereference garbage data and crash. This flaw is a classic uninitialized variable use (CWE‑457) and results in a silent crash without any authentication or privilege requirements.
Affected Systems
The vulnerability affects NLnet Labs Unbound versions 1.7.0 up to 1.25.1 when DNSCrypt support is enabled through the --enable-dnscrypt flag. The problem is mitigated in Unbound 1.25.2 and later.
Risk and Exploitability
The CVSS score is 5.9, indicating moderate severity. EPSS score is < 1%, indicating a very low probability of exploitation, and the issue is not listed in the CISA KEV catalog. The attack vector is remote, relying on an unauthenticated UDP packet sent to the dnscrypt port. An attacker only needs to craft a packet with the specific byte pattern; no authentication or privilege requirements are needed. While the exploitation is feasible, no publicly disclosed exploits are known, and the server crash does not allow further compromise beyond denial‑of‑service.
OpenCVE Enrichment