CVE-2026-55973

In NLnet Labs Unbound 1.23.0 up to and including 1.25.1, when 'dns-error-reporting: yes' is set, the EDNS Report-Channel option (code 18) from the last upstream response is read and uses the option's length as the length of the agent domain. When a domain name check is performed on the agent domain, the returned lenght is not used and if the agent domain is followed by garbage, those bytes are moved onto the tail of the synthetic '_er.' report query name. That query name is later used in the iterator via a subquery to send out the DNS Error Report and when Unbound tries to walk that query name during 'find_closest_of_type()', it strips labels using the query name length rather than stopping at the embedded root, walks one byte past it, and feeds the first garbage byte to 'dname_query_hash()' as a label length writing over the stack variable 'labuf'. One ordinary upstream response from a delegated zone the attacker controls is sufficient to terminate the daemon.
References
Configurations

Configuration 1 (hide)

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

History

24 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) En NLnet Labs Unbound 1.23.0 hasta la versión 1.25.1 inclusive, cuando se configura ’dns-error-reporting: yes’, se lee la opción EDNS Report-Channel (código 18) de la última respuesta ascendente y se utiliza la longitud de la opción como la longitud del dominio del agente. Cuando se realiza una verificación de nombre de dominio en el dominio del agente, la longitud devuelta no se utiliza y si el dominio del agente es seguido por datos basura, esos bytes se mueven a la cola del nombre de consulta de informe sintético ’_er.’. Ese nombre de consulta se utiliza posteriormente en el iterador a través de una subconsulta para enviar el Informe de Error de DNS y cuando Unbound intenta recorrer ese nombre de consulta durante ’find_closest_of_type()’, elimina etiquetas utilizando la longitud del nombre de consulta en lugar de detenerse en la raíz incrustada, avanza un byte más allá de ella, y alimenta el primer byte de datos basura a ’dname_query_hash()’ como una longitud de etiqueta, sobrescribiendo la variable de pila ’labuf’. Una respuesta ascendente ordinaria de una zona delegada que el atacante controla es suficiente para terminar el demonio.

Information

Published : 2026-07-22 14:17

Updated : 2026-10-24 13:10


NVD link : CVE-2026-55973

Mitre link : CVE-2026-55973

CVE.ORG link : CVE-2026-55973


JSON object : View

Products Affected

nlnetlabs

  • unbound
CWE
CWE-20

Improper Input Validation