Skip to main content

nDPI CVE-2026-88357

| EUVDEUVD-2026-86285 HIGH
Incorrect Bitwise Shift of Integer (CWE-1335)
2026-09-24 mitre GHSA-hjcq-5876-2cpr
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious DNS packet with odd-offset fields
  2. Delivery
    Send across monitored network segment
  3. Exploit
    nDPI DNS dissector dereferences misaligned pointer
  4. Execution
    Undefined behavior / bus error on strict-alignment build
  5. Impact
    Monitoring 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Sep 24, 2026 - 18:22 NVD
7.5 (HIGH)
CVE Published
Sep 24, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Sep 24, 2026 - 00:00 cve.org
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.6%
Top 53% exploitable
Prevalence
Medium
Widely-used open-source DPI library (ntop/nDPI) embedded in specific network-monitoring products
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Medium
Technical Impact
Partial

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Ndpi

View all
CVE-2020-11939 CRITICAL POC
9.8 Apr 23

In nDPI through 3.2 Stable, the SSH protocol dissector has multiple KEXINIT integer overflows that result in a controlle

CVE-2020-15473 CRITICAL POC
9.1 Jul 01

In nDPI through 3.2, the OpenVPN dissector is vulnerable to a heap-based buffer over-read in ndpi_search_openvpn in lib/

CVE-2020-15471 CRITICAL POC
9.1 Jul 01

In nDPI through 3.2, the packet parsing code is vulnerable to a heap-based buffer over-read in ndpi_parse_packet_line_in

CVE-2021-36082 HIGH POC
8.8 Jul 01

ntop nDPI 3.4 has a stack-based buffer overflow in processClientServerHello. Rated high severity (CVSS 8.8), this vulner

CVE-2020-15476 HIGH POC
7.5 Jul 01

In nDPI through 3.2, the Oracle protocol dissector has a heap-based buffer over-read in ndpi_search_oracle in lib/protoc

CVE-2020-11940 HIGH POC
7.5 Apr 23

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

CVE-2020-15475 CRITICAL
9.8 Jul 01

In nDPI through 3.2, ndpi_reset_packet_line_info in lib/ndpi_main.c omits certain reinitialization, leading to a use-aft

CVE-2020-15474 CRITICAL
9.8 Jul 01

In nDPI through 3.2, there is a stack overflow in extractRDNSequence in lib/protocols/tls.c. Rated critical severity (CV

CVE-2020-15472 CRITICAL
9.1 Jul 01

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

CVE-2026-86098 HIGH
8.3 Sep 04

Heap buffer overflow in ntop nDPI before version 6.0 allows unauthenticated network-adjacent or remote attackers to corr

CVE-2026-116744 MEDIUM
6.9 Oct 26

An out-of-bounds read in nDPI's SoftEther dissector (dissect_softether_host_fqdn() in softether.c, all versions through

CVE-2026-134762 LOW
2.1 Nov 22

Heap out-of-bounds read and unsigned length underflow in ntop nDPI's JSON-family serializers (through 6.0) occur because

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy