Original description
Undefined behavior may result due to a race condition leading to a use-after-free violation. If BIND receives an incoming DNS message signed with SIG(0), it begins work to validate that signature. If, during that validation, the "recursive-clients" limit is reached (as would occur during a query flood), and that same DNS message is discarded per the limit, there is a brief window of time while the SIG(0) validation may attempt to read the now-discarded DNS message. This issue affects BIND 9 versions 9.20.0 through 9.20.22, 9.21.0 through 9.21.21, and 9.20.9-S1 through 9.20.22-S1. BIND 9 versions 9.18.28 through 9.18.49 and 9.18.28-S1 through 9.18.49-S1 are NOT affected.
Affected software
- BIND 9 ≥ 9.20.0 < 9.20.23≥ 9.21.0 < 9.21.22 Fixed in: 9.20.23, 9.21.22 exact match
Details
- Published
- 2026-05-20
- Last modified
- 2026-08-24
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-362, CWE-416, CWE-367
- EPSS (30-day exploit probability)
- 1.39% (percentile 73)
References
- cve.org/CVE-2026-5947
- nvd.nist.gov/vuln/detail/CVE-2026-5947
- downloads.isc.org/isc/bind9/9.20.23
- downloads.isc.org/isc/bind9/9.21.22
- kb.isc.org/docs/cve-2026-5947
- access.redhat.com/errata/RHSA-2026:7412
- access.redhat.com/security/cve/CVE-2026-5947
- bugzilla.redhat.com/show_bug.cgi?id=2479772
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5947.json
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.