ntop n2n 3.0 through 3.1.1 Stack Buffer Overflow via REGISTER_SUPER_NAK token_size
- State
- Published
- Severity
- 9.3 Critical
- Published
- Nov 24, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 24, 2026
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.
| Product | Versions |
|---|---|
| n2n ntop | 3.0 through 3.1.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 9.3 Critical | VulnCheck | |
| 3.1 | 9.8 Critical | VulnCheck |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
References
- https://github.com/ntop/n2n/pull/1243Issue TrackerPatch
- https://github.com/ntop/n2n/commit/854fbbe01bbf131bf4cb88f8450d7084267668e1Patch
- https://github.com/ntop/n2n/blob/a6f94564f2d6aaad925254590329c274058a53e5/src/sn_utils.c#L2309-L2344Technical Details
- https://github.com/ntop/n2n/blob/a6f94564f2d6aaad925254590329c274058a53e5/src/wire.c#L649-L679Technical Details
- VulnCheck Advisory: ntop n2n 3.0 through 3.1.1 Stack Buffer Overflow via REGISTER_SUPER_NAK token_sizeThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.