Vulnerability · Published Mar 4, 2026 · Assigned by GitHub_M
CVE-2026-22040NanoMQ 0.24.6 Use-After-Free Leading to Heap Corruption and Broker Crash
Medium 5.3
In plain English
A medium-severity use-after-free in nanomq from nanomq. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities).
Official description
NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In version 0.24.6, by generating a combined traffic pattern of high-frequency publishes and rapid reconnect/kick-out using the same ClientID and massive subscribe/unsubscribe jitter, it is possible to reliably trigger heap memory corruption in the Broker process, causing it to exit immediately with SIGABRT due to free(): invalid pointer. As of time of publication, no known patched versions are available.
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://github.com/nanomq/nanomq/security/advisories/GHSA-v57q-w88m-424r x_refsource_CONFIRM