
CVE catalog
CVE-2021-44847
libtoxcore: CVE-2021-44847
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 4.13% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libtoxcore | sid | 0.2.22-1 | fixed |
| Debian | libtoxcore | forky | 0.2.22-1 | fixed |
| Debian | libtoxcore | trixie | 0.2.20-1 | fixed |
| Debian | libtoxcore | bookworm | 0.2.18-1 | fixed |
| Ubuntu | libtoxcore | 20.04 | 0.2.10-1build2 | vulnerable |
| Ubuntu | libtoxcore | 22.04 | 0.2.12-1 | vulnerable |
| Ubuntu | libtoxcore | 22.04 | 0.2.12-1build1 | vulnerable |
| Ubuntu | libtoxcore | 22.04 | 0.2.13-1 | fixed |
| Suse | c-toxcore | package hub 15 sp1 | 0.2.13-bp153.2.3.1 | fixed |
| Suse | c-toxcore | package hub 15 sp2 | 0.2.13-bp153.2.3.1 | fixed |
| Suse | c-toxcore | package hub 15 sp3 | 0.2.13-bp153.2.3.1 | fixed |
| Opensuse | c-toxcore | leap 15.2 | 0.2.13-bp153.2.3.1 | fixed |
| Opensuse | c-toxcore | leap 15.3 | 0.2.13-bp153.2.3.1 | fixed |
| Opensuse | qtox | tumbleweed | 1.17.4-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libtoxcore | source | sid | 0.2.13-1 | not yet assigned | Not reported | [1001711] |
| Debian | libtoxcore | source | forky | 0.2.13-1 | not yet assigned | Not reported | [1001711] |
| Debian | libtoxcore | source | trixie | 0.2.13-1 | not yet assigned | Not reported | [1001711] |
| Debian | libtoxcore | source | bookworm | 0.2.13-1 | not yet assigned | Not reported | [1001711] |
| Ubuntu | libtoxcore | deb | 22.04 | 0.2.13-1 | Not reported | UBUNTU-CVE-2021-44847 | Not reported |
| Suse | c-toxcore | rpm | package hub 15 sp1 | 0.2.13-bp153.2.3.1 | Not reported | OPENSUSE-SU-2021:1640-1 | Not reported |
| Suse | c-toxcore | rpm | package hub 15 sp2 | 0.2.13-bp153.2.3.1 | Not reported | OPENSUSE-SU-2021:1640-1 | Not reported |
| Suse | c-toxcore | rpm | package hub 15 sp3 | 0.2.13-bp153.2.3.1 | Not reported | OPENSUSE-SU-2021:1640-1 | Not reported |
| Opensuse | c-toxcore | rpm | leap 15.2 | 0.2.13-bp153.2.3.1 | Not reported | OPENSUSE-SU-2021:1640-1 | Not reported |
| Opensuse | c-toxcore | rpm | leap 15.3 | 0.2.13-bp153.2.3.1 | Not reported | OPENSUSE-SU-2021:1640-1 | Not reported |
| Opensuse | qtox | rpm | tumbleweed | 1.17.4-1.1 | Not reported | OPENSUSE-SU-2024:11846-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libtoxcore2]Fixed
Source package: [libtoxcore]
Details (2)
0.2.18-1· amd64 · bookwormFixed · Fixed:
0.2.13-1dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12
0.2.18-1· arm64 · bookwormFixed · Fixed:
0.2.13-1dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12
- [libtoxcore-dev]Fixed
Source package: [libtoxcore]
Details (2)
0.2.18-1· amd64 · bookwormFixed · Fixed:
0.2.13-1dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12
0.2.18-1· arm64 · bookwormFixed · Fixed:
0.2.13-1dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12
- [toxcore-utils]Fixed
Source package: [libtoxcore]
Details (2)
0.2.18-1· amd64 · bookwormFixed · Fixed:
0.2.13-1dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12
0.2.18-1· arm64 · bookwormFixed · Fixed:
0.2.13-1dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12
[Debian 13 (Trixie)]
- [libtoxcore2]Fixed
Source package: [libtoxcore]
Details (2)
0.2.20-1· amd64 · trixieFixed · Fixed:
0.2.13-1dsa · libtoxcore · debian · 13
0.2.20-1· arm64 · trixieFixed · Fixed:
0.2.13-1dsa · libtoxcore · debian · 13
- [libtoxcore-dev]Fixed
Source package: [libtoxcore]
Details (2)
0.2.20-1· amd64 · trixieFixed · Fixed:
0.2.13-1dsa · libtoxcore · debian · 13
0.2.20-1· arm64 · trixieFixed · Fixed:
0.2.13-1dsa · libtoxcore · debian · 13
- [toxcore-utils]Fixed
Source package: [libtoxcore]
Details (2)
0.2.20-1· amd64 · trixieFixed · Fixed:
0.2.13-1dsa · libtoxcore · debian · 13
0.2.20-1· arm64 · trixieFixed · Fixed:
0.2.13-1dsa · libtoxcore · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2021_1640-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-44847]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-44847]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:1640-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11846-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-44847]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]