{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.0"
                  },
                  {
                    "last_affected": "3.1.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "854fbbe01bbf131bf4cb88f8450d7084267668e1"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "66f557af97b9c2ad42537516101fd04df2639ef0"
            },
            {
              "last_affected": "ce998b986c633bc563835d8a3cc8f72a017b53d1"
            },
            {
              "fixed": "854fbbe01bbf131bf4cb88f8450d7084267668e1"
            }
          ],
          "repo": "https://github.com/ntop/n2n",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-121"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136404.json"
  },
  "details": "ntop n2n supernode 3.0 through 3.1.1 contains a stack-based buffer overflow vulnerability that allows remote unauthenticated attackers to leak memory and execute code by sending an untrusted 16-bit auth token_size in REGISTER_SUPER_NAK datagrams. Attackers can register an edge in a chosen community, then send an oversized token_size to leak stack canaries and pointers, overwrite the return address, or crash the supernode.",
  "id": "CVE-2026-136404",
  "modified": "2026-11-25T15:46:06.801892417Z",
  "published": "2026-11-24T18:45:56.359Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136404.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ntop/n2n"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/ntop/n2n/blob/a6f94564f2d6aaad925254590329c274058a53e5/src/sn_utils.c#L2309-L2344"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/ntop/n2n/blob/a6f94564f2d6aaad925254590329c274058a53e5/src/wire.c#L649-L679"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ntop/n2n/commit/854fbbe01bbf131bf4cb88f8450d7084267668e1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ntop/n2n/pull/1243"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-136404"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ntop-n2n-3.0-through-3.1.1-stack-buffer-overflow-via-register-super-nak-token-size"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ntop n2n 3.0 through 3.1.1 Stack Buffer Overflow via REGISTER_SUPER_NAK token_size"
}