CVE-2018-25022: The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed, which allows a re
CVE-2018-25022 is a low-severity flaw (CVSS 3.1) affecting toxcore. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 Pin
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 3.1 (Low) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.6% (top 25%) |
| CISA exploited list | No |
| Weakness | CWE-200 |
| Published | 2021-12-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-25022?
toxcore: upgrade to 0.2.2. Exact commands for each OS are on this page.
Is CVE-2018-25022 being exploited?
CVE-2018-25022 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-25022 affect?
CVE-2018-25022 affects toxcore. Severity is low (CVSS 3.1). 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
How urgent is CVE-2018-25022?
Priority 35/100. Public exploit reference
Related CVEs
- CVE-2021-44847 CRITICAL 9.8 UPGRADE MITIGATE 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 th
- CVE-2018-25021 HIGH 7.5 UPGRADE The TCP Server module in toxcore before 0.2.8 doesn't free the TCP priority queue under certain conditions, wh