Description
ntop nDPI through 6.0 contains a heap out-of-bounds read and unsigned length underflow in ndpi_serializer_get_buffer() in src/lib/ndpi_serializer.c when stripping leading NUL and space bytes. Buffers holding only spaces or NULs, or a used length of 0 set through ndpi_serializer_set_buffer_len(), cause reads past the heap buffer or a wrapped 4294967295 length, crashing the embedding application.
Metrics
CVSS 3.1 4.0/10
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| ntop | nDPI | <= 6.0 |
References
- https://github.com/ntop/nDPI/blob/6.0/src/lib/ndpi_serializer.c#L422-L438
- https://github.com/ntop/nDPI/commit/05941e21d7701dd507c3aaf93d00c38cfbbc02db
- https://github.com/ntop/nDPI/security/advisories/GHSA-cjvm-pg5v-f378
- https://www.vulncheck.com/advisories/ntop-ndpi-through-6.0-out-of-bounds-read-via-ndpi-serializer-get-buffer
Timeline
- Published
- Nov 22, 2026
- Last modified
- Nov 24, 2026
- NVD status
- Deferred