Skip to main content
← All vulnerabilities
CVE-2026-25627

nanomq: OOB Read / Crash (DoS) via Malformed MQTT Remaining Length over WebSocket

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.24.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nanomq nanomq

    fixed in 0.24.8

References 4

GitHub · nanomq/nanomq

GitHub · nanomq/NanoNNG