Impact
NanoMQ’s MQTT v5 SUBSCRIBE handler contains a parsing defect that accepts malformed packets missing the final Subscription Options byte. When processed, the broker may install the subscription into its internal state, effectively granting an unauthorized subscription. With a carefully constructed packet length, the same flaw triggers a one‑byte out‑of‑bounds read that crosses the heap allocation boundary, which is detected by AddressSanitizer as a heap‑buffer‑overflow. The vulnerability is a semantic violation tied to the same parsing issue and could lead to broker instability, crash, or unintended disclosure of internal data.
Affected Systems
The affected product is NanoMQ, released by the nanomq:nanomq CNA. No specific version numbers are provided in the advisory, so all releases that have not incorporated the patch are considered vulnerable.
Risk and Exploitability
The CVSS score of 6.5 denotes medium severity. The EPSS score is < 1%, indicating a very low but non‑zero likelihood of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. The flaw can be triggered over the network by sending a crafted MQTT SUBSCRIBE packet. While the vulnerability requires some packet‑length manipulation, it does not need local access and could be used to disrupt broker operation or, in the out‑of‑bounds read scenario, cause a crash or information leak.
OpenCVE Enrichment