CVE-2026-136404: ntop n2n 3.0 through 3.1.1 Stack Buffer Overflow via REGISTER_SUPER_NAK token_size
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-24
Description
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.
Enclave's analysis
ntop's n2n supernode overflows a 48-byte stack buffer because it trusts an attacker-set 16-bit token_size field in REGISTER_SUPER_NAK packets. No authentication is needed on default installs: register an edge in any community, then send the oversized packet to leak memory or hijack control flow. The bug's finder describes achieving memory leaks and code execution, though no public exploit code or in-the-wild use has surfaced. No official release carries the fix yet — only an unreleased dev-branch commit — so every packaged n2n build stays exposed.
Fix
Upgrade ntop n2n (supernode) to No tagged release contains the fix; only an unreleased dev-branch commit (854fbbe) addresses it. No fixed version is listed for n2n; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| n2n | 3.0 through 3.1.1 | Not listed |
| ntop n2n (supernode) | 3.0 through 3.1.1 | No tagged release contains the fix; only an unreleased dev-branch commit (854fbbe) addresses it |