SIG(0) validation during query flood may lead to undefined behavior
Summary
| CVE | CVE-2026-5947 |
|---|---|
| State | PUBLISHED |
| Assigner | isc |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-20 13:16:40 UTC |
| Updated | 2026-05-21 15:24:32 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.000440000 probability, percentile 0.135710000 (date 2026-05-27)
Problem Types: CWE-362 | CWE-416 | CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | CWE-416 CWE-416 Use After Free
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | ISC | BIND 9 | affected 9.20.0 9.20.22 custom | Not specified |
| CNA | ISC | BIND 9 | affected 9.21.0 9.21.21 custom | Not specified |
| CNA | ISC | BIND 9 | affected 9.20.9-S1 9.20.22-S1 custom | Not specified |
| CNA | ISC | BIND 9 | unaffected 9.18.28 9.18.49 custom | Not specified |
| CNA | ISC | BIND 9 | unaffected 9.18.28-S1 9.18.49-S1 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| downloads.isc.org/isc/bind9/9.21.22 | [email protected] | downloads.isc.org | Patch |
| kb.isc.org/docs/cve-2026-5947 | [email protected] | kb.isc.org | Vendor Advisory |
| downloads.isc.org/isc/bind9/9.20.23 | [email protected] | downloads.isc.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: ISC would like to thank Naoki Wakamatsu for bringing this vulnerability to our attention. (en)
Additional Advisory Data
Solutions
CNA: Upgrade to the patched release most closely related to your current version of BIND 9: 9.20.23, 9.21.22, or 9.20.23-S1.
Workarounds
CNA: No workarounds known.
Exploits
CNA: We are not aware of any active exploits.
There are currently no legacy QID mappings associated with this CVE.