Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach broker MQTT listener
-
DeliveryCraft PUBLISH/SUBSCRIBE with many User Properties
-
ExploitTrigger O(N²) property-list insertion
-
ExecutionExhaust broker CPU
-
ImpactRepeat to sustain unresponsiveness
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
|
| Exploitation Conditions | Requires the broker to accept MQTT v5 connections and process PUBLISH or SUBSCRIBE packets containing User Properties - this is default MQTT v5 protocol behavior, not a special configuration. Exploitation is remote and unauthenticated (PR:N) against any reachable NanoMQ listener prior to 0.24.14 across TCP, TLS, and WebSocket transports (the patch touches broker_tcp.c, broker_tls.c, and nmq_websocket.c). Limiting factors: impact is availability-only and recoverable, and sustaining the denial of service requires the attacker to continuously resend crafted packets; effectiveness scales with how many User Properties can be packed into a packet. |
| Impact | This is a genuinely low-priority issue despite being a remote unauthenticated flaw. The vendor CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L = 3.7) reflects a transient, recoverable availability-only impact - no confidentiality or integrity exposure. There is no public exploit identified at time of analysis (no POC referenced), no CISA KEV listing, and no EPSS score provided in the input, so no signals point to active or automatable exploitation. The one point of disagreement with the vendor is AC:H: sending a PUBLISH/SUBSCRIBE packet stuffed with many MQTT v5 User Properties requires no special timing, race, or configuration, so attack complexity is arguably Low, which would raise the score to roughly 5.3. The quadratic (O(N²)) algorithmic-complexity nature (CWE-407) means a single large packet can amplify CPU work, and the description explicitly notes repeated packets sustain the DoS. Net: a real but low-severity resource-exhaustion bug, not a high-urgency one - patch on normal cadence for any internet-exposed NanoMQ broker. |
| Exploit ScenarioDerived | An attacker with network reach to a NanoMQ broker's MQTT listener (TCP, TLS, or WebSocket) sends a PUBLISH or SUBSCRIBE packet containing a very large number of MQTT v5 User Properties. The decoder's per-property linked-list walk (property_append) turns this into O(N²) CPU work, hanging the broker; the attacker repeats the packet to keep it unresponsive. No public exploit code was identified at time of analysis, though the mechanism is simple to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 18, 2026
NanoMQ MQTT brokers prior to 0.24.14 can be driven unresponsive by a remote unauthenticated client that sends MQTT v5 PUBLISH or SUBSCRIBE packets containing a large number of User Properties. Each property is inserted via property_append(), which re-walks the entire linked list, so a single packet with many properties forces quadratic (O(N²)) CPU work in the decoder; repeating the packet sustains the denial of service. The vendor has released a fix in 0.24.14, and no public exploit code or confirmed active exploitation has been identified at time of analysis; impact is availability-only and rated low, with the independent assessment noting that effectiveness depends on how many properties can be packed into a packet and on continued resending.
RemediationAI
Upgrade to NanoMQ 0.24.14 or later - the vendor-released patch version that resolves the quadratic property-insertion path and adds duplicate-property validation (advisory: https://github.com/nanomq/nanomq/security/advisories/GHSA-6mwg-445v-2qrv; release: https://github.com/nanomq/nanomq/releases/tag/0.24.14; upstream fix: https://github.com/nanomq/NanoNNG/pull/1508). If an immediate upgrade is not possible, the practical compensating controls are: cap the per-connection packet size via the broker's maximum packet size / property_size settings so a single PUBLISH or SUBSCRIBE cannot carry an extreme number of User Properties (trade-off: legitimate large payloads with many properties will be rejected with a protocol error), and enforce per-client publish/subscribe rate limiting or message-queue depth limits so repeated crafted packets cannot monopolize broker threads (trade-off: rate limits can throttle legitimate high-throughput publishers and induce client reconnects). Restricting the listener with TLS client certificates, username/password authentication, or network ACLs reduces the pool of clients able to reach the decoder, but does not eliminate the issue for authenticated or otherwise-trusted clients because exploitation only requires a valid MQTT v5 connection, not elevated privileges. Monitoring for brokers exhibiting sustained CPU saturation alongside high volumes of PUBLISH or SUBSCRIBE packets carrying unusually large property sets provides a detection signal; no vendor-supplied configuration-only workaround, and no vendor-released patch beyond 0.24.14, is identified in the available data.
Affected VersionsENISA
Affected Packages
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
The flaw lives in the MQTT v5 property decoder (nng/src/supplemental/mqtt/mqtt_codec.c, part of the NanoNNG library bundled with NanoMQ), specifically in decode_buf_properties() and its use of property_append(). MQTT v5 (and unlike MQTT 3.1.1) permits an arbitrary number of User Properties (property ID 0x26) and Subscription Identifiers on PUBLISH and SUBSCRIBE packets. NanoMQ stores decoded properties in a singly linked list and property_append() traverses that list from the head on every insertion, making bulk decoding of N properties cost O(N²) in both pointer chasing and allocation overhead. The root cause class is CWE-407, Inefficient Algorithmic Complexity, rather than memory corruption, so the outcome is CPU saturation and broker unresponsiveness rather than code execution or data exposure. The upstream fix (NanoNNG PR #1508, commit 91bd4c7) rewrites the append path - property_dup() now keeps a tail pointer and links new nodes directly (tail->next = item; tail = item) - and additionally adds a seen_properties[256] duplicate-property check plus MQTT v5 property bound validation for broker use, converting some malformed-property handling into protocol errors. The same patch set touches the broker's TCP, TLS, and WebSocket transport code to publish TOPIC_ALIAS_MAXIMUM in CONNACK, confirming that the decoder is shared across all three listener types. Wide size_t/uint16_t type corrections for property_size, msq_len, and max_topic_alias are also included.
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
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Remote unauthenticated packet with many User Properties needs no special condition (AC:L, PR:N); impact is transient recoverable CPU-exhaustion so A:L only, no C/I.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
NanoMQ is an MQTT broker. Prior to 0.24.14, NanoMQ's MQTT v5 property decoder in nng/src/supplemental/mqtt/mqtt_codec.c uses property_append() to walk the entire linked list for each property added by decode_buf_properties(). A remote unauthenticated client can supply a PUBLISH or SUBSCRIBE packet containing many User Properties, causing O(N²) linked-list insertion and CPU work that makes the broker unresponsive; repeated packets can sustain the denial of service. This issue is fixed in version 0.24.14.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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 is a segmentation fault vulnerability in NanoMQ v0.21.10 that allows unauthenticated remote attackers to
A data race in NanoMQ MQTT Broker versions prior to 0.24.2 can free subscription-info list memory while another thread s
Null Pointer Dereference vulnerability in topic_filtern function in mqtt_parser.c in NanoMQ 0.21.7 allows attackers to c
A use-after-free vulnerability exists in NanoMQ 0.17.2. Rated high severity (CVSS 7.5), this vulnerability is remotely e
A heap buffer overflow vulnerability exists in NanoMQ 0.17.2. Rated high severity (CVSS 7.5), this vulnerability is remo
A heap buffer overflow vulnerability exists in NanoMQ 0.17.2. Rated high severity (CVSS 7.5), this vulnerability is remo
A heap buffer overflow vulnerability exists in NanoMQ 0.17.2. Rated high severity (CVSS 7.5), this vulnerability is remo
In NanoMQ v0.15.0-0, segment fault with Null Pointer Dereference occurs in the process of decoding subinfo_decode and un
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),
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
A heap-buffer-overflow vulnerability in the read_byte function in NanoMQ v.0.21.7 allows attackers to cause a denial of
EUVD-2026-83047
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB