CVE-2026-47276 MEDIUM

CVE-2026-47276: NULL Pointer Dereference in REST API properties_parse via Malformed user_properties

Vendor Nanomq
Product nanomq
Weakness CWE-476
Published July 20, 2026
Last update July 20, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 20, 2026 CVE published
July 20, 2026 Record updated