PoC Monitor
← All CVEs
CVE-2025-40777published 16 Jul 2025 17:38 UTCData: JSON · API

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-617
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

ISC BIND 9
  • >= 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

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published16 Jul 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.