ndpi — security advisory
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.
- Products
- ndpi
- Affected versions
- 1.5.0-1, 1.6-1, 1.7.1~git20151130.6f3d5a7-1, 1.8-1, 2.2-1, 2.6-4, 2.6-5, 4.0-4, 4.2-2, 4.2-2.1, 4.2-2.1build1, 4.2-2.1build2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-86098
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:24 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-86098
ndpi
Fixed versions: Not specified
ndpi
Fixed versions: Not specified
ndpi
Fixed versions: Not specified
ndpi
Fixed versions: Not specified
ndpi
Fixed versions: Not specified
ndpi
Fixed versions: Not specified
ndpi
Fixed versions: Not specified
Complete source record
{
"id": "879111eccb6f14fad83b5270a17235d7382a54ca9b0958e6bf3f186cbaafbe59",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-86098",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-86098",
"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 packet data including TLS SNI, HTTP headers, or DNS names that reach the vulnerable function, causing heap corruption.",
"evidence": "osv:UBUNTU-CVE-2026-86098",
"products": [
{
"name": {
"value": "ndpi",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.6-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.1~git20151130.6f3d5a7-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "ndpi",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.8-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.2-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "ndpi",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.6-4",
"evidence": "/affected/2/versions"
},
{
"value": "2.6-5",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "ndpi",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.0-4",
"evidence": "/affected/3/versions"
},
{
"value": "4.2-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "ndpi",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.2-2",
"evidence": "/affected/4/versions"
},
{
"value": "4.2-2.1",
"evidence": "/affected/4/versions"
},
{
"value": "4.2-2.1build1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "ndpi",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.2-2.1build2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "ndpi",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.2-2.1build1",
"evidence": "/affected/6/versions"
},
{
"value": "4.2-2.1build2",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-86098",
"aliases": [
"UBUNTU-CVE-2026-86098"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ndpi",
"purl": "pkg:deb/ubuntu/ndpi?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.5.0-1",
"1.6-1",
"1.7.1~git20151130.6f3d5a7-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86098.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libndpi-bin",
"binary_version": "1.7.1~git20151130.6f3d5a7-1"
},
{
"binary_name": "libndpi3",
"binary_version": "1.7.1~git20151130.6f3d5a7-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ndpi",
"purl": "pkg:deb/ubuntu/ndpi?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.8-1",
"2.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86098.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libndpi-bin",
"binary_version": "2.2-1"
},
{
"binary_name": "libndpi-wireshark",
"binary_version": "2.2-1"
},
{
"binary_name": "libndpi5",
"binary_version": "2.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ndpi",
"purl": "pkg:deb/ubuntu/ndpi?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.6-4",
"2.6-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86098.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libndpi-bin",
"binary_version": "2.6-5"
},
{
"binary_name": "libndpi-wireshark",
"binary_version": "2.6-5"
},
{
"binary_name": "libndpi2.6",
"binary_version": "2.6-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ndpi",
"purl": "pkg:deb/ubuntu/ndpi?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"4.0-4",
"4.2-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86098.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libndpi-bin",
"binary_version": "4.2-2"
},
{
"binary_name": "libndpi-wireshark",
"binary_version": "4.2-2"
},
{
"binary_name": "libndpi4.2",
"binary_version": "4.2-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ndpi",
"purl": "pkg:deb/ubuntu/ndpi?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"4.2-2",
"4.2-2.1",
"4.2-2.1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86098.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libndpi-bin",
"binary_version": "4.2-2.1build1"
},
{
"binary_name": "libndpi-wireshark",
"binary_version": "4.2-2.1build1"
},
{
"binary_name": "libndpi4.2t64",
"binary_version": "4.2-2.1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ndpi",
"purl": "pkg:deb/ubuntu/ndpi?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"4.2-2.1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86098.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libndpi-bin",
"binary_version": "4.2-2.1build2"
},
{
"binary_name": "libndpi-wireshark",
"binary_version": "4.2-2.1build2"
},
{
"binary_name": "libndpi4.2t64",
"binary_version": "4.2-2.1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ndpi",
"purl": "pkg:deb/ubuntu/ndpi?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"4.2-2.1build1",
"4.2-2.1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86098.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libndpi-bin",
"binary_version": "4.2-2.1build2"
},
{
"binary_name": "libndpi-wireshark",
"binary_version": "4.2-2.1build2"
},
{
"binary_name": "libndpi4.2t64",
"binary_version": "4.2-2.1build2"
}
]
}
}
],
"modified": "2026-10-17T13:01:14.038909003Z",
"provider": "osv",
"upstream": [
"CVE-2026-86098"
],
"references": [
"https://ubuntu.com/security/CVE-2026-86098",
"https://www.cve.org/CVERecord?id=CVE-2026-86098"
]
},
"related_cves": [
{
"value": "CVE-2026-86098",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 361327,
"published_at": "2026-09-04T23:18:00+00:00"
}