CVE-2026-22040: NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform
CVE-2026-22040 is a medium-severity flaw (CVSS 5.3) affecting nanomq. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 patc
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 86%) |
| CISA exploited list | No |
| Weakness | CWE-416 |
| Published | 2026-03-04 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-22040?
nanomq: upgrade to 0.24.6. Exact commands for each OS are on this page.
Is CVE-2026-22040 being exploited?
CVE-2026-22040 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-22040 affect?
CVE-2026-22040 affects nanomq. Severity is medium (CVSS 5.3). 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/unsubsc
How urgent is CVE-2026-22040?
Priority 27/100. Public exploit reference
Related CVEs
- CVE-2026-36590 HIGH 7.5 DOWNGRADE An issue in EMQ NanoMQ v.0.24.9 allows a remote attacker to cause a denial of service via the nni_qos_db_set f
- CVE-2026-34608 MEDIUM 4.9 UPGRADE NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform
- CVE-2026-32696 LOW 3.1 UPGRADE NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform
- CVE-2026-25627 MEDIUM 6.5 UPGRADE NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform
- CVE-2025-68699 MEDIUM 6.5 DOWNGRADE NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform