CVE-2026-25627 json
nanomq: OOB Read / Crash (DoS) via Malformed MQTT Remaining Length over WebSocket
published 2026-03-30 7 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-17195
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- emqx nanomq 0.24.8
- github.com/nanomq/NanoNNG@e80b30b commit
- github.com/nanomq/NanoNNG#1405 pull request
- github.com/nanomq/nanomq/releases/tag/0.24.8 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nanomq/nanomq/security/advisories/GHSA-w4rh-v3h2-j29x referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected products
- nanomq nanomq
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/nanomq/NanoNNG/pull/1405
issue-tracking, patch
-
github.com
/nanomq/NanoNNG/commit/e80b30bad6d855593a68d18f2785bfaca6faf09e
patch
-
github.com
/nanomq/nanomq/security/advisories/GHSA-w4rh-v3h2-j29x
exploit, vendor-advisory
-
github.com
/nanomq/nanomq/releases/tag/0.24.8
release-notes
Sources
- CVE List CVE-2026-25627
- NVD CVE-2026-25627
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.