Buffer overflow in Emqx Nanomq
CVE-2026-32135
NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. Versions prior to 0.24.11 have a remotely triggerable heap buffer overflow in the `uri_param_parse` function of NanoMQ's REST API. The vulnerability occurs due to an off-by-one error when allocating memory for query parameter keys and values, allowing an attacker to write a null byte beyond the allocated buffer. This can be triggered via a crafted HTTP request. Version 0.24.11 patches the issue.
Vulnerability class: Buffer Overflow
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.005, 43.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Emqx Nanomq
- Nanomq — versions < 0.24.11
Weakness classification (CWE)
References
- github.com/nanomq/nanomq/security/advisories/GHSA-6w96-9qw7-m599 (Exploit, Vendor Advisory)
- github.com/nanomq/nanomq/issues/2247 (Issue Tracking)
- github.com/nanomq/nanomq/commit/69a97b3b39cc218f044f1c8896f4d3d8757bb394 (Patch)