ISC BIND 9
A possible assertion failure when 'stale-answer-client-timeout' is set to '0'
If a `named` caching resolver is configured with `serve-stale-enable` `yes`, and with `stale-answer-client-timeout` set to `0` (the only allowable value other than `disabled`), and if the resolver, in the process of resolving a query, encounters a CNAME chain involving a specific combination of cached or authoritative records, the daemon will abort with an assertion failure. This issue affects BIND 9 versions 9.20.0 through 9.20.10, 9.21.0 through 9.21.9, and 9.20.9-S1 through 9.20.10-S1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9.20.0, <= 9.20.10
- >= 9.21.0, <= 9.21.9
- >= 9.20.9-S1, <= 9.20.10-S1
Fixed in 9.18.0, 9.18.11-S1
Mitigation
Upgrade to the patched release most closely related to your current version of BIND 9: 9.20.11, 9.21.10, or 9.20.11-S1.
Workaround
Setting either of `stale-answer-client-timeout off;` or `stale-answer-enable no;` in the configuration file will prevent the assertion.
References
- Vendor advisory kb.isc.org/docs/cve-2025-40777
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.