Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2018-25022 on Ubuntu — libtoxcore

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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.

Distribution advisory

This page covers CVE-2018-25022 as tracked by Ubuntu, for the package libtoxcore. The fix is available in version 0.2.10-1build2; earlier versions remain affected.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is high, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: High — the attacker first has to win a race, learn a secret or otherwise prepare the target.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: Low — limited, and the attacker does not choose what is affected.
  • Integrity impact: None.
  • Availability impact: None.

Affected software

UBUNTU-CVE-2018-25022 is recorded against 1 package.

  • libtoxcore (fixed in 0.2.10-1build2)

Timeline and source

Published on 13 December 2021 and last revised on 16 July 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

ubuntu.com (Report)
blog.tox.chat (Report)
github.com (Report)
github.com (Report)
www.cve.org (Report)

Other advisories for this package

libtoxcore has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2018-25022 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2021-12-13
Updated 2026-08-20
Modified 2025-07-16
Fix URL N/A

Affected Packages

Software From version Fixed in
libtoxcore — 0.2.10-1build2

Free Vulnerability Check

Is your site affected by UBUNTU-CVE-2018-25022?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against UBUNTU-CVE-2018-25022 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesUbuntu
✓