CVE-2026-136404
CVE-2026-136404 · ntop n2n 3.0 through 3.1.1 Stack Buffer Overflow via REGISTER_SUPER_NAK token_size
CVSS 9.3 · Critical · EPSS 2.0% · Public exploit
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- n2nNo fix published
- n2n Ubuntu 16.04 LTSNo fix published
- n2n Ubuntu 18.04 LTSNo fix published
- n2n Ubuntu 20.04 LTSNo fix published
- and 4 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="n2n"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
n2n
- Versions
- ≥ 3.0, ≤ 3.1.1: Affected (custom)
No fix published
n2n Ubuntu 16.04 LTS
- Versions
- 1.3.1~svn3789-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
n2n Ubuntu 18.04 LTS
- Versions
- 1.3.1~svn3789-5
- 1.3.1~svn3789-5build1
- 1.3.1~svn3789-6
- 1.3.1~svn3789-7
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
n2n Ubuntu 20.04 LTS
- Versions
- 1.3.1~svn3789-7
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
n2n Ubuntu 22.04 LTS
- Versions
- 1.3.1~svn3789-7
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
n2n Ubuntu 24.04 LTS
- Versions
- 1.3.1~svn3789-7
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
n2n Ubuntu 26.10
- Versions
- 1.3.1~svn3789-7build1
- 3.1.1-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
n2n Ubuntu 26.04 LTS
- Versions
- 1.3.1~svn3789-7
- 1.3.1~svn3789-7build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/ntop/n2n/pull/1243
- https://github.com/ntop/n2n/commit/854fbbe01bbf131bf4cb88f8450d7084267668e1
- https://github.com/ntop/n2n/blob/a6f94564f2d6aaad925254590329c274058a53e5/src/sn_utils.c#L2309-L2344
- https://github.com/ntop/n2n/blob/a6f94564f2d6aaad925254590329c274058a53e5/src/wire.c#L649-L679
- https://www.vulncheck.com/advisories/ntop-n2n-3.0-through-3.1.1-stack-buffer-overflow-via-register-super-nak-token-size
- https://nvd.nist.gov/vuln/detail/CVE-2026-136404