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

Read the record on cve.org

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

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

Affected Products

ProductVersions
nanomqnanomq
  • = 0.24.6Affected

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.