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.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-476 — CWE-476: NULL Pointer Dereference
Affected products
| Vendor | Product | Versions |
|---|---|---|
| nanomq | nanomq | <= 0.24.11 |
References
- https://github.com/nanomq/nanomq/security/advisories/GHSA-qq2v-xvxg-3hvf (x_refsource_CONFIRM)
Generated from the official CVE List on 21 Jul 2026 07:01 UTC.