Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

35
Routine
LOW 3.1UPGRADE

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 score3.1 (Low)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededLow
User interactionNone
EPSS exploit chance1.6% (top 25%)
CISA exploited listNo
WeaknessCWE-200
Published2021-12-13
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: toktok

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

toktok toxcore UPGRADE
Affected: < 0.2.2
Fixed in: 0.2.2
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy toxcore || rpm -q toxcore || toxcore --version
2. UPGRADE to 0.2.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade toxcore
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade toxcore
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.