{"id":"CVE-2026-97371","aliases":["AZL-112705","EUVD-2026-117570","GHSA-26jm-9qfw-89w7","UBUNTU-CVE-2026-97371"],"status":"published","title":"ntopng: Stack buffer overflow (write) in nDPI custom category detection allows remote code execution via crafted network packets","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00484,"percentile":0.42168,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-121"],"published":"2026-11-05T16:06:00Z","modified":"2026-11-07T01:45:09Z","affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"ntopng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.2.1-7"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ntopng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1+dfsg1-2ubuntu1","2.0+dfsg1-1","2.2+dfsg1-1","2.2+dfsg1-1build1","2.2+dfsg1-1ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"ntopng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4+dfsg1-3","2.4+dfsg1-4","3.2+dfsg1-1","3.2+dfsg1-1ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ntopng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.8+dfsg1-2.1build3"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ntopng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.1+dfsg1-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ntopng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.1+dfsg1-1","5.2.1+dfsg1-1ubuntu1","5.2.1+dfsg1-1ubuntu3","5.2.1+dfsg1-1ubuntu4"]}],"products":[{"vendor":"ntop","product":"ntopng"}],"references":[{"url":"https://github.com/ntop/ntopng/security/advisories/GHSA-26jm-9qfw-89w7","tags":["x_refsource_CONFIRM","exploit","advisory","report"]},{"url":"https://github.com/ntop/ntopng/commit/96acb6187950a6a49ca827e49973c3e0c27ea664","tags":["x_refsource_MISC","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97371","tags":["web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97371.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-97371","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-97371","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-97371","title":"ntopng: Stack buffer overflow (write) in nDPI custom category detection allows remote code execution via crafted network packets","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.","status":"published","published":"2026-11-05T16:06:00.745Z","modified":"2026-11-05T20:57:38.887Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-121"],"updated_at":"2026-11-05T21:25:06.152449Z"}],"euvd":[{"id":"EUVD-2026-117570","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.","status":"published","published":"2026-11-05T16:06:00Z","modified":"2026-11-05T20:57:38Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-05T22:02:09.75306Z"}],"nvd":[{"id":"CVE-2026-97371","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.","status":"published","published":"2026-11-05T17:18:22.323Z","modified":"2026-11-05T21:18:54.76Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-121"],"updated_at":"2026-11-05T23:57:23.655479Z"}],"osv":[{"id":"CVE-2026-97371","title":"ntopng: Stack buffer overflow (write) in nDPI custom category detection allows remote code execution via crafted network packets","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.","status":"published","published":"2026-11-05T16:06:00.745Z","modified":"2026-11-07T07:06:40.344418777Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-121"],"updated_at":"2026-11-07T03:08:12.622551Z"},{"id":"UBUNTU-CVE-2026-97371","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.","status":"published","published":"2026-11-06T00:00:00Z","modified":"2026-11-07T01:45:09.77992745Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-07T01:57:06.567161Z"},{"id":"AZL-112705","title":"CVE-2026-97371 affecting package ntopng 5.2.1-7","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.","status":"published","published":"2026-11-05T17:18:22Z","modified":"2026-11-06T14:17:03.972032824Z","updated_at":"2026-11-06T14:57:15.495576Z"}]}}
