CVE-2026-5947: BIND 9 - Use After Free
- Cve: CVE-2026-5947
- Name: BIND 9 - Use After Free
- 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.
- Impact: Attackers can cause undefined behavior or potential memory corruption leading to denial of service or code execution.
- Remediation: Update to a version later than 9.20.22, 9.21.21, or 9.20.22-S1 or latest available version.
- Vulnerability type: use_after_free
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01387
- Epss percentile: 0.72954
- Assignee: [email protected]
- Published at: 2026-05-20T13:16:40Z
- Age in days: 188
- Modified at: 2026-08-24T13:19:13Z
- Patch available: yes
- References total: 7
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-5947
- Nvd status: modified
- Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization |
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| isc:bind | >= 9.21.0, < 9.21.22; >= 9.20.0, < 9.20.23 | no | nvd | /v1/products/isc/bind |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts