CVE-2018-25021: The TCP Server module in toxcore before 0.2.8 doesn't free the TCP priority queue under certain conditions, wh
CVE-2018-25021 is a high-severity flaw (CVSS 7.5) affecting toxcore. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The TCP Server module in toxcore before 0.2.8 doesn't free the TCP priority queue under certain conditions, which allows a remote attacker to exhaust the system's memory, causing a denial of service (DoS).
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.3% (top 16%) |
| CISA exploited list | No |
| Weakness | CWE-404 |
| 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-25021?
toxcore: upgrade to 0.2.8. Exact commands for each OS are on this page.
Is CVE-2018-25021 being exploited?
CVE-2018-25021 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-25021 affect?
CVE-2018-25021 affects toxcore. Severity is high (CVSS 7.5). The TCP Server module in toxcore before 0.2.8 doesn't free the TCP priority queue under certain conditions, which allows a remote attacker to exhaust the system's memory, causing a denial of service (DoS).
How urgent is CVE-2018-25021?
Priority 57/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
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-25022 LOW 3.1 UPGRADE The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed, which allows a re