CVE-2026-32792: CWE-166: Improper Handling of Missing Special Element in NLnet Labs Unbound
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.
AI Analysis
Technical Summary
CVE-2026-32792 describes a denial of service vulnerability in NLnet Labs Unbound (versions 1.6.2 through 1.25.0) when compiled with DNSCrypt support enabled. The vulnerability arises from improper handling of a missing special element in DNSCrypt queries. Specifically, if a DNSCrypt query's decrypted plaintext consists entirely of zero bytes and lacks the expected 0x80 marker, Unbound's DNSCrypt packet reading procedure may underflow and read beyond the intended buffer. This can lead to a heap overflow depending on the underlying memory allocator and layout, potentially causing a crash. If the heap overflow does not occur, Unbound's packet validation will reject the malformed packet. The issue is addressed in Unbound version 1.25.1 by bounding the read operations within the buffer limits.
Potential Impact
The vulnerability can cause a denial of service by crashing the Unbound DNS resolver when processing a malicious DNSCrypt query. The likelihood of exploitation causing a crash is low and dependent on memory allocator behavior. There is no indication of remote code execution or data corruption beyond the denial of service. No known exploits are reported in the wild.
Mitigation Recommendations
Unbound version 1.25.1 contains an official fix that bounds the reading within the buffer space to prevent the heap overflow. Users should upgrade to version 1.25.1 or later to remediate this vulnerability. Since no other remediation level or patch links are provided, check the vendor advisory for the latest updates. If upgrading is not immediately possible, disabling DNSCrypt support ('--enable-dnscrypt') can mitigate exposure to this issue.
CVE-2026-32792: CWE-166: Improper Handling of Missing Special Element in NLnet Labs Unbound
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-32792 describes a denial of service vulnerability in NLnet Labs Unbound (versions 1.6.2 through 1.25.0) when compiled with DNSCrypt support enabled. The vulnerability arises from improper handling of a missing special element in DNSCrypt queries. Specifically, if a DNSCrypt query's decrypted plaintext consists entirely of zero bytes and lacks the expected 0x80 marker, Unbound's DNSCrypt packet reading procedure may underflow and read beyond the intended buffer. This can lead to a heap overflow depending on the underlying memory allocator and layout, potentially causing a crash. If the heap overflow does not occur, Unbound's packet validation will reject the malformed packet. The issue is addressed in Unbound version 1.25.1 by bounding the read operations within the buffer limits.
Potential Impact
The vulnerability can cause a denial of service by crashing the Unbound DNS resolver when processing a malicious DNSCrypt query. The likelihood of exploitation causing a crash is low and dependent on memory allocator behavior. There is no indication of remote code execution or data corruption beyond the denial of service. No known exploits are reported in the wild.
Mitigation Recommendations
Unbound version 1.25.1 contains an official fix that bounds the reading within the buffer space to prevent the heap overflow. Users should upgrade to version 1.25.1 or later to remediate this vulnerability. Since no other remediation level or patch links are provided, check the vendor advisory for the latest updates. If upgrading is not immediately possible, disabling DNSCrypt support ('--enable-dnscrypt') can mitigate exposure to this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- NLnet Labs
- Date Reserved
- 2026-05-07T10:07:51.839Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0d86fdba1db4736270ee4d
Added to database: 5/20/2026, 10:03:41 AM
Last enriched: 5/20/2026, 10:20:17 AM
Last updated: 5/20/2026, 3:44:56 PM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.