Intel

AIKIDO-2026-366393

nanomq.nanomq is vulnerable to Out-of-bounds Read

Out-of-bounds ReadCVE-2026-73863 Published Today

70

High Risk

This Affects:

C++nanomq.nanomq
0.0.1 - 0.24.13
Fixed in 0.24.14
Are you affected? Scan for Free

TL;DR

NanoMQ's SUBSCRIBE parser in nmq_subinfo_decode() reuses the len_of_varint variable for both the outer Properties Length and the inner SUBSCRIPTION_IDENTIFIER varints without resetting it, so get_var_integer() starts reading at the wrong offset. Combined with missing bounds checking, a crafted Properties field full of repeated subscription-identifier bytes drives the parser to read past the end of the message buffer. An unauthenticated MQTT v5 client can crash the broker, leading to out-of-bounds read. The fix resets the length variable and adds bounds validation during property decoding.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your NanoMQ broker accepts MQTT v5 client connections.

Background info

nanomq.nanomq is vulnerable to Out-of-bounds Read in versions 0.0.1 - 0.24.13.

How to fix this

Upgrade the nanomq.nanomq and/or nanomq.NanoNNG library to the patch version.