CVE-2026-22040 in Emqx Nanomq
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Emqx | Nanomq | < 0.24.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-22040 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-066851-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
| Published | 2026-03-04 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
CVE-2026-22040 affects NanoMQ MQTT Broker version 0.24.6, causing heap memory corruption through a specific traffic pattern, leading to broker process termination.
The attack involves generating a high-frequency publish traffic combined with rapid reconnect and kick-out attempts using the same ClientID, along with massive subscribe/unsubscribe jitter, which triggers heap memory corruption.
Questions
What is CVE-2026-22040?
CVE-2026-22040 affects NanoMQ MQTT Broker version 0.24.6, causing heap memory corruption through a specific traffic pattern, leading to broker process termination.
What is the CVSS score for CVE-2026-22040?
CVE-2026-22040 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H. EPSS: 0.4%.
Is CVE-2026-22040 actively exploited?
No confirmed active exploitation of CVE-2026-22040 as of 2026-09-25.
How do I remediate CVE-2026-22040?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-22040?
CVE-2026-22040 affects Emqx Nanomq.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Emqx","product":"Nanomq","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.