ntop nDPI through 6.0 Out-of-Bounds Read via ndpi_serializer_get_buffer
- State
- Published
- Severity
- 2.1 Low
- Published
- Nov 22, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 22, 2026
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.
| Product | Versions |
|---|---|
| nDPI ntop | 6.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 2.1 Low | VulnCheck | |
| 3.1 | 4.0 Medium | VulnCheck |
Weaknesses
- CWE-125 Out-of-bounds Read
References
- GitHub Security Advisory (GHSA-cjvm-pg5v-f378)Vendor Advisory
- https://github.com/ntop/nDPI/commit/05941e21d7701dd507c3aaf93d00c38cfbbc02dbPatch
- https://github.com/ntop/nDPI/blob/6.0/src/lib/ndpi_serializer.c#L422-L438Technical Details
- VulnCheck Advisory: ntop nDPI through 6.0 Out-of-Bounds Read via ndpi_serializer_get_bufferThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.