CVE-2025-40777

Name
CVE-2025-40777
Description
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
vendor-advisory https://kb.isc.org/docs/cve-2025-40777
af854a3a-2127-422b-91ae-364da2661108 http://www.openwall.com/lists/oss-security/2025/07/16/6

Match rules

CPE URI Source package Min version Max version
bind-9 >= 9.20.0 <= 9.20.10
bind-9 >= 9.21.0 <= 9.21.9
bind-9 >= 9.20.9-S1 <= 9.20.10-S1
bind-9 >= 9.18.0 <= 9.18.37
bind-9 >= 9.18.11-S1 <= 9.18.37-S1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
bind edge-main 9.20.11-r0 Mike Crute <mike@crute.us> fixed
bind 3.22-main 9.20.11-r0 Mike Crute <mike@crute.us> fixed