{"id":"CVE-2018-25021","details":"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).","modified":"2026-07-08T16:40:59.372058Z","published":"2021-12-13T01:15:07.533Z","references":[{"type":"ADVISORY","url":"https://blog.tox.chat/2018/10/memory-leak-bug-and-new-toxcore-release-fixing-it/"},{"type":"ADVISORY","url":"https://github.com/TokTok/c-toxcore/pull/1216"},{"type":"EVIDENCE","url":"https://github.com/TokTok/c-toxcore/issues/1214"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/toktok/c-toxcore","events":[{"introduced":"0"},{"fixed":"3f35a84968f100e1e6d3c9df467fd3c82a9ebb13"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:toktok:toxcore:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.2.8"}]}}],"versions":["v0.2.7","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.11","v0.1.10","v0.1.9","v0.1.8","v0.1.7","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1","v0.1.0","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1","v0.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-25021.json","vanir_signatures_modified":"2026-07-08T16:40:59Z","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/toktok/c-toxcore/commit/3f35a84968f100e1e6d3c9df467fd3c82a9ebb13","target":{"file":"toxcore/tox.api.h"},"deprecated":false,"digest":{"line_hashes":["284809006286680919427161787392807523022","129043644459132106917369119903605255834","183095706840729272751797894355802956212","333577374693175214850873859112633988887"],"threshold":0.9},"id":"CVE-2018-25021-61a6fc34"}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}