CVE-2026-25627
Severity CVSS v4.0:
Pending analysis
Type:
CWE-125
Out-of-bounds Read
Publication date:
30/03/2026
Last modified:
02/04/2026
Description
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.
Impact
Base Score 3.x
6.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:emqx:nanomq:*:*:*:*:*:*:*:* | 0.24.8 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/nanomq/NanoNNG/commit/e80b30bad6d855593a68d18f2785bfaca6faf09e
- https://github.com/nanomq/NanoNNG/pull/1405
- https://github.com/nanomq/nanomq/releases/tag/0.24.8
- https://github.com/nanomq/nanomq/security/advisories/GHSA-w4rh-v3h2-j29x
- https://github.com/nanomq/nanomq/security/advisories/GHSA-w4rh-v3h2-j29x



