Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-25021

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).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-25021
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:25 UTC · Revision 1

Source evidence

CVE-2018-25021

core-osv · Original source

Published 13 Dec 2021, 01:15 UTC

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).

osv:CVE-2018-25021
Complete source record
{
  "id": "98bf6a698c68aa6d782b41222f7ee7d7b3336610cad64fb315f902886e358607",
  "url": "https://osv.dev/vulnerability/CVE-2018-25021",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-25021",
    "summary": "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).",
    "evidence": "osv:CVE-2018-25021",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-25021",
      "aliases": [
        "CVE-2018-25021"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/toktok/c-toxcore",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3f35a84968f100e1e6d3c9df467fd3c82a9ebb13"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:toktok:toxcore:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.2.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "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": [
              {
                "id": "CVE-2018-25021-61a6fc34",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "284809006286680919427161787392807523022",
                    "129043644459132106917369119903605255834",
                    "183095706840729272751797894355802956212",
                    "333577374693175214850873859112633988887"
                  ]
                },
                "source": "https://github.com/toktok/c-toxcore/commit/3f35a84968f100e1e6d3c9df467fd3c82a9ebb13",
                "target": {
                  "file": "toxcore/tox.api.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:30:47Z"
          }
        }
      ],
      "modified": "2026-10-20T13:30:47.286290581Z",
      "provider": "osv",
      "references": [
        "https://blog.tox.chat/2018/10/memory-leak-bug-and-new-toxcore-release-fixing-it/",
        "https://github.com/TokTok/c-toxcore/pull/1216",
        "https://github.com/TokTok/c-toxcore/issues/1214"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-25021",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387763,
  "published_at": "2021-12-13T01:15:07.533+00:00"
}