7.7high
NanoMQ has Heap Buffer Overflow in URI Parameter Parsing
- Severity
- 7.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.52% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nanomq nanomq | < 0.24.11 | CVE List |
| emqx nanomq | before 0.24.11 | NVD |
All scores
| GitHub_M | 7.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
NanoMQ MQTT Broker (NanoMQ) es una plataforma de mensajería perimetral integral. Las versiones anteriores a la 0.24.11 tienen un desbordamiento de búfer de pila (heap) activable remotamente en la función ’uri_param_parse’ de la API REST de NanoMQ. La vulnerabilidad se produce debido a un error de uno (off-by-one) al asignar memoria para las claves y valores de los parámetros de consulta, permitiendo a un atacante escribir un byte nulo más allá del búfer asignado. Esto puede ser activado mediante una solicitud HTTP manipulada. La versión 0.24.11 soluciona el problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-32135 changed 2026-04-21 | CVE Terms of Use |
| NVD | CVE-2026-32135 changed 2026-11-11 | Public domain |