NULL pointer dereference in Nanomq

CVE-2026-47276

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.

EPSS: 0.004 (34.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Nanomq — versions <= 0.24.11

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-47276?
CVE-2026-47276 is a medium-severity vulnerability in Nanomq, classified under NULL Pointer Dereference. CVSS score: 6.5/10. Published 2026-07-20.
How severe is CVE-2026-47276?
Medium severity. CVSS v3 base score is 6.5 out of 10.