Protocol-Semantics Flaw in NanoMQ MQTT v5 Handling
CVE-2026-35217

6.5MEDIUM

Key Information:

Vendor

NanoMQ

Status
Vendor
CVE Published:
20 July 2026

What is CVE-2026-35217?

NanoMQ contains a protocol-semantics flaw in its MQTT v5 SUBSCRIBE handling that allows a broker to accept malformed subscription packets. If the final 1-byte Subscription Options field is missing, the packet can still be registered in the broker's internal state. This flaw can lead to a 1-byte out-of-bounds read, triggering a heap-buffer-overflow according to ASAN. In certain conditions, a malformed SUBSCRIBE packet that should normally be rejected is treated as a successful subscription, creating vulnerabilities in memory management and potential security risks.

Affected Version(s)

nanomq <= 0.24.14

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.