# CVE-2021-44847: A stack-based buffer overflow in handlerequest function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an imp…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 4.13%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-13T00:53:26.000Z
- Modified: 2026-06-17T04:12:53.087Z
- Weaknesses: CWE-682
- Assigned by: mitre

## Description

A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12 (caused by an improper length calculation during the handling of received network packets) allows remote attackers to crash the process or potentially execute arbitrary code via a network packet.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- toktok toxcore: from 0.1.9 up to 0.1.11; from 0.2.0 up to 0.2.12
- fedoraproject fedora: 34; 35

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/TokTok/c-toxcore/pull/1718> (exploit, issue-tracking, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S7EBS3NIRYJ7V3PTNINP3PJSVUHGZTGA/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZLTKINSPO5T65LB3ZASDPCREKUE22RYE/> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-44847](https://www.cve.org/CVERecord?id=CVE-2021-44847), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-44847](https://nvd.nist.gov/vuln/detail/CVE-2021-44847), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-44847 · Whole record: https://cve.day/CVE-2021-44847.json · Rebuilt by cve.day 2026-11-25T22:24:36.209Z
