CVE-2024-42651
CVE-2024-42651 is a high-severity vulnerability in Emqx Nanomq with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-400.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 0% (34th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-54836
- Weakness: CWE-400
- Affected product: Emqx Nanomq
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2024-42651?
- CVE-2024-42651 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2024-42651 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (34th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-42651?
- CVE-2024-42651 affects Emqx Nanomq. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-42651?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-42651 have an EU (EUVD) identifier?
- Yes. CVE-2024-42651 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-54836.
- When was CVE-2024-42651 published?
- CVE-2024-42651 was published on 2025-07-29 and last updated on 2026-06-17.
References
- https://github.com/nanomq/nanomq
- https://github.com/nanomq/nanomq/issues/1217
- https://github.com/songxpu/bug_report/blob/master/MQTT/NanoMQ/CVE-2024-42651.md
Affected products (1)
- cpe:2.3:a:emqx:nanomq:0.17.9:*:*:*:*:*:*:*
More vulnerabilities in Emqx Nanomq
- CVE-2025-59947 — Critical (CVSS 9.0): NanoMQ is a messaging broker/bus for IoT Edge & SDV. Versions prior to 0.24.4 have a buffer overflow case while the…
- CVE-2024-42655 — High (CVSS 8.8): An access control issue in NanoMQ v0.21.10 allows attackers to bypass security restrictions and access sensitive system…
- CVE-2023-34488 — High (CVSS 7.8): NanoMQ 0.17.5 has a one-byte heap-based buffer over-read in the conn_handler function of mqtt_parser.c when it…
- CVE-2026-32135 — High (CVSS 7.5): NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. Versions prior to 0.24.11 have a remotely…
- CVE-2026-21888 — High (CVSS 7.5): NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. MQTT v5 Variable Byte Integer parsing…
- CVE-2024-48077 — High (CVSS 7.5): NanoMQ v0.22.7 is vulnerable to Denial of Service (DoS) due to improper resource throttling. A crafted sequence of…
All CVEs affecting Emqx Nanomq →
Other CWE-400 (Uncontrolled Resource Consumption) vulnerabilities
- CVE-2026-46775 — Critical (CVSS 9.9): Vulnerability in Oracle REST Data Services (component: Core). Supported versions that are affected are 24.2.0-26.1.0.…
- CVE-2025-61303 — Critical (CVSS 9.8): Hatching Triage Sandbox Windows 10 build 2004 (2025-08-14) and Windows 10 LTSC 2021(2025-08-14) contains a…
- CVE-2025-43193 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.6, macOS Sonoma 14.7.7,…
- CVE-2025-24269 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4. An app may be able to…
- CVE-2025-24264 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS 18.4,…
- CVE-2025-24260 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5,…
Browse all CWE-400 (Uncontrolled Resource Consumption) vulnerabilities →