CVE-2021-44847
A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2021-44847- 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 - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-682
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-44847- Updated
- 2026-11-02
EUVDEUVD-2021-31650 No score
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.
- Record
EUVD-2021-31650- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-62pr-4hg6-fwph
9.8
A stack-based buffer overflow in handle_request function in DHT.c in toxcore 0.1.9 through 0.1.11...
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.
- Record
GHSA-62pr-4hg6-fwph- 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 - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2021-44847- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-44847
9.8
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.
- Record
DEBIAN-CVE-2021-44847- 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 - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2021-44847
9.8
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.
- Record
UBUNTU-CVE-2021-44847- 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 - Updated
- 2026-11-02
OSVMGASA-2021-0596 No score
Updated toxcore packages fix security vulnerability
stack-based buffer overflow in handle_request() in DHT.c (CVE-2021-44847)
- Record
MGASA-2021-0596- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:1640-1 No score
Security update for c-toxcore
c-toxcore was updated fo fix a securiy issue:
- CVE-2021-44847: Fixed a buffer overflow in handle_request in DHT.c which could lead to remote DoS and potential code execution (boo#1193667)
- Record
openSUSE-SU-2021:1640-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11846-1 No score
qtox-1.17.4-1.1 on GA media
These are all security issues fixed in the qtox-1.17.4-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11846-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libtoxcoreDebian:12 |
before 0.2.13-1 | 0.2.13-1 |
libtoxcoreDebian:13 |
before 0.2.13-1 | 0.2.13-1 |
libtoxcoreDebian:14 |
before 0.2.13-1 | 0.2.13-1 |
toxcoreMageia:8 |
before 0.2.12-1.1.mga8 | 0.2.12-1.1.mga8 |
libtoxcoreUbuntu:20.04:LTS |
All versions, plus listed versions 0.2.10-1build2 |
None known |
libtoxcoreUbuntu:22.04:LTS |
before 0.2.13-1, plus listed versions 0.2.12-10.2.12-1build1 |
0.2.13-1 |
c-toxcoreSUSE:Package Hub 15 SP1 |
before 0.2.13-bp153.2.3.1 | 0.2.13-bp153.2.3.1 |
c-toxcoreSUSE:Package Hub 15 SP2 |
before 0.2.13-bp153.2.3.1 | 0.2.13-bp153.2.3.1 |
c-toxcoreSUSE:Package Hub 15 SP3 |
before 0.2.13-bp153.2.3.1 | 0.2.13-bp153.2.3.1 |
c-toxcoreopenSUSE:Leap 15.2 |
before 0.2.13-bp153.2.3.1 | 0.2.13-bp153.2.3.1 |
c-toxcoreopenSUSE:Leap 15.3 |
before 0.2.13-bp153.2.3.1 | 0.2.13-bp153.2.3.1 |
qtoxopenSUSE:Tumbleweed |
before 1.17.4-1.1 | 1.17.4-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-44847 is a critical vulnerability (CVSS 9.8) in Toktok Toxcore, published December 13, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.13%, the 90th percentile. Fixed in libtoxcore 0.2.13-1.
References
github.com/TokTok/c-toxcore/pull/1718
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S7EBS3NIRYJ7V3PTNINP3PJSVUHGZTGA
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZLTKINSPO5T65LB3ZASDPCREKUE22RYE
nvd.nist.gov/vuln/detail/CVE-2021-44847
lists.fedoraproject.org/archives/list/[email protected]/message/S7EBS3NIRYJ7V3PTNINP3PJSVUHGZTGA
lists.fedoraproject.org/archives/list/[email protected]/message/ZLTKINSPO5T65LB3ZASDPCREKUE22RYE
Show 11 moreShow less
github.com/advisories/GHSA-62pr-4hg6-fwph
security-tracker.debian.org/tracker/CVE-2021-44847
advisories.mageia.org/MGASA-2021-0596.html
bugs.mageia.org/show_bug.cgi?id=29821
lists.fedoraproject.org/archives/list/[email protected]/thread/S7EBS3NIRYJ7V3PTNINP3PJSVUHGZTGA
ubuntu.com/security/CVE-2021-44847
blog.tox.chat/2021/12/stack-based-buffer-overflow-vulnerability-in-udp-packet-handling-in-toxcore-cve-2021-44847
cve.org/CVERecord?id=CVE-2021-44847
lists.opensuse.org/archives/list/[email protected]/thread/MUGBIA3IOPBRCHCVWXL5KMYQ6TB5Z5XI
bugzilla.suse.com/1193667
suse.com/security/cve/CVE-2021-44847