CVE-2026-32792: Packet of death with DNSCrypt
NLnet Labs Unbound 1.6.2 up to and including version 1.25.0 has a denial of service vulnerability when compiled with DNSCrypt support ('--enable-dnscrypt'). A bad DNSCrypt query could underflow Unbound's DNSCrypt packet reading procedure that may lead to heap overflow. A malicious actor can exploit the vulnerability with a single bad DNSCrypt query that its decrypted plaintext consists entirely of '0x00' bytes and does not contain the expected '0x80' marker. Unbound would then start reading more bytes than necessary until it finds a non-'0x00' byte. Based on the underlying memory allocator and the memory layout, it could lead to heap overflow while reading followed by a crash. Likelihood of a crash is low, since it relies heavily on the underlying memory allocator and the memory layout. If the heap overflow does not happen, Unbound's later packet checks will deny the packet. Unbound 1.25.1 contains a patch with a fix to bound reading in the given buffer space.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.25.1 - Configuration
If you cannot immediately upgrade to Unbound 1.25.1, rebuild Unbound without DNSCrypt support (do not compile with '--enable-dnscrypt') to avoid the vulnerable DNSCrypt packet reading procedure.
Unbound DNSCrypt support (compiled with --enable-dnscrypt) --enable-dnscrypt = disabled
Event History
Frequently Asked Questions
What is the severity of CVE-2026-32792?
CVE-2026-32792 is classified as a denial of service vulnerability that can potentially lead to service disruption.
How do I fix CVE-2026-32792?
To address CVE-2026-32792, it is recommended to update NLnet Labs Unbound to a version beyond 1.25.0.
What software is affected by CVE-2026-32792?
CVE-2026-32792 affects NLnet Labs Unbound versions from 1.6.2 up to and including 1.25.0 when compiled with DNSCrypt support.
What type of vulnerability is CVE-2026-32792?
CVE-2026-32792 is a denial of service vulnerability that occurs due to a bad DNSCrypt query leading to a potential heap overflow.
Is CVE-2026-32792 exploitable remotely?
Yes, CVE-2026-32792 can be exploited remotely through malicious DNSCrypt queries.