---
id: CVE-2026-86098
title: >-
  ntop nDPI versions before 6.0 contain a heap buffer overflow vulnerability in
  the ndpi_json_string_escape function that writes beyond caller-supplied buffer
  boundaries
summary: >-
  ntop nDPI versions before 6.0 contain a heap buffer overflow vulnerability in
  the ndpi_json_string_escape function that writes beyond caller-supplied buffer
  boundaries. Attackers can trigger the overflow by supplying crafted network
  pack…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-787
vendor: ntop
product: nDPI
affected:
  - nDPI < 6.0
published: '2026-09-04'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T17:17:46.867'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86098'
references:
  - url: 'https://github.com/ntop/nDPI'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/ntop/nDPI/blob/5.0/src/lib/ndpi_serializer.c'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/ntop/nDPI/commit/94e82c1de12323d992895830231865736a8abf2c
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/ntop-ndpi-before-6.0-heap-buffer-overflow-via-ndpi-json-string-escape
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
epss: 0.00592
epssPercentile: 0.46029
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-14T19:21:21.144482Z'
ingestedAt: '2026-09-14T20:14:21.168Z'
---

## Overview

ntop nDPI versions before 6.0 contain a heap buffer overflow vulnerability in the ndpi_json_string_escape function that writes beyond caller-supplied buffer boundaries. Attackers can trigger the overflow by supplying crafted network packet data including TLS SNI, HTTP headers, or DNS names that reach the vulnerable function, causing heap corruption.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
