Home / ISC / BIND9 / CVE-2021-25216
CVE-2021-25216: is it exploited, and which versions of ISC BIND9 are affected and fixed?
CVE-2021-25216 is an out-of-bounds read vulnerability in ISC BIND9. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: BIND9 Open Source Branches 9.5 though 9.11 9.5.0 through versions before 9.11.31, BIND9 Open Source Branches 9.12 though 9.16 9.12.0 through versions before 9.16.14, BIND9 Supported Preview Branch 9.11-S 9.11.3-S1 through versions before 9.11.31-S1 and 2 more (CVE record by isc). Fixed in 9.11.31, 9.16.15, 9.17.12 and 1.0.1.1 (NVD). Severity: High (8.1, CVSS 3.1, from isc).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:58 UTC.
What is CVE-2021-25216?
A second vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack
In BIND 9.5.0 -> 9.11.29, 9.12.0 -> 9.16.13, and versions BIND 9.11.3-S1 -> 9.11.29-S1 and 9.16.8-S1 -> 9.16.13-S1 of BIND Supported Preview Edition, as well as release versions 9.17.0 -> 9.17.1 of the BIND 9.17 development branch, BIND servers are vulnerable if they are running an affected version and are configured to use GSS-TSIG features. In a configuration which uses BIND's default settings the vulnerable code path is not exposed, but a server can be rendered vulnerable by explicitly setting values for the tkey-gssapi-keytab or tkey-gssapi-credential configuration options. Although the default configuration is not vulnerable, GSS-TSIG is frequently used in networks where BIND is integrated with Samba, as well as in mixed-server environments that combine BIND servers with Active Directory domain controllers. For servers that meet these conditions, the ISC SPNEGO implementation is vulnerable to various attacks, depending on the CPU architecture for which BIND was built: For named binaries compiled for 64-bit platforms, this flaw can be used to trigger a buffer over-read, leading to a server crash. For named binaries compiled for 32-bit platforms, this flaw can be used to trigger a server crash due to a buffer overflow and possibly also to achieve remote code execution. We have determined that standard SPNEGO implementations are available in the MIT and Heimdal Kerberos libraries, which support a broad range of operating systems, rendering the ISC implementation unnecessary and obsolete. Therefore, to reduce the attack surface for BIND users, we will be removing the ISC SPNEGO implementation in the April releases of BIND 9.11 and 9.16 (it had already been dropped from BIND 9.17). We would not normally remove something from a stable ESV (Extended Support Version) of BIND, but since system libraries can replace the ISC SPNEGO implementation, we have made an exception in this case for reasons of stability and security.
From the CVE record by isc, last updated September 16, 2024, 22:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ISC | BIND9 | Open Source Branches 9.5 though 9.11 9.5.0 through versions before 9.11.31 Open Source Branches 9.12 though 9.16 9.12.0 through versions before 9.16.14 Supported Preview Branch 9.11-S 9.11.3-S1 through versions before 9.11.31-S1 Supported Preview Branch 9.16-S 9.16.8-S1 through versions before 9.16.14-S1 Development Branch 9.17 9.17.0 through versions before 9.17.2 |
As the CVE record by isc states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
| isc | bind | from 9.0.0 before 9.11.31 | application |
| isc | bind | from 9.12.0 before 9.16.15 | application |
| isc | bind | from 9.17.0 before 9.17.12 | application |
| isc | bind | 9.9.3 | application |
| isc | bind | 9.9.12 | application |
| isc | bind | 9.9.13 | application |
| isc | bind | 9.10.5 | application |
| isc | bind | 9.10.7 | application |
| isc | bind | 9.11.3 | application |
| isc | bind | 9.11.5 | application |
| isc | bind | 9.11.6 | application |
| isc | bind | 9.11.7 | application |
| isc | bind | 9.11.8 | application |
| isc | bind | 9.11.12 | application |
| isc | bind | 9.11.21 | application |
| isc | bind | 9.11.27 | application |
| isc | bind | 9.11.29 | application |
| isc | bind | 9.16.8 | application |
| isc | bind | 9.16.11 | application |
| isc | bind | 9.16.13 | application |
| siemens | sinec infrastructure network services | before 1.0.1.1 | application |
| netapp | active iq unified manager | all versions | application |
| netapp | cloud backup | all versions | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:41 UTC.
How severe is CVE-2021-25216?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | isc |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-25216 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 83.0% probability of exploitation activity in the next 30 days, percentile 99.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
How do I fix it? (from the CVE record)
Upgrade to the patched release most closely related to your current version of BIND: BIND 9.11.31 BIND 9.16.15 BIND 9.17.12 BIND Supported Preview Edition is a special feature preview branch of BIND provided to eligible ISC support customers. BIND 9.11.31-S1 BIND 9.16.15-S1
Is there a workaround? (from the CVE record)
This vulnerability only affects servers configured to use GSS-TSIG, most often to sign dynamic updates. If another mechanism can be used to authenticate updates, the vulnerability can be avoided by choosing not to enable the use of GSS-TSIG features. Prior to the April 2021 BIND releases, on some platforms it was possible to build a working BIND installation that was not vulnerable to CVE-2021-25216 by providing the --disable-isc-spnego command-line argument when running the ./configure script in the top level of the BIND source directory, before compiling and linking named. After the April 2021 BIND releases, all supported branches have removed isc-spnego support. This corrects CVE-2021-25216, but requires that the system have other libraries and header files to support GSS-TSIG functionality, unless such functionality is completely disabled at build time by providing the --without-gssapi argument to the ./configurescript when selecting build options.
Where are the vendor advisories and references?
- https://kb.isc.org/v1/docs/cve-2021-25215 x_refsource_CONFIRM
- [oss-security] 20210428 ISC discloses three BIND vulnerabilities (CVE-2021-25214, CVE-2021-25215, and CVE-2021-25216) mailing-list, x_refsource_MLIST
- [oss-security] 20210429 Re: ISC discloses three BIND vulnerabilities (CVE-2021-25214, CVE-2021-25215, and CVE-2021-25216) mailing-list, x_refsource_MLIST
- [oss-security] 20210429 Re: ISC discloses three BIND vulnerabilities (CVE-2021-25214, CVE-2021-25215, and CVE-2021-25216) mailing-list, x_refsource_MLIST
- [oss-security] 20210429 Re: ISC discloses three BIND vulnerabilities (CVE-2021-25214, CVE-2021-25215, and CVE-2021-25216) mailing-list, x_refsource_MLIST
- DSA-4909 vendor-advisory, x_refsource_DEBIAN
- [debian-lts-announce] 20210504 [SECURITY] [DLA 2647-1] bind9 security update mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20210521-0006/ x_refsource_CONFIRM
- https://www.zerodayinitiative.com/advisories/ZDI-21-657/ x_refsource_MISC
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf x_refsource_CONFIRM
Who found and reported it?
- ISC would like to thank an anonymous party, working in conjunction with Trend Micro Zero Day Initiative, for reporting this issue to us. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 15, 2021
- Published
- April 29, 2021, 00:55 UTC
- CVE record updated
- September 16, 2024, 22:25 UTC by isc
- NVD
- Modified, last modified June 17, 2026, 03:41 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect BIND9?
- Sep 21, 2022CVE-2022-38178 ISC BIND9: memory leak
- Sep 21, 2022CVE-2022-3080 ISC BIND9: session does not expire
- Sep 21, 2022CVE-2022-38177 ISC BIND9: memory leak
- Sep 21, 2022CVE-2022-2906 ISC BIND9: memory leak
- Sep 21, 2022CVE-2022-2881 ISC BIND9: out-of-bounds read
- Sep 21, 2022CVE-2022-2795 ISC BIND9: In BIND 9.0.0 -> 9.16.32, 9.18.0 -> 9.18.6, versions 9.9.3-S1 -> 9.11.37-S1, 9.16.8-S1 -> 9.16.32-S1 of the BIND Support
- May 19, 2022CVE-2022-1183 ISC BIND9: reachable assertion (crash)
- Oct 27, 2021CVE-2021-25219 ISC BIND9: Authoritative-only BIND 9 servers are NOT vulnerable to this flaw. The purpose of a resolver's lame cache is to ensure t
Questions about CVE-2021-25216
Is CVE-2021-25216 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 83.0% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of ISC BIND9 are affected by CVE-2021-25216?
BIND9 Open Source Branches 9.5 though 9.11 9.5.0 through versions before 9.11.31, BIND9 Open Source Branches 9.12 though 9.16 9.12.0 through versions before 9.16.14, BIND9 Supported Preview Branch 9.11-S 9.11.3-S1 through versions before 9.11.31-S1, BIND9 Supported Preview Branch 9.16-S 9.16.8-S1 through versions before 9.16.14-S1 and BIND9 Development Branch 9.17 9.17.0 through versions before 9.17.2, per the CVE record by isc. The tables above give every range the sources list.
Which version fixes CVE-2021-25216?
9.11.31, 9.16.15, 9.17.12 and 1.0.1.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-25216?
High (8.1, CVSS 3.1, from isc). The severity table above shows each score with its source.
Where is the official record of CVE-2021-25216?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.