CVE-2026-36590 Details
Description
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 function in broker_tcp.c component
A denial-of-service vulnerability has been identified in EMQ NanoMQ version 0.24.9. The issue arises when NanoMQ is built without SQLite support, yet the configuration file enables SQLite persistence. This mismatch leads to a null pointer in the Quality of Service (QoS) database, causing the `nni_qos_db_set` function to return prematurely without releasing message references. As a result, repeated MQTT PUBLISH messages with QoS greater than zero can accumulate, causing excessive memory consumption and eventually crashing the broker.
Users are advised to restrict access to NanoMQ instances, avoid exposing MQTT services to untrusted clients, and ensure that SQLite persistence is not enabled in builds without SQLite support. The NanoMQ development team should also implement startup validation for SQLite configuration and modify the `nni_qos_db_set` function to release message references when the database pointer is null.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MoXie25/NanoMQ-Memory-Leak-Research/blob/main/README.md | CISA-ADP | Third Party Advisory |
| https://github.com/MoXie25/NanoMQ-Memory-Leak-Research/blob/main/README.md | [email protected] | Third Party Advisory |
| https://github.com/MoXie25/NanoMQ-Memory-Leak-Research.git | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | CISA-ADP |
| CWE-772 | Missing Release of Resource after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| emqx nanomq | 0.24.9 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 16, 2026 | Initial Analysis | [email protected] |
| Jul 16, 2026 | CVE Modified | CISA-ADP |
| Jul 15, 2026 | New CVE Received | [email protected] |