On this page (7 sections)
A critical flaw has been published in the supernode component of ntop n2n. According to the NVD record, supernode versions 3.0 through 3.1.1 contain a stack-based buffer overflow that a remote, unauthenticated attacker can trigger with crafted network messages.
If you run an n2n supernode on a server that can be reached from untrusted networks, you should treat this as urgent. The sections below cover what is known, what is not, and how to reduce exposure.
What happened
The vulnerability was published on 2026-11-24. The NVD entry describes a flaw in how the supernode handles a 16-bit authentication token size field inside REGISTER_SUPER_NAK datagrams. The supernode trusts that value without validating it, so an oversized number can lead to memory being read and written beyond the intended buffer on the stack.
Only one independent publisher covers this story so far, and the technical description comes from the NVD entry. Treat details beyond that description as unconfirmed until the project or other researchers publish more.
Technical details in plain terms
A stack buffer overflow happens when a program copies more data into a fixed-size area of memory than it can hold, and the excess spills into neighboring data. On the stack, that neighboring data includes saved return addresses, which control where the program continues running. Protections such as stack canaries (secret values placed to detect overwrites) make exploitation harder, but they can be defeated if an attacker can first read them from memory.
According to the NVD description, this flaw combines both problems. An attacker can first register an edge in a community of their choosing. They can then send a REGISTER_SUPER_NAK datagram with an oversized token size. The record says this can be used to:
- leak memory contents, including stack canaries and pointers,
- overwrite the return address, which can lead to code execution,
- or crash the supernode, causing a denial of service.
The weakness is classified as CWE-121 and scored CVSS 9.3. The record as provided does not say who assigned the score or give the vector string, so we only report the number as listed. This article does not include exploit details beyond what the record states.
Who is affected
The stated scope is the supernode component of ntop n2n, versions 3.0 through 3.1.1. As a general assumption (not a sourced fact), a supernode that is reachable from the internet or other untrusted networks is the most exposed. Realistic risk groups include:
- Administrators who run their own supernode on a VPS or dedicated server.
- Agencies and hosting providers who use n2n to reach customer or management networks.
- Anyone running a packaged or bundled n2n supernode inside a container, appliance or home-lab image, where the version may not be obvious.
The record does not describe plain n2n edge clients as affected. Because the attacker only needs to register an edge in a community of their choosing, per the record, do not rely on community settings as a mitigation. The record does not detail what registration requires.
How to check your exposure
First find out whether you run a supernode at all, and which version. Confirm the version from your install source, your deployment notes, the container image tag or the n2n project documentation. We cannot confirm that the supernode binary prints its version in its help output, so do not rely on that.
If you installed from a distribution package, you can query the package manager. This read-only command lists installed packages with n2n in the name on Debian and Ubuntu; check the version column against the affected range 3.0 through 3.1.1. Package names vary, so search rather than assuming a name.
dpkg -l | grep -i n2nThe equivalent read-only query on RHEL and derivatives lists matching installed packages and their versions.
rpm -qa | grep -i n2nThen check whether a supernode process is listening and on which interface. This lists UDP listeners and the owning process; look for supernode bound to a public address.
ss -lunpWhat to do now
The research does not name a fixed release. The NVD record links to an n2n commit and pull request, and a VulnCheck advisory, but the sources do not say that these contain the fix, so review them and the project's releases yourself before relying on them.
- Inventory every n2n supernode you run, including containers and appliances, and note the version.
- Check the n2n project releases and the linked commit and pull request for a fixed build, and upgrade as soon as one is confirmed.
- Restrict who can reach the supernode with a firewall allowlist of known edge addresses where your setup allows it.
- If the supernode is not needed right now, stop it until you can patch.
- Run the supernode as an unprivileged user, separate from other services, to limit the impact of a compromise.
- Review logs for unexpected crashes or restarts of the supernode process, which could indicate attempted exploitation.
- If you suspect a compromise, treat the host as untrusted: rotate community keys and any credentials stored on it, and rebuild from a clean image.
If your supernode runs as a systemd service, this command stops it. The service name may differ on your system, so confirm it first.
sudo systemctl stop supernodeDetection and monitoring
Exploitation status is unconfirmed: the sources report no exploitation, and the record shows no CISA KEV listing. That can change quickly for a critical, unauthenticated network bug, so watch for signs of abuse.
- Repeated supernode crashes or restarts, visible in service manager logs.
- Unknown edges or communities appearing in your supernode's logs.
- Unexpected outbound connections or new processes on the supernode host.
- Unusual traffic volume to the supernode from addresses you do not recognize.
On systemd hosts, this read-only command shows the last 100 log lines from the past week for the supernode unit. Adjust the unit name if yours differs, and look for crashes, restarts or unfamiliar activity.
journalctl -u supernode --since "7 days ago" | tail -n 100A network-level view helps too. Running an external scan of hosts you control can show which ports are open to the internet, and certificate and DNS monitoring can alert you if a server you depend on changes unexpectedly. Neither replaces patching the supernode itself.
For wider hardening of internet-facing services, see the small business website security guide.
What is still unknown
- The first fixed version is not stated in the research.
- No public exploitation reports are included in the sources, and the CVE is not marked in CISA KEV in the record.
- The CVSS vector and the party that assigned the 9.3 score are not given.
- Whether registering an edge requires any credentials beyond network access is not detailed in the record.
We will update this article if the n2n project or other researchers publish a fixed release or confirm exploitation.
Sources
This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.
