Resource exhaustion in Emqx Nanomq
CVE-2024-42651
NanoMQ v0.17.9 was discovered to contain a heap use-after-free vulnerability via the component sub_Ctx_handle. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted SUBSCRIBE message.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.004 (35.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 35th percentile — 35.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Emqx Nanomq — versions 0.17.9
Weakness classification (CWE)
References
- github.com/nanomq/nanomq (Product)
- github.com/nanomq/nanomq/issues/1217 (Exploit, Issue Tracking)
- github.com/songxpu/bug_report/blob/master/MQTT/NanoMQ/CVE-2024-42651.md (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-42651?
- CVE-2024-42651 is a high-severity vulnerability in Emqx Nanomq, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2025-07-29.
- How severe is CVE-2024-42651?
- High severity. CVSS v3 base score is 7.5 out of 10.