CVE-2026-25627
MEDIUMnanomq: OOB Read / Crash (DoS) via Malformed MQTT Remaining Length over WebSocket
Title source: cnaDescription
NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. Prior to version 0.24.8, NanoMQ’s MQTT-over-WebSocket transport can be crashed by sending an MQTT packet with a deliberately large Remaining Length in the fixed header while providing a much shorter actual payload. The code path copies Remaining Length bytes without verifying that the current receive buffer contains that many bytes, resulting in an out-of-bounds read (ASAN reports OOB / crash). This is remotely triggerable over the WebSocket listener. This issue has been patched in version 0.24.8.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/nanomq/nanomq/security/advisories/GHSA-w4rh-v3h2-j29x
X_Refsource_Misc x_refsource_misc
https://github.com/nanomq/NanoNNG/pull/1405
X_Refsource_Misc x_refsource_misc
https://github.com/nanomq/NanoNNG/commit/e80b30bad6d855593a68d18f2785bfaca6faf09e
X_Refsource_Misc x_refsource_misc
https://github.com/nanomq/nanomq/releases/tag/0.24.8
Scores
CVSS v3
6.5
EPSS
0.0047
EPSS Percentile
37.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-125
Status
published
Products (2)
emqx/nanomq
< 0.24.8
nanomq/nanomq
< 0.24.8
Published
Mar 30, 2026
Tracked Since
Mar 31, 2026