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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-07-16 · Modified: 2025-11-04
- Aliases: ALPINE-CVE-2025-40777, SUSE-SU-2025:02349-1, UBUNTU-CVE-2025-40777, USN-7641-1, DEBIAN-CVE-2025-40777, CGA-f4wf-67mc-pqf6, CGA-xxhq-56rm-827h, openSUSE-SU-2025:15354-1
- Record: https://cvemate.com/vulnerability/CVE-2025-40777 · JSON: https://cvemate.com/vulnerability/CVE-2025-40777/json

## 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.
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.025%, percentile 64.689%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine bind (Alpine Linux): \< 9.20.11-r0
- chainguard bind-dnssec-root (Chainguard): All versions (No fix recorded)
- wolfi bind-dnssec-root (Wolfi): All versions (No fix recorded)
- debian bind9 (Debian): All versions (No fix recorded) \| \< 1:9.20.11-1
- ubuntu bind9 (Ubuntu): \< 1:9.20.4-3ubuntu1.2
- isc bind 9: ≥ 9.20.0, ≤ 9.20.10 \| ≥ 9.21.0, ≤ 9.21.9 \| ≥ 9.20.9-S1, ≤ 9.20.10-S1
- opensuse bind&distro=openSUSE Tumbleweed (openSUSE): \< 9.20.11-1.1
- suse bind&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7 (SUSE Linux Enterprise): \< 9.20.11-150700.3.6.1
- suse bind&distro=SUSE Linux Enterprise Module for Server Applications 15 SP7 (SUSE Linux Enterprise): \< 9.20.11-150700.3.6.1

## References

- <https://kb.isc.org/docs/cve-2025-40777>
- <http://www.openwall.com/lists/oss-security/2025/07/16/6>
- <https://security.alpinelinux.org/vuln/CVE-2025-40777>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202502349-1/>
- <https://bugzilla.suse.com/1246548>
- <https://www.suse.com/security/cve/CVE-2025-40777>
- <https://ubuntu.com/security/CVE-2025-40777>
- <https://www.cve.org/CVERecord?id=CVE-2025-40777>
- <https://ubuntu.com/security/notices/USN-7641-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-40777>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-40777>

---

Data as of 2026-12-05T09:35:11.783Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
