Skip to main content

NanoMQ MQTT Broker CVE-2026-45151

| EUVDEUVD-2026-33429 LOW
NULL Pointer Dereference (CWE-476)
2026-05-29 GitHub_M
2.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Identify exposed NanoMQ QUIC listener port
  2. Delivery
    Initiate QUIC connection with crafted stream lifecycle
  3. Exploit
    Force substream into reopen state via packet timing
  4. Execution
    Trigger quic_stream_recv on null substream pointer
  5. Persist
    Broker process crashes
  6. Impact
    MQTT service unavailable

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Exploitation requires that the target NanoMQ deployment has MQTT-over-QUIC transport enabled and listening - this is not the default TCP MQTT configuration, meaning deployments using only standard TCP/TLS MQTT are not affected by this specific code path. The CVSS AC:H (High Attack Complexity) component indicates the attacker must engineer a specific race condition or state sequence to place a QUIC substream into reopen state before the null dereference is triggered; this is not a simple single-packet exploit. No authentication is required (PR:N) and no user interaction is needed (UI:N), so any network-reachable unauthenticated client capable of initiating QUIC streams can attempt exploitation. The key limiting factors are: QUIC transport must be explicitly configured and exposed, and the attacker must reliably reproduce the substream reopen state timing, making opportunistic automated scanning unlikely but targeted exploitation feasible.

Impact

The overall risk is low-to-moderate in operational terms. The CVSS 4.0 base score of 2.9 reflects network reachability (AV:N) but high attack complexity (AC:H), meaning exploitation requires specific timing or state conditions - the substream must be in reopen state when the packet arrives. Impact is limited entirely to availability (VA:L, low), with no confidentiality or integrity impact confirmed. The E:P modifier in the CVSS 4.0 supplemental metrics indicates proof-of-concept exploit code exists, elevating practical concern above a theoretical finding, though this does not equate to active exploitation. The CVE is not listed in CISA KEV, and no EPSS data was provided in the source intelligence. For deployments relying on MQTT-over-QUIC for edge IoT infrastructure, a broker crash may be operationally significant despite the low CVSS score, particularly in environments lacking automatic broker restart or high-availability clustering. The high attack complexity (AC:H) is a meaningful limiting factor - opportunistic mass exploitation is unlikely, but a targeted attacker with knowledge of the QUIC substream state machine could reliably trigger the crash.

Exploit ScenarioDerived

An attacker with network access to the NanoMQ broker's QUIC listener sends a crafted sequence of QUIC stream packets designed to place a substream into the reopen state at a precise moment, then triggers the quic_stream_recv handler against the null substream pointer. The CVSS E:P metric indicates proof-of-concept code demonstrating this state manipulation exists. The broker process crashes, causing a denial of service for all connected MQTT clients until the process is restarted.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 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

Null pointer dereference in NanoMQ MQTT Broker 0.24.8 and earlier causes a denial-of-service condition via the QUIC transport layer. The function quic_stream_recv fails to return after completing an asynchronous I/O operation with an error when a substream is in reopen state, proceeding to lock c->mtx against a null substream pointer. An unauthenticated remote attacker can crash the broker process, disrupting edge messaging services. No public exploit identified at time of analysis beyond proof-of-concept code reflected in the CVSS 4.0 E:P metric; not listed in CISA KEV.

RemediationAI

The primary remediation is to upgrade NanoMQ to a version beyond 0.24.8 that addresses this null pointer dereference; the exact patched release version should be confirmed via the vendor advisory at https://github.com/nanomq/nanomq/security/advisories/GHSA-9qhf-wgp4-p7w5, as the upstream fix version was not independently confirmed in the available intelligence. For deployments unable to upgrade immediately, a viable compensating control is to disable MQTT-over-QUIC transport and fall back to TCP-based MQTT connections, which removes the vulnerable quic_stream_recv code path entirely; the trade-off is loss of QUIC's low-latency characteristics for constrained edge devices. Alternatively, restricting QUIC port access (typically UDP 14567 or the configured QUIC listener port) to trusted IP ranges via firewall policy limits exposure to the network attack vector while preserving QUIC functionality for authorized clients. Process-level mitigations such as configuring a supervisor (systemd, supervisord) to automatically restart the broker on crash can reduce downtime if patching is delayed, though this does not prevent the crash itself.

Affected VersionsENISA

nanomq ≤ 0.24.8

Affected Packages

euvd nanomq no fix

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 MQTT broker implementing the QUIC transport protocol (MQTT-over-QUIC) for low-latency IoT messaging. The vulnerability resides in quic_stream_recv, the receive handler for QUIC stream objects. CWE-476 (NULL Pointer Dereference) describes the root cause: when a QUIC substream transitions to a 'reopen' state, the substream pointer can be null at the point where quic_stream_recv attempts to acquire the connection mutex c->mtx. The code path correctly finishes the asynchronous I/O (AIO) with an error code but omits a guard return before the subsequent mutex lock, meaning execution proceeds to dereference the null pointer. This is a classic CWE-476 pattern - error-path code that partially handles the error condition but fails to fully abort execution. Affected CPE: cpe:2.3:a:nanomq:nanomq:*:*:*:*:*:*:*:* for all versions through 0.24.8.

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 2.9 LOW
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

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

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 29, 2026 - 20:22 NVD
2.9 (LOW)

DescriptionCVE.org

NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In 0.24.8 and earlier, quic_stream_recv can dereference a null substream pointer when a substream is in reopen state. The code finishes the AIO with error but does not return before locking c->mtx.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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 LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

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