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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-05T16:06:00.745Z
- Modified: 2026-11-05T21:18:54.760Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ntop ntopng: < 6.7.260721

## References

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

## Sources

- CVE List: [CVE-2026-97371](https://www.cve.org/CVERecord?id=CVE-2026-97371), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-97371](https://nvd.nist.gov/vuln/detail/CVE-2026-97371), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-97371 · Whole record: https://cve.day/CVE-2026-97371.json · Rebuilt by cve.day 2026-11-25T22:59:49.140Z
