Skip to main content

Nanomq CVE-2026-32696

| EUVDEUVD-2026-17209 LOW
NULL Pointer Dereference (CWE-476)
2026-03-30 GitHub_M
3.1
CVSS 3.1 · GitHub Advisory
View

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.

Impact

This vulnerability presents low real-world risk despite being remotely triggerable. The CVSS score of 3.1 (Low) accurately reflects the limited impact: the attack vector is Network (AV:N) and requires no privileges (PR:N), but attack complexity is High (AC:H) and user interaction (UI:R) is required, meaning the attacker must send a specially crafted MQTT CONNECT message that the broker then processes. The availability impact (A:L) is limited to a single denial of service event per crash. The CVSS vector shows no confidentiality or integrity impact. Exploitation requires two preconditions: (1) HTTP authentication must be explicitly enabled by the administrator, and (2) configuration must use the placeholder syntax %u/%P in the auth.http_auth parameters. These constraints significantly reduce attack surface. No CVSS score, EPSS value, or KEV (CISA Known Exploited Vulnerabilities) status indicates active exploitation. No public proof-of-concept exploit code is referenced in the provided intelligence. The vulnerability is straightforward to trigger programmatically once conditions are known, but the high AC and UI requirements, combined with the availability-only impact, place this in the low-priority category despite network accessibility. Organizations using NanoMQ with HTTP authentication disabled or without placeholder configurations are not affected.

Exploit ScenarioDerived

An attacker with network access to a NanoMQ broker instance sends an MQTT CONNECT packet without username/password fields to a broker with HTTP authentication enabled and %u/%P placeholders configured. The broker's auth_http.c module attempts to construct the HTTP authentication request, encounters NULL pointer values for username and password, calls strlen() on NULL, and crashes with SIGSEGV. The broker becomes temporarily unavailable until restarted. If the broker is not monitored or automatically restarted, this causes operational disruption. A single malformed CONNECT message is sufficient; no sustained traffic or complex exploitation technique is required.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 – Mar 30, 2026

Remote denial of service in NanoMQ MQTT Broker 0.24.6 allows unauthenticated remote attackers to crash the broker by connecting without credentials when HTTP authentication is enabled with username/password placeholders, triggering a null pointer dereference in the auth_http.c module. The vulnerability requires high attack complexity (user interaction via specific MQTT CONNECT configuration) but results in broker unavailability. Vendor-released patch version 0.24.7 addresses the issue.

RemediationAI

Upgrade NanoMQ to version 0.24.7 or later, which includes the fix for null pointer handling in the auth_http.c module. The upstream fix is committed at https://github.com/nanomq/nanomq/commit/c20aa27e5290bb480a5315099952480d35f37a8b and integrated pull request https://github.com/nanomq/NanoNNG/pull/1394. For deployments unable to upgrade immediately, temporarily disable HTTP authentication (auth.http_auth) or avoid using %u/%P placeholders in authentication configuration parameters. Administrators should verify broker stability after upgrading and test HTTP authentication functionality with both authenticated and unauthenticated MQTT clients to confirm the crash is resolved.

Affected VersionsENISA

nanomq 0.24.6, < 0.24.7

Affected Packages

euvd nanomq_0_24_6 fix: 0.24.7

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 MQTT message broker used in edge computing environments. The vulnerability exists in the HTTP authentication module (auth_http.c), specifically in the set_data() function responsible for constructing HTTP authentication requests. When HTTP authentication is enabled via auth.http_auth configuration, the broker attempts to validate MQTT CONNECT messages by forwarding credentials to an external HTTP server. The vulnerability occurs when configuration parameters use string placeholders %u (username) and %P (password) but a client connects without providing credentials, leaving these values NULL. The set_data() function unsafely calls strlen() on these NULL pointers without validation, causing a SIGSEGV signal that terminates the broker process. This is a classic null pointer dereference (CWE-476) in memory safety-critical authentication code. The CPE cpe:2.3:a:nanomq:nanomq:*:*:*:*:*:*:*:* confirms the product family is affected across versions prior to the patch.

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

GitHub Advisory PRIMARY 3.1 LOW
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
0.24.7
CVE Published
Mar 30, 2026 - 20:11 nvd
LOW 3.1

DescriptionGitHub Advisory

NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In NanoMQ version 0.24.6, after enabling auth.http_auth (HTTP authentication), when a client connects to the broker using MQTT CONNECT without providing username/password, and the configuration params uses the placeholders %u / %P (e.g., username="%u", password="%P"), the HTTP request construction phase enters auth_http.c:set_data(). This results in calling strlen() on a NULL pointer, causing a SIGSEGV crash. This crash can be triggered remotely, resulting in a denial of service. This issue has been patched in version 0.24.7.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
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.0%
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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