
CVE catalog
CVE-2018-25022
libtoxcore: CVE-2018-25022
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.55% · Oct 25, 2026
The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed, which allows a remote attacker to discover a target user's IP address (when knowing only their Tox Id) by positioning themselves close to target's Tox Id in the DHT for the target to establish an onion connection with the attacker, guessing the target's DHT public key and creating a DHT node with public key close to it, and finally onion-routing a NAT Ping Request to the target, requesting it to ping the just created DHT node.
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 |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libtoxcore | source | sid | 0.2.2-1 | not yet assigned | Not reported | Not reported |
| Debian | libtoxcore | source | forky | 0.2.2-1 | not yet assigned | Not reported | Not reported |
| Debian | libtoxcore | source | trixie | 0.2.2-1 | not yet assigned | Not reported | Not reported |
| Debian | libtoxcore | source | bookworm | 0.2.2-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libtoxcore2]Fixed
Source package: [libtoxcore]
Details (2)
0.2.18-1· amd64 · bookwormFixed · Fixed:
0.2.2-1dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12
0.2.18-1· arm64 · bookwormFixed · Fixed:
0.2.2-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.2-1dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12
0.2.18-1· arm64 · bookwormFixed · Fixed:
0.2.2-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.2-1dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12
0.2.18-1· arm64 · bookwormFixed · Fixed:
0.2.2-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.2-1dsa · libtoxcore · debian · 13
0.2.20-1· arm64 · trixieFixed · Fixed:
0.2.2-1dsa · libtoxcore · debian · 13
- [libtoxcore-dev]Fixed
Source package: [libtoxcore]
Details (2)
0.2.20-1· amd64 · trixieFixed · Fixed:
0.2.2-1dsa · libtoxcore · debian · 13
0.2.20-1· arm64 · trixieFixed · Fixed:
0.2.2-1dsa · libtoxcore · debian · 13
- [toxcore-utils]Fixed
Source package: [libtoxcore]
Details (2)
0.2.20-1· amd64 · trixieFixed · Fixed:
0.2.2-1dsa · libtoxcore · debian · 13
0.2.20-1· arm64 · trixieFixed · Fixed:
0.2.2-1dsa · libtoxcore · debian · 13
Observed: