CVE-2026-32792

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.
References
Link Resource
https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-32792.txt Mitigation Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:nlnetlabs:unbound:*:*:*:*:*:*:*:*

History

24 Jul 2026, 10:10

Type Values Removed Values Added
Summary
  • (es) NLnet Labs Unbound 1.6.2 hasta e incluyendo la versión 1.25.0 tiene una vulnerabilidad de denegación de servicio cuando se compila con soporte para DNSCrypt ('--enable-dnscrypt'). Una consulta DNSCrypt incorrecta podría causar un underflow en el procedimiento de lectura de paquetes DNSCrypt de Unbound que puede llevar a un desbordamiento de montículo. Un actor malicioso puede explotar la vulnerabilidad con una única consulta DNSCrypt incorrecta cuyo texto plano descifrado consiste enteramente en bytes '0x00' y no contiene el marcador '0x80' esperado. Unbound entonces comenzaría a leer más bytes de los necesarios hasta que encuentre un byte que no sea '0x00'. Basado en el asignador de memoria subyacente y la disposición de la memoria, podría llevar a un desbordamiento de montículo durante la lectura seguido de un fallo. La probabilidad de un fallo es baja, ya que depende en gran medida del asignador de memoria subyacente y de la disposición de la memoria. Si el desbordamiento de montículo no ocurre, las comprobaciones posteriores de paquetes de Unbound denegarán el paquete. Unbound 1.25.1 contiene un parche con una corrección para limitar la lectura en el espacio de búfer dado.

20 May 2026, 22:44

Type Values Removed Values Added
CPE cpe:2.3:a:nlnetlabs:unbound:*:*:*:*:*:*:*:*
First Time Nlnetlabs
Nlnetlabs unbound
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
References () https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-32792.txt - () https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-32792.txt - Mitigation, Vendor Advisory

20 May 2026, 10:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-20 10:16

Updated : 2026-07-24 10:10


NVD link : CVE-2026-32792

Mitre link : CVE-2026-32792

CVE.ORG link : CVE-2026-32792


JSON object : View

Products Affected

nlnetlabs

  • unbound
CWE
CWE-125

Out-of-bounds Read

CWE-166

Improper Handling of Missing Special Element