Skip to main content

NanoMQ CVE-2026-44639

| EUVDEUVD-2026-83047 LOW
Inefficient Algorithmic Complexity (CWE-407)
2026-09-18 GitHub_M
3.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach broker MQTT listener
  2. Delivery
    Craft PUBLISH/SUBSCRIBE with many User Properties
  3. Exploit
    Trigger O(N²) property-list insertion
  4. Execution
    Exhaust broker CPU
  5. Impact
    Repeat 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

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

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

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

Vendor (GitHub_M) PRIMARY 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

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.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
Sep 18, 2026 - 17:17 EUVD

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

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Low
niche EMQ lightweight IoT/edge MQTT broker, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

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 LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

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