CVE-2026-47276
6.5medium
NULL Pointer Dereference in REST API properties_parse via Malformed user_properties
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.41% (higher than 27% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nanomq nanomq | <= 0.24.11 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-47276 changed 2026-07-20 | CVE Terms of Use |
| NVD | CVE-2026-47276 changed 2026-07-23 | Public domain |