CVE-2021-25216: A second vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack
CVE-2021-25216 is not on CISA's Known Exploited Vulnerabilities list as of 4 December 2026, but EPSS estimates a 83.0% chance of exploitation attempts in the next 30 days, higher than 99.7% of all scored vulnerabilities.
- Exploited in real attacks
- Not confirmed by CISA as of 4 December 2026
- Public exploit code
- None found in Exploit-DB, Metasploit or Nuclei
- Chance of exploitation (EPSS)
- 83.0% in the next 30 days, higher than 99.7% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 8.1 High (version 3.1)
- Affects
- ISC BIND9
- Published
- 29 April 2021
What it is
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.
Description from the CVE record.
Is CVE-2021-25216 being exploited?
CVE-2021-25216 is not in CISA's catalog, which currently lists 1,814 vulnerabilities. That does not mean it is safe. The catalog only includes cases CISA has confirmed, and the EPSS model, which predicts exploitation from observed attack traffic and other signals, rates this one at 83.0%. Fewer than 1 in 100 scored vulnerabilities rate higher.
Affected products
- ISC BIND9: Open Source Branches 9.5 though 9.11 9.5.0 through versions ; Open Source Branches 9.12 though 9.16 9.12.0 through version; Supported Preview Branch 9.11-S 9.11.3-S1 through versions b; Supported Preview Branch 9.16-S 9.16.8-S1 through versions b; Development Branch 9.17 9.17.0 through versions before 9.17.
From the CVE record. Check the vendor advisory for the full list of fixed versions.
What to do
Apply the vendor's fix or mitigation, using the advisories in the sources below. Until it is patched, limit who can reach the affected system, especially from the internet.
How to check whether you are exposed
- Find every copy. List each place ISC BIND9 runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in BIND9. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Other tracked vulnerabilities in ISC products
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2015-5477 | ISC BIND | Public exploit | 99.6% | 29 July 2015 |
| CVE-2020-8617 | ISC BIND9 | Public exploit | 93.3% | 19 May 2020 |
| CVE-2017-3144 | ISC DHCP | No public exploit found | 72.7% | 16 January 2019 |
Sources
- CVE record for CVE-2021-25216
- NVD entry
- FIRST EPSS, scores dated 5 December 2026
- kb.isc.org (x_refsource_CONFIRM)
- www.openwall.com (mailing-list, x_refsource_MLIST)
- www.openwall.com (mailing-list, x_refsource_MLIST)
- www.openwall.com (mailing-list, x_refsource_MLIST)
- www.openwall.com (mailing-list, x_refsource_MLIST)
- www.debian.org (vendor-advisory, x_refsource_DEBIAN)
- lists.debian.org (mailing-list, x_refsource_MLIST)
- security.netapp.com (x_refsource_CONFIRM)
Machine-readable: /api/cve/CVE-2021-25216.json