Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious DNS packet with odd-offset fields
-
DeliverySend across monitored network segment
-
ExploitnDPI DNS dissector dereferences misaligned pointer
-
ExecutionUndefined behavior / bus error on strict-alignment build
-
ImpactMonitoring process terminates (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Hardware state validation
|
| Exploitation Conditions | Requires the target to run nDPI 5.1.0 (or an embedding product/appliance) built for a strict-alignment CPU architecture (e.g., ARM, MIPS, SPARC) OR compiled with UndefinedBehaviorSanitizer / fuzzing instrumentation - this is the decisive limiting factor. On x86/x86-64 with normal release builds, the misaligned dereference is silently tolerated by hardware and generally will NOT crash, so those deployments are largely unaffected in practice despite the AV:N/AC:L/PR:N vector. When the condition is met, exploitation needs only network-reachable delivery of crafted DNS input that nDPI's DNS dissector parses (or crafted data reaching the serializer deserialization path); no authentication, privileges, or user interaction are required. Impact is limited to availability (process termination); there is no confidentiality or integrity impact. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H = 7.5) frames this as a remotely-reachable, unauthenticated, low-complexity availability-only flaw, which is consistent with a crafted DNS packet reaching nDPI's DNS dissector. However, the raw score overstates real-world risk because the description and patch confirm the crash is conditional: the misaligned dereference produces undefined behavior that only reliably terminates the process on strict-alignment architectures (e.g., ARM/MIPS) or in UBSan-instrumented (sanitizer/fuzzing) builds. On the dominant x86/x86-64 deployment base, unaligned loads are tolerated by hardware and typically do NOT crash, so the practical A:H impact is architecture-dependent rather than universal - a material caveat the base score does not capture. There is no EPSS score, no CISA KEV listing, and MITRE is the only reporter, indicating no evidence of active exploitation. Public crash reproducers do exist (three fuzz-corpus trigger files were committed alongside the fix in ntop/nDPI PR#3231), so a working denial-of-service input is available, but this is a reproducer, not weaponized in-the-wild exploitation. Net: a legitimate hardening/DoS fix worth patching for ARM appliances and sanitizer/fuzz CI, but a lower operational priority for typical x86 production sensors. |
| Exploit ScenarioDerived | An attacker sends specially crafted DNS traffic across a network monitored by a product embedding nDPI 5.1.0; the DNS dissector casts an odd-offset byte-buffer address to a uint16_t/uint32_t/uint64_t pointer and dereferences it without alignment checks. On a strict-alignment architecture (or a UBSan/sanitizer build), this triggers a bus error / undefined behavior that terminates the monitoring process, causing denial of service. Public fuzz-corpus reproducers for issue #3213 exist in the upstream repository, confirming the crash is readily triggerable in vulnerable builds. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 24, 2026
Crafted DNS traffic parsed by the nDPI 5.1.0 deep-packet-inspection library can terminate the hosting process wherever that code runs on a strict-alignment CPU (ARM, MIPS, SPARC and similar) or in an UndefinedBehaviorSanitizer/fuzzing build, because the DNS dissector and the serializer deserialization path dereference byte buffers at arbitrary packet offsets through uint16_t/uint32_t/uint64_t pointers without any alignment check. The flaw is remotely reachable and unauthenticated (CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5), but impact is limited to availability - process termination, no confidentiality or integrity loss - and the decisive precondition is the build/CPU target: mainstream x86-64 release builds silently tolerate the misaligned load and generally will not crash. It is not listed in CISA KEV and no public exploit identified at time of analysis, although the upstream fix PR does ship fuzz corpus inputs (issue3213_trigger1-3) that reproduce the fault, and EPSS data was not available for this record.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply commits 6ce1280c52ed52a97332c3fe58fd2b47b867ec6e, 8fc3b439920021a77165f8aee4f81b25bc88629e, 694231bb43ff21f452fbc2b53fcf6cdc9a99f75f and 6698f14bf6025394a537fe23f413cf79e9d13594, or merge PR https://github.com/ntop/nDPI/pull/3231, then rebuild and re-vendor the library into any embedding product; verify the fix is present by confirming the get_u_int16_t/32/64 macros resolve to the memcpy-based ndpi_get_u_int* inline helpers and that ndpi_serializer is declared as a union with the ndpi_private_serializer alignment member and its _Static_assert. If patching cannot be scheduled immediately, the most effective compensating control is deployment context rather than configuration: instances on x86/x86-64 release builds face negligible practical risk from misaligned dereference, so prioritize patching ARM/MIPS/SPARC or big-endian builds and any UBSan- or fuzzing-instrumented binaries first, and simply avoid running UBSan-instrumented nDPI in production (trade-off: you lose sanitizer telemetry that would otherwise surface the abort). On ARM Linux, enabling the kernel unaligned-access fixup via /proc/cpu/alignment can mask the SIGBUS for some access widths but imposes a per-fault performance penalty, is not available on every architecture, and does nothing for sanitizer-triggered aborts. Restricting or rate-limiting untrusted DNS traffic into nDPI-based sensors, or disabling the DNS protocol dissector where the deployment does not require it, removes the reachable trigger path but costs the DNS visibility the sensor was deployed for; neither workaround should be treated as a substitute for the upstream memcpy-based fix, since the same casting primitives are shared by other dissectors and deserialization consumers.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
nDPI is ntop's open-source DPI library, embedded in tools such as ntopng, nProbe and numerous OEM network appliances; this issue sits in the packet-parsing primitives it shares across all dissectors. The root cause is the historic get_u_int8_t/get_u_int16_t/get_u_int32_t/get_u_int64_t macro family in src/include/ndpi_define.h.in, which implemented reads as direct pointer casts and dereferences (for example (*(u_int16_t *)((&(((u_int8_t *)X)[O]))))), so a field at an odd or otherwise unaligned offset inside a raw network buffer is reinterpreted as a wider integer type with no alignment guarantee - the undefined-behavior class recorded as CWE-1335 in the CVE record. The DNS dissector (src/lib/protocols/dns.c, e.g. checkDNSSubprotocol and process_additionals EDNS(0) parsing) and the serializer deserialization helpers (ndpi_deserialize_single_uint8/int8 in src/lib/ndpi_serializer.c) both fed attacker-controlled offsets into these macros. The upstream fix replaces the casting macros with memcpy-based inline helpers (ndpi_get_u_int16_t/32/64), which are alignment-safe by construction; it additionally changes the public ndpi_serializer from a plain char c[72]/char c[sizeof(ndpi_private_serializer)] buffer into a union containing ndpi_private_serializer as an alignment member, guarded by a C11 _Static_assert that the storage sizes match, so the opaque serializer now carries the private type's alignment. A related width bug is corrected at the same time (epoch widened from u_int32_t to u_int64_t and the epoch_len computation switched to sizeof(this_epoch->epoch)), and CI was hardened with -fno-sanitize-recover=all so sanitizer hits fail the build rather than being tolerated.
Know when Ndpi gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Crafted DNS network input parsed without auth or interaction (AV:N/AC:L/PR:N/UI:N); impact is process termination only (C:N/I:N/A:H), though A:H is realized mainly on strict-alignment or sanitizer builds.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
nDPI 5.1.0, a deep-packet-inspection library, can be crashed by crafted DNS traffic on strict-alignment CPU architectures (ARM, MIPS, SPARC) and UBSan/fuzzing builds, causing process termination and potential service outages. The flaw is remotely reachable and unauthenticated with no public exploit identified at time of analysis, but no vendor-released patch is identified at time of analysis. Organizations using nDPI 5.1.0 in network security appliances or services on these architectures should prioritize mitigation because an unauthenticated attacker could disrupt availability.
No vendor patch; interim mitigations include disabling the nDPI DNS dissector, restricting DNS traffic to trusted sources, and avoiding deployment on strict-alignment architectures or UBSan builds until a fix is available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
In nDPI through 3.2 Stable, the SSH protocol dissector has multiple KEXINIT integer overflows that result in a controlle
In nDPI through 3.2, the OpenVPN dissector is vulnerable to a heap-based buffer over-read in ndpi_search_openvpn in lib/
In nDPI through 3.2, the packet parsing code is vulnerable to a heap-based buffer over-read in ndpi_parse_packet_line_in
ntop nDPI 3.4 has a stack-based buffer overflow in processClientServerHello. Rated high severity (CVSS 8.8), this vulner
In nDPI through 3.2, the Oracle protocol dissector has a heap-based buffer over-read in ndpi_search_oracle in lib/protoc
In nDPI through 3.2 Stable, an out-of-bounds read in concat_hash_string in ssh.c can be exploited by a network-positione
In nDPI through 3.2, ndpi_reset_packet_line_info in lib/ndpi_main.c omits certain reinitialization, leading to a use-aft
In nDPI through 3.2, there is a stack overflow in extractRDNSequence in lib/protocols/tls.c. Rated critical severity (CV
In nDPI through 3.2, the H.323 dissector is vulnerable to a heap-based buffer over-read in ndpi_search_h323 in lib/proto
Heap buffer overflow in ntop nDPI before version 6.0 allows unauthenticated network-adjacent or remote attackers to corr
An out-of-bounds read in nDPI's SoftEther dissector (dissect_softether_host_fqdn() in softether.c, all versions through
Heap out-of-bounds read and unsigned length underflow in ntop nDPI's JSON-family serializers (through 6.0) occur because
EUVD-2026-86285
GHSA-hjcq-5876-2cpr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB