Skip to main content

n2n Supernode EUVDEUVD-2026-134477

| CVE-2026-136404 CRITICAL
Stack-based Buffer Overflow (CWE-121)
2026-11-24 VulnCheck GHSA-6m96-96jm-r9r3
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Reach supernode over network
  2. Delivery
    Register edge in chosen community
  3. Exploit
    Send REGISTER_SUPER_NAK with oversized token_size
  4. Install
    Overflow stack buffer in decode path
  5. C2
    Leak canaries and pointers
  6. Execute
    Overwrite return address
  7. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 2.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n2n 3.0 ≤3.1.1

Affected Packages

euvd n2n no fix

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

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
2.0%
Top 19% exploitable
Prevalence
Low
niche open-source peer-to-peer VPN, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 2.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Ntop

View all
CVE-2020-11939 CRITICAL POC
9.8 Apr 23

In nDPI through 3.2 Stable, the SSH protocol dissector has multiple KEXINIT integer overflows that result in a controlle

CVE-2020-15473 CRITICAL POC
9.1 Jul 01

In nDPI through 3.2, the OpenVPN dissector is vulnerable to a heap-based buffer over-read in ndpi_search_openvpn in lib/

CVE-2020-15471 CRITICAL POC
9.1 Jul 01

In nDPI through 3.2, the packet parsing code is vulnerable to a heap-based buffer over-read in ndpi_parse_packet_line_in

CVE-2014-5464 MEDIUM POC
4.3 Sep 08

Cross-site scripting (XSS) vulnerability in the nDPI traffic classification library in ntopng (aka ntop) before 1.2.1 al

CVE-2017-5473 HIGH POC
8.8 Jan 14

Cross-site request forgery (CSRF) vulnerability in ntopng through 2.4 allows remote attackers to hijack the authenticati

CVE-2021-36082 HIGH POC
8.8 Jul 01

ntop nDPI 3.4 has a stack-based buffer overflow in processClientServerHello. Rated high severity (CVSS 8.8), this vulner

CVE-2018-12520 HIGH POC
8.1 Jul 05

An issue was discovered in ntopng 3.4 before 3.4.180617. Rated high severity (CVSS 8.1), this vulnerability is remotely

CVE-2020-15476 HIGH POC
7.5 Jul 01

In nDPI through 3.2, the Oracle protocol dissector has a heap-based buffer over-read in ndpi_search_oracle in lib/protoc

CVE-2020-11940 HIGH POC
7.5 Apr 23

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

CVE-2015-8368 MEDIUM POC
6.0 Dec 17

ntopng (aka ntop) before 2.2 allows remote authenticated users to change the login context and gain privileges via the u

CVE-2020-15475 CRITICAL
9.8 Jul 01

In nDPI through 3.2, ndpi_reset_packet_line_info in lib/ndpi_main.c omits certain reinitialization, leading to a use-aft

CVE-2020-15474 CRITICAL
9.8 Jul 01

In nDPI through 3.2, there is a stack overflow in extractRDNSequence in lib/protocols/tls.c. Rated critical severity (CV

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy