CVE-2025-40777

A possible assertion failure when 'stale-answer-client-timeout' is set to '0'

State
Published
Severity
7.5 High
Published
Jul 16, 2025
Updated
Nov 4, 2025
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hisc

Weaknesses

Affected Products

ProductVersions
BIND 9ISC
  • 9.20.0 through 9.20.10Affected
  • 9.21.0 through 9.21.9Affected
  • 9.20.9-S1 through 9.20.10-S1Affected
  • 9.18.0 through 9.18.37Not affected
  • 9.18.11-S1 through 9.18.37-S1Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.