CVE-2026-22040
NanoMQ 0.24.6 Use-After-Free Leading to Heap Corruption and Broker Crash
- State
- Published
- Severity
- 5.3 Medium
- Published
- Mar 4, 2026
- Updated
- Mar 5, 2026
- Reserved
- Jan 5, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H | GitHub_M |
Weaknesses
- CWE-416 Use After Free
Affected Products
| Product | Versions |
|---|---|
nanomqnanomq |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.