CVE-2026-134762: ntop nDPI through 6.0 Out-of-Bounds Read via ndpi_serializer_get_buffer

Published Nov 22, 2026
·
Updated

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

1 affected component
ntop nDPI<=6.0

Event History

Nov 22, 2026
CVE Published
via MITRE·09:22 PM
Data Sourced
via MITRE·09:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness
Event
via NVD·10:17 PM

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Applications that embed nDPI and call ndpi_serializer_get_buffer() are exposed when the serializer buffer can have a used length of zero or contain only leading space or NUL bytes. The described impact is a crash of the embedding application.

2

What input or state is needed to trigger the out-of-bounds read?

The affected function is triggered by a buffer containing only spaces or NUL bytes while it strips leading bytes, or when ndpi_serializer_set_buffer_len() has set the used length to 0. In the zero-length case, unsigned length underflow can produce a length of 4294967295.

3

How can I determine whether my application may be affected?

Review whether your application uses nDPI through version 6.0 and invokes ndpi_serializer_get_buffer(). It may be affected if it can pass serializers with an empty used length or buffers whose contents are entirely spaces or NUL bytes.

4

What can be done if updating is not immediately possible?

Avoid calling ndpi_serializer_get_buffer() with a used length of 0, and prevent buffers passed to it from containing only spaces or NUL bytes. Ensure values supplied through ndpi_serializer_set_buffer_len() do not result in an empty used buffer before retrieving it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203