Skip to main content

NanoMQ CVE-2026-44640

| EUVDEUVD-2026-33428 MEDIUM
Access of Resource Using Incompatible Type (Type Confusion) (CWE-843)
2026-05-29 GitHub_M
4.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Gain local access to NanoMQ host
  2. Delivery
    Initiate QUIC dialer connection to broker
  3. Exploit
    Trigger connection close sequence at vulnerable timing
  4. Execution
    aio->prov_data misread as ex_quic_conn* causes invalid memory interpretation
  5. Impact
    Broker process hangs or crashes (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Type safety enforcement
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access to the host running NanoMQ (AV:L) - remote unauthenticated triggering is not possible per the CVSS vector. High attack complexity (AC:H) indicates the attacker must meet conditions beyond simple access, such as precise timing around the dialer close sequence or a specific connection teardown race. User interaction is required (UI:R), implying a legitimate user action - such as initiating a QUIC dial and then disconnecting - must be present for the vulnerability to trigger. The flaw is confined to the QUIC transport layer: NanoMQ deployments configured to use only TCP or TLS transports are not exposed to this code path. What limits exploitation: local-only access requirement, high complexity threshold, UI dependency, and QUIC-specific configuration. Authentication requirements cannot be independently confirmed from available data, as the CVSS PR:N vector indicates no privileges are required at the OS level, but the exact NanoMQ session context is not described in the advisory.

Impact

The CVSS 3.1 score of 4.5 (Medium) accurately reflects a constrained threat profile: local access vector (AV:L), high attack complexity (AC:H), and required user interaction (UI:R) collectively mean this vulnerability cannot be triggered remotely or trivially. All three CIA impact components are rated Low, indicating partial rather than full system compromise. No EPSS score was provided in the available intelligence, so statistical exploitation probability cannot be quantified. The vulnerability is not listed in CISA KEV, and no public proof-of-concept exists - exploitation remains theoretical at time of analysis. The tags 'Denial of Service' and 'Memory Corruption' align well with the type confusion root cause; the most plausible realistic outcome is a broker process crash (DoS) rather than arbitrary code execution, since the CVSS scope is Unchanged (S:U) and confidentiality/integrity impacts are both Low. For most production deployments this is a low operational priority, but edge environments where NanoMQ broker availability is critical - or where QUIC transport is heavily used - should prioritize patching.

Exploit ScenarioDerived

A local user or process on the NanoMQ host initiates a QUIC-based MQTT dial operation and then triggers the connection close sequence under conditions that exercise the mistyped pointer dereference in aio->prov_data. The broker interprets the nni_quic_conn* memory as an ex_quic_conn* struct, accesses an incorrect field offset, and either enters an infinite hang or faults, crashing the broker process. No public proof-of-concept exploit code exists at time of analysis, and the high attack complexity rating indicates reliable triggering requires precise timing or specific environmental conditions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 29, 2026

Type confusion in NanoMQ MQTT Broker's QUIC dialer close path allows a local attacker with high complexity to cause the broker process to hang or crash. Versions prior to 0.24.14 store a pointer as nni_quic_conn* during dialing but later misread that same memory location as ex_quic_conn* during dialer close, producing invalid object interpretation across mismatched struct layouts. No public exploit code or active exploitation has been identified at time of analysis; the vendor-released fix is available in version 0.24.14.

RemediationAI

The primary and recommended fix is to upgrade NanoMQ to version 0.24.14 or later, which corrects the type confusion in the QUIC dialer close path. The patched release is available at https://github.com/nanomq/nanomq/releases/tag/0.24.14, with the corresponding security advisory at https://github.com/nanomq/nanomq/security/advisories/GHSA-9fgw-v323-jmjj. If an immediate upgrade cannot be performed, operators should consider disabling QUIC transport in the NanoMQ configuration and restricting the broker to TCP or TLS-only listeners, which removes the vulnerable code path entirely. This workaround carries the trade-off of eliminating QUIC's multiplexing and low-latency benefits for edge clients operating over lossy or high-latency links. No other compensating controls are identified in available intelligence.

Affected VersionsENISA

nanomq < 0.24.14

Affected Packages

euvd nanomq fix: 0.24.14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NanoMQ is an edge-optimized MQTT broker that supports QUIC as a transport protocol. The vulnerable component is the QUIC dialer's asynchronous I/O abstraction, specifically the aio->prov_data field - a generic provider-data pointer used across different transport implementations. During the dialing phase, this field is assigned a pointer of type nni_quic_conn*. However, when the dialer close sequence executes, the same memory location is read and cast as ex_quic_conn*. Because these two struct types almost certainly differ in memory layout, field offsets, and vtable arrangements, dereferencing the mistyped pointer causes the runtime to operate on structurally incorrect memory - the precise definition of CWE-843 (Access of Resource Using Incompatible Type). The result is undefined behavior in the close path, manifesting as a hang or crash. The CPE string cpe:2.3:a:nanomq:nanomq:*:*:*:*:*:*:*:* confirms all NanoMQ releases prior to 0.24.14 carry this defect.

Know when Nanomq 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 (GitHub_M) PRIMARY 4.5 MEDIUM
AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
May 29, 2026 - 21:02 EUVD

DescriptionCVE.org

NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. Prior to 0.24.14, aio->prov_data is stored as nni_quic_conn* during dialing, but read as ex_quic_conn* during dialer close. This type confusion causes invalid object interpretation and leads to close-path hang/crash behavior. This vulnerability is fixed in 0.24.14.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Nanomq

View all
CVE-2023-34488 HIGH POC
7.8 Jun 12

NanoMQ 0.17.5 has a one-byte heap-based buffer over-read in the conn_handler function of mqtt_parser.c when it processes

CVE-2024-42646 HIGH POC
7.5 Jul 14

CVE-2024-42646 is a segmentation fault vulnerability in NanoMQ v0.21.10 that allows unauthenticated remote attackers to

CVE-2025-59946 HIGH POC
7.5 Dec 27

A data race in NanoMQ MQTT Broker versions prior to 0.24.2 can free subscription-info list memory while another thread s

CVE-2024-31041 HIGH POC
7.5 Apr 17

Null Pointer Dereference vulnerability in topic_filtern function in mqtt_parser.c in NanoMQ 0.21.7 allows attackers to c

CVE-2023-33657 HIGH POC
7.5 Jun 08

A use-after-free vulnerability exists in NanoMQ 0.17.2. Rated high severity (CVSS 7.5), this vulnerability is remotely e

CVE-2023-33660 HIGH POC
7.5 Jun 08

A heap buffer overflow vulnerability exists in NanoMQ 0.17.2. Rated high severity (CVSS 7.5), this vulnerability is remo

CVE-2023-33658 HIGH POC
7.5 Jun 08

A heap buffer overflow vulnerability exists in NanoMQ 0.17.2. Rated high severity (CVSS 7.5), this vulnerability is remo

CVE-2023-33659 HIGH POC
7.5 Jun 06

A heap buffer overflow vulnerability exists in NanoMQ 0.17.2. Rated high severity (CVSS 7.5), this vulnerability is remo

CVE-2023-29996 HIGH POC
7.5 May 04

In NanoMQ v0.15.0-0, segment fault with Null Pointer Dereference occurs in the process of decoding subinfo_decode and un

CVE-2023-29995 HIGH POC
7.5 May 04

In NanoMQ v0.15.0-0, a Heap overflow occurs in copyn_utf8_str function of mqtt_parser.c. Rated high severity (CVSS 7.5),

CVE-2023-29994 HIGH POC
7.5 May 04

In NanoMQ v0.15.0-0, Heap overflow occurs in read_byte function of mqtt_code.c. Rated high severity (CVSS 7.5), this vul

CVE-2024-31036 MEDIUM POC
6.8 Apr 22

A heap-buffer-overflow vulnerability in the read_byte function in NanoMQ v.0.21.7 allows attackers to cause a denial of

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