CVE-2025-40777 A possible assertion failure when 'stale-answer-client-timeout' is set to '0'
HighCVSS 7.5
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Debian
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.
Upgrade path
7 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/bind(Alpine v3.22) | < 9.20.11-r0 | 9.20.11-r0 | Fixed |
| alpine/bind(Alpine v3.23) | < 9.20.11-r0 | 9.20.11-r0 | Fixed |
| alpine/bind(Alpine v3.24) | < 9.20.11-r0 | 9.20.11-r0 | Fixed |
| azure linux bind(Azure Linux 3.0) | < 9.20.15-1 | 9.20.15-1 | Fixed |
| debian/bind9(Debian 13) | < 1:9.20.11-1 | 1:9.20.11-1 | Fixed |
| debian/bind9(Debian 14) | < 1:9.20.11-1 | 1:9.20.11-1 | Fixed |
| isc BIND 9 | >= 9.20.0, <= 9.20.10; >= 9.20.9-S1, <= 9.20.10-S1; >= 9.21.0, <= 9.21.9 | after 9.20.10, 9.20.10-S1, 9.21.9 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux bind(Azure Linux:3.0) | < 9.20.15-1 | 9.20.15-1 |
| debian/bind9(Debian:13) | < 1:9.20.11-1 | 1:9.20.11-1 |
| debian/bind9(Debian:14) | < 1:9.20.11-1 | 1:9.20.11-1 |
| isc BIND 9 | >= 9.20.0, <= 9.20.10 | No fix listed |
| isc BIND 9 | >= 9.21.0, <= 9.21.9 | No fix listed |
| isc BIND 9 | >= 9.20.9-S1, <= 9.20.10-S1 | No fix listed |
| alpine/bind(Alpine:v3.22) | < 9.20.11-r0 | 9.20.11-r0 |
| alpine/bind(Alpine:v3.23) | < 9.20.11-r0 | 9.20.11-r0 |
| alpine/bind(Alpine:v3.24) | < 9.20.11-r0 | 9.20.11-r0 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-40777 vendor-advisory
- CVE-2025-40777 vendor-advisory
- www.openwall.com
- security.alpinelinux.org vendor-advisory