ntop nDPI through 6.0 contains an out-of-bounds read vulnerability in dissect_softether_host_fqdn() in softether.c that compares host_name using the consumed byte count instead of data length. Remote attackers can send crafted short UDP datagrams on already-classified SoftEther flows, causing strncmp to read beyond the packet payload buffer.
https://www.vulncheck.com/advisories/ntop-ndpi-through-6.0-out-of-bounds-read-in-softether-dissector
https://hackmd.io/@haindpwn/ndpi-softether-host-fqdn-strncmp-oob-read
https://github.com/ntop/nDPI/pull/3298
https://github.com/ntop/nDPI/issues/3291
https://github.com/ntop/nDPI/commit/ca9d819151606377ac53305583fe819748c69be2
https://github.com/ntop/nDPI/blob/6.0/src/lib/protocols/softether.c#L203
Published: 2026-10-26
Updated: 2026-10-26
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 5.3
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Severity: Medium
Base Score: 6.9
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00431