Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReach supernode over network
-
DeliveryRegister edge in chosen community
-
ExploitSend REGISTER_SUPER_NAK with oversized token_size
-
InstallOverflow stack buffer in decode path
-
C2Leak canaries and pointers
-
ExecuteOverwrite return address
-
ImpactExecute code or crash supernode
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The supernode (n2n versions 3.0 through 3.1.1) must be network-reachable to the attacker, and the attacker must first register an edge in a chosen community - a standard, unauthenticated protocol step, not a credential barrier. The specific trigger is a REGISTER_SUPER_NAK datagram whose 16-bit auth token_size field exceeds the fixed-size auth.token destination buffer (unbounded before N2N_AUTH_MAX_TOKEN_SIZE checking was added); the same unvalidated token_size pattern also affected REGISTER_SUPER, UNREGISTER_SUPER, and REGISTER_SUPER_ACK decoders per the patch. Limiting factors: exploitation requires the attacker to reach a running supernode and the supernode to be an affected 3.0-3.1.1 build; there is no user-interaction or authentication requirement (UI:N/PR:N), so against an exposed affected supernode there is little else constraining exploitation. Reliable code execution additionally depends on the attacker leveraging the leaked stack canaries and pointers, though a crash (DoS) requires no such precision. |
| Impact | All severity signals align toward high priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity flaw requiring no authentication and no user interaction, with high confidentiality, integrity, and availability impact to the vulnerable system (VC:H/VI:H/VA:H), scoring 9.3. The vuln.today decision label is act_now, and the issue was reported by VulnCheck with a published advisory, reinforcing that this is treated as an operational priority rather than a high-CVSS-but-low-real-risk theoretical issue. The description is specific about the mechanism (an unvalidated 16-bit token_size in REGISTER_SUPER_NAK datagrams driving a stack-based copy), and the vendor patch (PR #1243) confirms the root cause by bounding token_size against N2N_AUTH_MAX_TOKEN_SIZE. No EPSS score, CISA KEV listing, or confirmed working public exploit was provided in the input, so there is no evidence of active exploitation or mass scanning at this time - the act_now rating here rests on the unauthenticated-RCE severity and vendor/VulnCheck attention, not on observed exploitation. The one friction point is that an attacker must first register an edge in a chosen community before sending the oversized token, which is a normal protocol step rather than an authentication barrier, consistent with PR:N. |
| Exploit ScenarioDerived | A remote unauthenticated attacker reachable to an n2n supernode (3.0-3.1.1) registers an edge in a chosen community, then sends a REGISTER_SUPER_NAK datagram carrying an oversized 16-bit token_size. The oversized copy first leaks stack canaries and pointers back to the attacker, defeating ASLR/stack-protector, and is then used to overwrite the return address for code execution, or simply to crash the supernode. No confirmed working public exploit was provided in the input, though VulnCheck has published an advisory and the vulnerable source lines are public. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Unauthenticated stack-based buffer overflow in ntop n2n supernode 3.0 through 3.1.1 can leak stack memory and may enable remote code execution by sending a crafted REGISTER_SUPER_NAK datagram with an oversized 16-bit auth token_size. An attacker can first register an edge in a chosen community, then use the oversized field to leak stack canaries and pointers, overwrite the return address, or crash the supernode; reliable code execution depends on using the leaked data, while denial of service does not. No public exploit is identified at time of analysis, and an upstream fix is available via PR/commit; this is an act_now priority for exposed affected supernodes.
RemediationAI
Apply the upstream fix from https://github.com/ntop/n2n/pull/1243, specifically commit 854fbbe01bbf131bf4cb88f8450d7084267668e1, which bounds auth.token_size against N2N_AUTH_MAX_TOKEN_SIZE in the affected decoders and adds a REGISTER_SUPER_ACK payload bound; confirm the deployed build includes these checks because an exact released patched version is not independently confirmed from the provided data. Also consult the vendor advisory at https://www.vulncheck.com/advisories/ntop-n2n-3.0-through-3.1.1-stack-buffer-overflow-via-register-super-nak-token-size. Because exploitation requires the supernode to be network-reachable and edge registration is a standard unauthenticated step, limiting registration traffic to trusted networks is a risk-reduction measure until the patched build is deployed, with the trade-off that legitimate edge registration from untrusted networks will be blocked.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is CWE-121 (stack-based buffer overflow) in n2n's wire-protocol decoders in src/wire.c. The 16-bit auth.token_size field read from REGISTER_SUPER_NAK datagrams was copied into the fixed-size auth.token destination without first checking it against N2N_AUTH_MAX_TOKEN_SIZE; the upstream patch adds that bound check. The same unvalidated token_size pattern affected REGISTER_SUPER, UNREGISTER_SUPER, and REGISTER_SUPER_ACK decoders per the patch, and REGISTER_SUPER_ACK also lacked a bound on num_sn relative to REG_SUPER_ACK_PAYLOAD_SPACE. The CPE cpe:2.3:a:ntop:n2n:*:*:*:*:*:*:*:* maps to the ntop n2n product, with affected supernode releases 3.0 through 3.1.1. The supernode is the network-facing component; registering an edge in a chosen community is a standard unauthenticated protocol step, so an exposed affected supernode has little prerequisite beyond network reachability, although reliable code execution requires successfully leveraging the leaked stack canaries and pointers.
Know when Ntop gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Remote, no auth and no user interaction since edge registration is an unauthenticated protocol step (AV:N/AC:L/PR:N/UI:N); overflow enables memory leak, return-address overwrite, and crash, giving full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
A critical unauthenticated vulnerability in ntop n2n supernode versions 3.0 through 3.1.1 allows remote attackers to potentially execute code or cause denial of service on exposed supernodes. Organizations relying on this product for network overlay infrastructure are at risk, as successful exploitation could lead to full compromise of the supernode and disruption of dependent services. Leadership should prioritize patching to prevent potential operational and security incidents.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
In nDPI through 3.2 Stable, the SSH protocol dissector has multiple KEXINIT integer overflows that result in a controlle
In nDPI through 3.2, the OpenVPN dissector is vulnerable to a heap-based buffer over-read in ndpi_search_openvpn in lib/
In nDPI through 3.2, the packet parsing code is vulnerable to a heap-based buffer over-read in ndpi_parse_packet_line_in
Cross-site scripting (XSS) vulnerability in the nDPI traffic classification library in ntopng (aka ntop) before 1.2.1 al
Cross-site request forgery (CSRF) vulnerability in ntopng through 2.4 allows remote attackers to hijack the authenticati
ntop nDPI 3.4 has a stack-based buffer overflow in processClientServerHello. Rated high severity (CVSS 8.8), this vulner
An issue was discovered in ntopng 3.4 before 3.4.180617. Rated high severity (CVSS 8.1), this vulnerability is remotely
In nDPI through 3.2, the Oracle protocol dissector has a heap-based buffer over-read in ndpi_search_oracle in lib/protoc
In nDPI through 3.2 Stable, an out-of-bounds read in concat_hash_string in ssh.c can be exploited by a network-positione
ntopng (aka ntop) before 2.2 allows remote authenticated users to change the login context and gain privileges via the u
In nDPI through 3.2, ndpi_reset_packet_line_info in lib/ndpi_main.c omits certain reinitialization, leading to a use-aft
In nDPI through 3.2, there is a stack overflow in extractRDNSequence in lib/protocols/tls.c. Rated critical severity (CV
EUVD-2026-134477
GHSA-6m96-96jm-r9r3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB