Skip to main content

NanoMQ EUVDEUVD-2026-46025

| CVE-2026-47276 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-07-20 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain NanoMQ REST API credentials
  2. Delivery
    Send POST to /api/v4/mqtt/publish
  3. Exploit
    Supply user_properties as JSON array
  4. Execution
    Trigger NULL dereference in properties_parse()
  5. Persist
    Crash broker process
  6. Impact
    Disrupt MQTT message routing

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 valid authentication credentials for the NanoMQ HTTP REST API, consistent with CVSS PR:L - unauthenticated remote exploitation is not possible. The NanoMQ REST API must be enabled and network-reachable from the attacker. The precise trigger is submitting the user_properties field as a JSON array type rather than a JSON object in a POST to /api/v4/mqtt/publish; no other special configuration or non-default feature flag is required beyond having the REST API active. Limiting factors: (1) valid API credentials must be compromised or obtained, ruling out opportunistic internet scanning; (2) the REST API interface must not be firewalled from the attacker's network position; (3) the crash is immediately visible (process terminates), offering no stealth to the attacker. There is no required user interaction beyond the attacker's own API call.

Impact

The CVSS 6.5 score with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately characterises the real-world risk profile. Authentication is required (PR:L), which materially limits opportunistic exploitation to entities holding valid NanoMQ API credentials - significantly reducing the at-risk population compared to unauthenticated vulnerabilities. Once credentials are available, attack complexity is low and the crash is deterministic. The impact is purely availability (A:H, S:U): the broker process terminates completely, but there is no data exfiltration or persistent state corruption. EPSS data was not provided in the source intelligence; based on niche product footprint and authentication prerequisite, real-world exploitation probability is expected to be low. NanoMQ is not listed in CISA KEV, and no public proof-of-concept has been identified at time of analysis. The primary risk is insider threat or compromised API credential in IoT or edge OT deployments where broker downtime disrupts message routing. There are no conflicting signals in the available data.

Exploit ScenarioDerived

An attacker who has obtained valid NanoMQ REST API credentials - either through credential theft, default credentials, or insider access - sends a single POST request to /api/v4/mqtt/publish with the body field user_properties set to a JSON array such as ["malicious"] rather than the required JSON object. The properties_parse() function immediately crashes on the NULL item->string pointer, terminating the broker process and taking down all MQTT messaging for connected IoT devices until the process is restarted. No public exploit code has been identified, but the attack is trivially reproducible by any developer familiar with the API schema.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 20, 2026

NULL pointer dereference in NanoMQ 0.24.11 and earlier allows an authenticated REST API user to crash the entire broker process with a single malformed HTTP request. The properties_parse() function fails to validate that user_properties is a JSON object before iterating its elements, calling strlen() on a NULL pointer and causing a fatal segmentation fault. No active exploitation has been confirmed and no public exploit code has been identified at time of analysis; a vendor patch is available in version 0.24.14.

RemediationAI

Upgrade NanoMQ to version 0.24.14 or later, which patches the NULL pointer dereference in properties_parse() by adding type validation before iterating user_properties elements. Full details are in the vendor advisory at https://github.com/nanomq/nanomq/security/advisories/GHSA-qq2v-xvxg-3hvf. If immediate upgrade is not operationally feasible, restrict network access to the NanoMQ REST API port using firewall rules or a reverse proxy ACL so that only known, trusted clients can reach the /api/v4/mqtt/publish endpoint - note this workaround may break legitimate publish workflows and must be coordinated with application owners. Additionally, audit and rotate REST API credentials to reduce the set of principals capable of triggering the flaw. Because the crash terminates the entire broker process, deploy a process supervisor (systemd, supervisor, Kubernetes restart policy) as a compensating control to restore availability automatically after a crash, accepting that brief disruption will still occur on each exploit attempt.

Affected VersionsENISA

nanomq ≤ 0.24.11

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 a lightweight MQTT 5.0 broker targeting IoT edge computing scenarios, built on the NNG (nanomsg-next-generation) transport library. The vulnerable code path is in properties_parse(), the function responsible for deserializing MQTT user properties submitted via the HTTP REST API endpoint POST /api/v4/mqtt/publish. The root cause is CWE-476 (NULL Pointer Dereference): the MQTT specification defines user properties as key-value pairs (i.e., a JSON object), but the parser performs no type validation before iterating. When a JSON array is supplied instead, array elements carry no named key, leaving item->string as NULL. The subsequent unconditional strlen(item->string) call dereferences this NULL pointer and terminates the process. Affected product scope is confirmed by CPE cpe:2.3:a:nanomq:nanomq:*:*:*:*:*:*:*:* covering all versions through 0.24.11.

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 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

REST API is network-reachable but requires credentials (PR:L); crash kills only the broker process with no data exposure and no scope change (C:N, I:N, S:U, A:H).

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

DescriptionCVE.org

In nanomq versions 0.24.11 and earlier, a NULL pointer dereference in properties_parse() allows an authenticated attacker to crash the NanoMQ broker by sending a POST request to /api/v4/mqtt/publish with user_properties as a JSON array instead of a JSON object. The crash occurs because strlen() is called on a NULL item->string pointer when iterating over array elements. An authenticated attacker can exploit this to crash the NanoMQ broker process. This is patched in version 0.24.14.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Rare
niche IoT edge MQTT broker, limited enterprise production adoption
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.2%
Patch available No
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
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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