# CVE-2026-5947: SIG(0) validation during query flood may lead to undefined behavior

- Severity: High 7.5 (CVSS:3.1, scored by isc) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.39%, higher than 73% of CVEs (2026-12-01)
- Published: 2026-05-20T13:10:11.873Z
- Modified: 2026-09-01T12:05:00.589Z
- Weaknesses: CWE-362, CWE-367, CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: isc

## 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.

(As written by CVE List.)

## Affected

- ISC BIND 9: from 9.20.0 up to 9.20.22; from 9.21.0 up to 9.21.21; from 9.20.9-S1 up to 9.20.22-S1 (not affected: from 9.18.28 up to 9.18.49; from 9.18.28-S1 up to 9.18.49-S1)
- bind-main: no versions given (not affected: from 9.18.48-1.1.hum1 before *)
- bind: no versions given
- bind9.16: no versions given
- bind9.18: no versions given
- dhcp: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- isc bind: from 9.20.0 before 9.20.23; from 9.21.0 before 9.21.22

## Every score

- isc: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://kb.isc.org/docs/cve-2026-5947> (vendor-advisory)
- <https://downloads.isc.org/isc/bind9/9.20.23> (patch)
- <https://downloads.isc.org/isc/bind9/9.21.22> (patch)
- <https://access.redhat.com/security/cve/CVE-2026-5947> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2479772> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5947.json>
- <https://access.redhat.com/errata/RHSA-2026:7412> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-5947](https://www.cve.org/CVERecord?id=CVE-2026-5947), CVE Terms of Use, modified 2026-09-01
- NVD: [CVE-2026-5947](https://nvd.nist.gov/vuln/detail/CVE-2026-5947), Public domain, modified 2026-08-24

---

Page: https://cve.day/CVE-2026-5947 · Whole record: https://cve.day/CVE-2026-5947.json · Rebuilt by cve.day 2026-11-25T22:59:22.045Z
