AZL-116060: CVE-2026-134762 affecting package ntopng 5.2.1-8
ntop nDPI through 6.0 contains a heap out-of-bounds read and unsigned length underflow in ndpiserializergetbuffer() in src/lib/ndpiserializer.c when stripping leading NUL and space bytes. Buffers holding only spaces or NULs, or a used length of 0 set through ndpiserializersetbufferlen(), cause reads past the heap buffer or a wrapped 4294967295 length, crashing the embedding application.
Affected Software
Event History
Frequently Asked Questions
Which applications are exposed to the crash condition?
Applications embedding nDPI are exposed if they can invoke ndpi_serializer_get_buffer() with a serializer buffer containing only leading spaces or NUL bytes, or after setting its used length to zero.
What conditions trigger the faulty behavior?
The issue occurs while stripping leading NUL and space bytes from a buffer that contains only those bytes. It can also be triggered when ndpi_serializer_set_buffer_len() sets the used length to 0, causing an unsigned length underflow.
What is the practical impact of successful triggering?
The function can read past the heap buffer or operate with a wrapped length of 4294967295. This crashes the application embedding nDPI.