# CVE-2020-8617: A logic error in code which checks TSIG validity can be used to trigger an assertion failure in tsig.c

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 93.33% (percentile 100, 2026-11-26)
- **CWE:** CWE-617
- **Aliases:** EDB-48521
- **Published:** 2020-05-19T14:05:16.241Z
- **Modified:** 2026-06-17T03:26:39.113Z

## Who should check

- Anyone running ISC BIND9 9.0.0 -\> 9.11.18, 9.12.0 -\> 9.12.4-P2, 9.14.0 -\> 9.14.11, 9.16.0 -\> 9.16.2, and releases 9.17.0 -\> 9.17.1 of the 9.17 experimental development branch. All releases in the obsolete 9.13 and 9.15 development branches. All releases of BIND Supported Preview Edition from 9.9.3-S1 -\> 9.11.18-S1

## Description

Using a specially-crafted message, an attacker may potentially cause a BIND server to reach an inconsistent state if the attacker knows (or successfully guesses) the name of a TSIG key used by the server. Since BIND, by default, configures a local session key even on servers whose configuration does not otherwise make use of it, almost all current BIND servers are vulnerable. In releases of BIND dating from March 2018 and after, an assertion check in tsig.c detects this inconsistent state and deliberately exits. Prior to the introduction of the check the server would continue operating in an inconsistent state, with potentially harmful results.

## Affected and fixed versions

- ISC BIND9: 9.0.0 -\> 9.11.18, 9.12.0 -\> 9.12.4-P2, 9.14.0 -\> 9.14.11, 9.16.0 -\> 9.16.2, and releases 9.17.0 -\> 9.17.1 of the 9.17 experimental development branch. All releases in the obsolete 9.13 and 9.15 development branches. All releases of BIND Supported Preview Edition from 9.9.3-S1 -\> 9.11.18-S1 (cvelist)

## Mitigation

- Vendor workaround: None known.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-8617. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-8617.md
Affected: ISC BIND9 9.0.0 -> 9.11.18, 9.12.0 -> 9.12.4-P2, 9.14.0 -> 9.14.11, 9.16.0 -> 9.16.2, and releases 9.17.0 -> 9.17.1 of the 9.17 experimental development branch. All releases in the obsolete 9.13 and 9.15 development branches. All releases of BIND Supported Preview Edition from 9.9.3-S1 -> 9.11.18-S1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for ISC BIND9: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-8617 being exploited?

There is no confirmed exploitation: CVE-2020-8617 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 93.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-8617?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2020-8617?

ISC BIND9 9.0.0 -\> 9.11.18, 9.12.0 -\> 9.12.4-P2, 9.14.0 -\> 9.14.11, 9.16.0 -\> 9.16.2, and releases 9.17.0 -\> 9.17.1 of the 9.17 experimental development branch. All releases in the obsolete 9.13 and 9.15 development branches. All releases of BIND Supported Preview Edition from 9.9.3-S1 -\> 9.11.18-S1.

### Is there a fix for CVE-2020-8617?

No fixed version is listed in the sources yet. Vendor workaround: None known.

### How do I check if I'm affected by CVE-2020-8617?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.debian.org/security/2020/dsa-4689>
- vendor: <https://usn.ubuntu.com/4365-2/>
- vendor: <https://usn.ubuntu.com/4365-1/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WOGCJS2XQ3SQNF4W6GLZ73LWZJ6ZZWZI/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JKJXVBOKZ36ER3EUCR7VRB7WGHIIMPNJ/>
- vendor: <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00041.html>
- vendor: <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00044.html>
- patch: <https://kb.isc.org/docs/cve-2020-8617>
- patch: <http://www.openwall.com/lists/oss-security/2020/05/19/4>
- exploit: <http://packetstormsecurity.com/files/157836/BIND-TSIG-Denial-Of-Service.html>
- exploit: <https://www.exploit-db.com/exploits/48521>
- other: <https://security.netapp.com/advisory/ntap-20200522-0002/>
- other: <https://lists.debian.org/debian-lts-announce/2020/05/msg00031.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-8617>
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/48521>

HTML: <https://flawdb.com/CVE-2020-8617> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-8617>
