CVE-2026-97371
Deferred Deferred - Pending Action

ntopng Stack-Based Buffer Overflow in Custom Category Matching

Vulnerability report for CVE-2026-97371, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-05

Last updated on: 2026-11-05

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-05
Last Modified
2026-11-05
Generated
2026-11-08
AI Q&A
2026-11-05
EPSS Evaluated
2026-11-06
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ntop ntopng < 6.7.260721

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-121 A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a stack-based buffer overflow in ntopng, a network traffic monitoring tool. The flaw occurs when the ndpi_get_custom_category_match function writes 4 bytes to a 2-byte variable in IpAddress::reloadBlacklist during packet processing. This causes stack corruption that can lead to denial of service or potentially remote code execution.

Detection Guidance

Monitor network traffic for crashes or unusual behavior in ntopng processes. Use tools like AddressSanitizer to detect memory corruption during packet processing. Check ntopng logs for segmentation faults or stack corruption errors.

Impact Analysis

An attacker on the same network segment can send specially crafted packets to trigger the overflow. This may crash the ntopng application, causing a denial of service. In some cases, it could allow remote code execution, though the primary impact is service disruption.

Compliance Impact

This vulnerability primarily impacts network monitoring systems by allowing denial of service through stack corruption. It does not directly affect compliance with GDPR or HIPAA as it is a technical flaw in packet processing rather than a data privacy issue. However, if exploited, it could disrupt network monitoring critical for detecting breaches or unauthorized access, potentially impacting compliance monitoring efforts.

Mitigation Strategies

Upgrade ntopng to version 6.7.260721 or later immediately. If upgrading is not possible, disable custom category matching rules in ntopng configuration to prevent the overflow condition.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-97371. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...