Skip to content
OpenAdvisories
High · 7.5 CVE-2025-40777 EUVD-2025-21736GHSA-4x4c-8qp9-8ggh

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

Published Jul 16, 2025 · Updated Nov 4, 2025 · Assigned by isc

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.

Affected products

VendorProductAffectedFixed
ISC BIND 9 9.20.0 – ≤ 9.20.10, 9.21.0 – ≤ 9.21.9, 9.20.9-S1 – ≤ 9.20.10-S1 9.18.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 bind9 1:9.20.11-1 —
Debian 13 bind9 1:9.20.11-1 —
ReleasePackageFixed inAdvisory
Ubuntu 25.04 bind9 1:9.20.4-3ubuntu1.2 USN-7641-1
ReleasePackageFixed inAdvisory
SLES 15 SP7 bind 9.20.11-150700.3.6.1 SUSE-SU-2025:02349-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bind 9.20.11-1.1 openSUSE-SU-2025:15354-1
ReleasePackageFixed inAdvisory
Alpine v3.24 bind 9.20.11-r0 —
Alpine v3.23 bind 9.20.11-r0 —
Alpine v3.22 bind 9.20.11-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 bind +7 32:9.18.33-1.amzn2023.0.3 ALAS2023-2025-1105

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 bind 9.20.15-1 —

Advisories 5

References