CVE catalog

CVE-2018-25022

libtoxcore: CVE-2018-25022

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianlibtoxcoresid0.2.22-1fixed
Debianlibtoxcoreforky0.2.22-1fixed
Debianlibtoxcoretrixie0.2.20-1fixed
Debianlibtoxcorebookworm0.2.18-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibtoxcoresourcesid0.2.2-1not yet assignedNot reportedNot reported
Debianlibtoxcoresourceforky0.2.2-1not yet assignedNot reportedNot reported
Debianlibtoxcoresourcetrixie0.2.2-1not yet assignedNot reportedNot reported
Debianlibtoxcoresourcebookworm0.2.2-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [libtoxcore]

    Details (2)
    • 0.2.18-1 · amd64 · bookworm

      Fixed · Fixed: 0.2.2-1

      dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12

    • 0.2.18-1 · arm64 · bookworm

      Fixed · Fixed: 0.2.2-1

      dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12

  • Source package: [libtoxcore]

    Details (2)
    • 0.2.18-1 · amd64 · bookworm

      Fixed · Fixed: 0.2.2-1

      dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12

    • 0.2.18-1 · arm64 · bookworm

      Fixed · Fixed: 0.2.2-1

      dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12

  • Source package: [libtoxcore]

    Details (2)
    • 0.2.18-1 · amd64 · bookworm

      Fixed · Fixed: 0.2.2-1

      dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12

    • 0.2.18-1 · arm64 · bookworm

      Fixed · Fixed: 0.2.2-1

      dsa · libtoxcore · debian · bookworm; dsa · libtoxcore · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libtoxcore]

    Details (2)
    • 0.2.20-1 · amd64 · trixie

      Fixed · Fixed: 0.2.2-1

      dsa · libtoxcore · debian · 13

    • 0.2.20-1 · arm64 · trixie

      Fixed · Fixed: 0.2.2-1

      dsa · libtoxcore · debian · 13

  • Source package: [libtoxcore]

    Details (2)
    • 0.2.20-1 · amd64 · trixie

      Fixed · Fixed: 0.2.2-1

      dsa · libtoxcore · debian · 13

    • 0.2.20-1 · arm64 · trixie

      Fixed · Fixed: 0.2.2-1

      dsa · libtoxcore · debian · 13

  • Source package: [libtoxcore]

    Details (2)
    • 0.2.20-1 · amd64 · trixie

      Fixed · Fixed: 0.2.2-1

      dsa · libtoxcore · debian · 13

    • 0.2.20-1 · arm64 · trixie

      Fixed · Fixed: 0.2.2-1

      dsa · libtoxcore · debian · 13

Observed:

References