{"id":"CVE-2026-97371","summary":"ntopng: Stack buffer overflow (write) in nDPI custom category detection allows remote code execution via crafted network packets","details":"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.","aliases":["GHSA-26jm-9qfw-89w7"],"modified":"2026-11-07T07:05:58.869096752Z","published":"2026-11-05T16:06:00.745Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97371.json","unresolved_ranges":[{"extracted_events":[{"range":[{"fixed":"6.7.260721"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"}]},{"extracted_events":[{"range":[{"fixed":"6.7.260721"},{"fixed":"6.7.260721"}],"source":"DESCRIPTION"}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97371.json"},{"type":"ADVISORY","url":"https://github.com/ntop/ntopng/security/advisories/GHSA-26jm-9qfw-89w7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97371"},{"type":"FIX","url":"https://github.com/ntop/ntopng/commit/96acb6187950a6a49ca827e49973c3e0c27ea664"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ntop/ntopng","events":[{"introduced":"0"},{"fixed":"96acb6187950a6a49ca827e49973c3e0c27ea664"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"96acb6187950a6a49ca827e49973c3e0c27ea664"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["3.0","2.4"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97371.json","vanir_signatures":[{"signature_type":"Function","signature_version":"v1","source":"https://github.com/ntop/ntopng/commit/96acb6187950a6a49ca827e49973c3e0c27ea664","target":{"file":"src/IpAddress.cpp","function":"IpAddress::reloadBlacklist"},"deprecated":false,"digest":{"function_hash":"292355598493895474668375731292893586501","length":365},"id":"CVE-2026-97371-02d0797e"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/ntop/ntopng/commit/96acb6187950a6a49ca827e49973c3e0c27ea664","target":{"file":"src/IpAddress.cpp"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["190544237973253150370481846053546451110","133864861536080457478929548826751641380","51638748934154544737845393673764020909","32641083349989714859121838855457770429","119317842198215339339250047865658366373","216496143298701623508220535804754232615","32696762677631254895468635761760320422"]},"id":"CVE-2026-97371-58e7544e"}],"vanir_signatures_modified":"2026-11-07T07:05:58Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}