Out-of-bounds Read in Emqx Nanomq
CVE-2026-25627
- CVSS v3
- 6.5 Medium
- Public exploits
- None known
- EPSS
- 0.005 · 43.8th percentile
- Published
- 2026-03-30
What to do
- Fixed in
0.24.8- Affected
- 2 affected products
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.005, 43.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Emqx Nanomq
- Nanomq — versions < 0.24.8
Weakness classification (CWE)
References
- https://github.com/nanomq/nanomq/security/advisories/GHSA-w4rh-v3h2-j29x (Exploit, Vendor Advisory)
- https://github.com/nanomq/NanoNNG/pull/1405 (Patch, Issue Tracking)
- https://github.com/nanomq/NanoNNG/commit/e80b30bad6d855593a68d18f2785bfaca6faf09e (Patch)
- https://github.com/nanomq/nanomq/releases/tag/0.24.8 (Release Notes)