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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
Lifecycle Timeline
2DescriptionGitHub 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
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
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.
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-17209
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB