5.9medium
Degradation of resolution service when 'discard-timeout' and 'serve-expired-client-timeout' are combined in unusual configuration
- Severity
- 5.9medium CVSS:3.1 by NLnet Labs
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- NLnet Labs
Description
In NLnet Labs Unbound 1.20.0 up to and including 1.25.1, when Unbound is configured with 'serve-expired: yes' and 'serve-expired-client-timeout > discard-timeout > 0' (contrary to the suggested values), the discard-timeout branch during the serve expired logic drops an aged client reply without performing the correct accounting for the number of reply addresses for the query. Other identical branches outside of serve expired perform the correct decrement. Since the counter is never decremented in such scenario, it can reach the maximum limit and new clients for duplicate in-flight queries are silently dropped resulting in degradation of resolution service. A malicious actor can exploit the vulnerability by querying the resolver for a client-controlled slow-on-demand authoritative zone that can drive the counter past the threshold. Shipped defaults for 'serve-expired-client-timeout: 1800' and 'discard-timeout: 1900' make the branch unreachable.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| NLnet Labs Unbound | from 1.20.0 before 1.25.2 | CVE List |
| nlnetlabs unbound | from 1.20.0 before 1.25.2 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
In NLnet Labs Unbound 1.20.0 up to and including 1.25.1, when Unbound is configured with 'serve-expired: yes' and 'serve-expired-client-timeout > discard-timeout > 0' (contrary to the suggested values), the discard-timeout branch during the serve expired logic drops an aged client reply without performing the correct accounting for the number of reply addresses for the query. Other identical branches outside of serve expired perform the correct decrement. Since the counter is never decremented in such scenario, it can reach the maximum limit and new clients for duplicate in-flight queries are silently dropped resulting in degradation of resolution service. A malicious actor can exploit the vulnerability by querying the resolver for a client-controlled slow-on-demand authoritative zone that can drive the counter past the threshold. Shipped defaults for 'serve-expired-client-timeout: 1800' and 'discard-timeout: 1900' make the branch unreachable.
NVD (es)
En NLnet Labs Unbound 1.20.0 hasta la versión 1.25.1 inclusive, cuando Unbound está configurado con ’serve-expired: yes’ y ’serve-expired-client-timeout > discard-timeout > 0’ (contrariamente a los valores sugeridos), la rama de ’discard-timeout’ durante la lógica de ’serve expired’ descarta una respuesta de cliente antigua sin realizar la contabilidad correcta para el número de direcciones de respuesta para la consulta. Otras ramas idénticas fuera de ’serve expired’ realizan el decremento correcto. Dado que el contador nunca se decrementa en tal escenario, puede alcanzar el límite máximo y los nuevos clientes para consultas duplicadas en curso se descartan silenciosamente, lo que resulta en una degradación del servicio de resolución. Un actor malicioso puede explotar la vulnerabilidad consultando el resolvedor para una zona autoritativa de respuesta lenta bajo demanda controlada por el cliente que puede llevar el contador más allá del umbral. Los valores predeterminados de fábrica para ’serve-expired-client-timeout: 1800’ y ’discard-timeout: 1900’ hacen que la rama sea inalcanzable.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-56444 changed 2026-07-22 | CVE Terms of Use |
| NVD | CVE-2026-56444 changed 2026-10-24 | Public domain |