CVE-2026-32135 NanoMQ has Heap Buffer Overflow in URI Parameter Parsing
A heap buffer overflow in NanoMQ's REST API allows remote attackers to execute arbitrary code or cause denial of service via crafted HTTP requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-32135?
CVE-2026-32135 is a high-severity memory corruption vulnerability in nanomq, published on 20 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-122
Which versions are affected by CVE-2026-32135?
It affects 1 product.
Products include Emqx Nanomq.
How do I fix CVE-2026-32135?
No fix has been published for CVE-2026-32135 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-32135 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32135 exists.
Other vulnerabilities in nanomq
Sources
Also known as GHSA-6w96-9qw7-m599.