CVE-2025-40777: A possible assertion failure when 'stale-answer-client-timeout' is set to '0'

Published Jul 16, 2025
·
Updated

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 Software

1 affected component
ISC BIND 9>=9.20.0<=9.20.10, >=9.21.0<=9.21.9, >=9.20.9-S1<=9.20.10-S1

Remediation

Information

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.

Event History

Jul 16, 2025
CVE Published
via MITRE·05:38 PM
Data Sourced
via MITRE·05:38 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-40777?

CVE-2025-40777 is classified as a medium severity vulnerability affecting ISC BIND.

2

How do I fix CVE-2025-40777?

To fix CVE-2025-40777, you should update your ISC BIND installation to a version that is not affected, specifically beyond the specified vulnerable versions.

3

What versions of ISC BIND are affected by CVE-2025-40777?

CVE-2025-40777 affects ISC BIND versions 9.20.0 through 9.20.10, 9.21.0 through 9.21.9, and 9.20.9-S1.

4

What is the impact of CVE-2025-40777 on DNS resolution?

CVE-2025-40777 can lead to stale DNS answers being served, potentially causing inaccurate or outdated DNS records to be cached.

5

Can I disable features to mitigate CVE-2025-40777?

While disabling the 'serve-stale-enable' option could provide a temporary workaround, the best practice is to upgrade to a non-vulnerable version of ISC BIND.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203