5.9medium
'serve-expired-client-timeout' and 'response-ip' CNAME redirect could lead to a crash
- Severity
- 5.9medium CVSS:3.1 by NLnet Labs
- Exploit likelihood
- 0.36% (higher than 23% of CVEs)
- Published
- Last changed
- Assigned by
- NLnet Labs
Description
In NLnet Labs Unbound 1.10.0 up to and including 1.25.1, when 'serve-expired: yes' is set together with a 'response-ip: <net> redirect' /'response-ip-data: <net> CNAME <target>' rule (or the RPZ 'rpz-cname-override' equivalent), a remote client who controls any delegated domain can crash the daemon. The serve-expired-client-timeout callback runs a two-pass loop to chase the respip-generated CNAME alias; on the second pass it resets 'alias_rrset' but not 'partial_rep'. Later, this inconsistency leads to a NULL pointer dereference and an eventual crash. A malicious actor can exploit the vulnerability by controlling any zone that replies with an A/AAAA record that falls inside the configured response-ip/rpz subnet. By delaying the answer when the previous record has expired, the vulnerable path of 'serve-expired-client-timeout' is taken leading to denial of service via the server crash.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| NLnet Labs Unbound | from 1.10.0 before 1.25.2 | CVE List |
| nlnetlabs unbound | from 1.10.0 before 1.25.2 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In NLnet Labs Unbound 1.10.0 up to and including 1.25.1, when 'serve-expired: yes' is set together with a 'response-ip: <net> redirect' /'response-ip-data: <net> CNAME <target>' rule (or the RPZ 'rpz-cname-override' equivalent), a remote client who controls any delegated domain can crash the daemon. The serve-expired-client-timeout callback runs a two-pass loop to chase the respip-generated CNAME alias; on the second pass it resets 'alias_rrset' but not 'partial_rep'. Later, this inconsistency leads to a NULL pointer dereference and an eventual crash. A malicious actor can exploit the vulnerability by controlling any zone that replies with an A/AAAA record that falls inside the configured response-ip/rpz subnet. By delaying the answer when the previous record has expired, the vulnerable path of 'serve-expired-client-timeout' is taken leading to denial of service via the server crash.
NVD (es)
En NLnet Labs Unbound 1.10.0 hasta la versión 1.25.1 inclusive, cuando se configura ’serve-expired: yes’ junto con una regla ’response-ip: [net] redirect’ / ’response-ip-data: [net] CNAME [target]’ (o su equivalente RPZ ’rpz-cname-override’), un cliente remoto que controla cualquier dominio delegado puede provocar la caída del demonio. La función de callback serve-expired-client-timeout ejecuta un bucle de dos pasadas para seguir el alias CNAME generado por respip; en la segunda pasada, reinicia ’alias_rrset’ pero no ’partial_rep’. Posteriormente, esta inconsistencia conduce a una desreferencia de puntero NULL y a una caída eventual. Un actor malicioso puede explotar la vulnerabilidad controlando cualquier zona que responda con un registro A/AAAA que se encuentre dentro de la subred response-ip/rpz configurada. Al retrasar la respuesta cuando el registro anterior ha expirado, se toma la ruta vulnerable de ’serve-expired-client-timeout’, lo que lleva a una denegación de servicio a través de la caída del servidor.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-55717 changed 2026-07-22 | CVE Terms of Use |
| NVD | CVE-2026-55717 changed 2026-10-24 | Public domain |