CVE-2026-47276 Details
Description
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.
A NULL pointer dereference vulnerability has been identified in NanoMQ versions through 0.24.11. The issue arises in the `properties_parse()` function, where the code incorrectly assumes that `user_properties` is a JSON object. This flaw allows an authenticated attacker to crash the NanoMQ broker by sending a POST request to `/api/v4/mqtt/publish` with `user_properties` formatted as a JSON array instead of a JSON object. The exploitation occurs because the function attempts to read the length of a NULL pointer, leading to a segmentation fault and causing the broker process to terminate. This vulnerability requires authentication and can be exploited using the default REST API credentials of `admin:public`. The crash disrupts all connected MQTT clients, causing a widespread denial-of-service effect.
Users can upgrade to NanoMQ version 0.24.14 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 20, 2026CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nanomq/nanomq/security/advisories/GHSA-qq2v-xvxg-3hvf | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/nanomq/nanomq/security/advisories/GHSA-qq2v-xvxg-3hvf | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nanomq | <= 0.24.11 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | New CVE Received | [email protected] |
Volerion