{"id":"CVE-2025-40777","published":"2025-07-16T17:38:06Z","modified":"2025-11-04T21:10:12Z","title":"A possible assertion failure when 'stale-answer-client-timeout' is set to '0'","vendor":"ISC","product":"BIND 9","tier":"tail","description":{"text":"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.\nThis 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00849,"percentile":0.5558,"provenance":"source"},"cwes":[{"id":"CWE-617","name":"Reachable Assertion"}],"references":[{"url":"https://kb.isc.org/docs/cve-2025-40777","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2025/07/16/6","tags":[]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":11.12},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"isc","affectedVersions":[{"vendor":"ISC","product":"BIND 9","versions":[">= 9.20.0, <= 9.20.10",">= 9.21.0, <= 9.21.9",">= 9.20.9-S1, <= 9.20.10-S1"]}],"solutions":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Setting either of `stale-answer-client-timeout off;` or `stale-answer-enable no;` in the configuration file will prevent the assertion."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-18T14:25:41.033326Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-21736","exploited":false,"provenance":"source"}}