# CVE-2020-36562: Uncontrolled Resource Consumption in github.com/shiyanhui/dht

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `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): 0.84%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-14T20:04:52.000Z
- Modified: 2026-06-17T03:15:44.507Z
- Also known as: GHSA-p6fg-723f-hgpw, GO-2020-0040
- Weaknesses: CWE-400, CWE-617
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: Go

## Description

Due to unchecked type assertions, maliciously crafted messages can cause panics, which may be used as a denial of service vector.

(As written by CVE List.)

## Affected

- github.com/shiyanhui/dht: no versions given
- github.com/shiyanhui/dht (Go): up to 0.0.0-20201219151056-5a20f3199263; all versions
- dht_project dht: no versions given

## Every score

- CISA-ADP: 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`
- GitHub: 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 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/shiyanhui/dht/issues/57> (exploit, issue-tracking, third-party-advisory, web)
- <https://pkg.go.dev/vuln/GO-2020-0040> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-36562> (advisory)
- <https://github.com/shiyanhui/dht> (package)

## Sources

- CVE List: [CVE-2020-36562](https://www.cve.org/CVERecord?id=CVE-2020-36562), CVE Terms of Use, modified 2025-04-11
- GitHub Advisory Database: [GHSA-p6fg-723f-hgpw](https://github.com/advisories/GHSA-p6fg-723f-hgpw), CC-BY-4.0, modified 2023-11-08
- Go Vulnerability Database: [GO-2020-0040](https://pkg.go.dev/vuln/GO-2020-0040), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2020-36562](https://nvd.nist.gov/vuln/detail/CVE-2020-36562), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-36562 · Whole record: https://cve.day/CVE-2020-36562.json · Rebuilt by cve.day 2026-11-25T22:57:58.779Z
