Description
nDPI 5.1.0 contains a memory access issue in the DNS dissector and serializer deserialization code. Specially crafted network input can cause byte-buffer addresses at odd offsets to be cast to uint16_t or wider integer pointers and directly dereferenced without alignment checks. This results in undefined behavior and can cause process termination in UBSan-instrumented builds or on strict-alignment architectures, leading to denial of service.
References7
- github.com/ntop/nDPI/issues/3213
- github.com/ntop/nDPI/pull/3231
- github.com/utoni/nDPI/commit/6698f14bf6025394a537fe23f413cf79e9…
- github.com/utoni/nDPI/commit/694231bb43ff21f452fbc2b53fcf6cdc9a…
- github.com/utoni/nDPI/commit/6ce1280c52ed52a97332c3fe58fd2b47b8…
- github.com/utoni/nDPI/commit/8fc3b439920021a77165f8aee4f81b25bc…
- github.com/ntop/nDPI/issues/3213
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 1% percentile: 49 · as of 9 November 2026
- CWE
- CWE-1335
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.