What’s Vulnerable › Vulnerabilities
CVE-2026-32696: NanoMQ HTTP Auth: Missing username/password can trigger a NULL-pointer strlen() in auth_http.c:set_data(), causing a process crash — SIGSEGV, remotely triggerable
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-30 · updated 2026-06-17
- Weakness: CWE-476
Description
NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In NanoMQ version 0.24.6, after enabling auth.http_auth (HTTP authentication), when a client connects to the broker using MQTT CONNECT without providing username/password, and the configuration params uses the placeholders %u / %P (e.g., username="%u", password="%P"), the HTTP request construction phase enters auth_http.c:set_data(). This results in calling strlen() on a NULL pointer, causing a SIGSEGV crash. This crash can be triggered remotely, resulting in a denial of service. This issue has been patched in version 0.24.7.
Affected products
- nanomq: before 0.24.7 — fixed in 0.24.7
How to fix
Upgrade to a fixed version: nanomq 0.24.7. Check the vendor advisory for mitigations.
References
- https://github.com/nanomq/NanoNNG/commit/c20aa27e5290bb480a5315099952480d35f37a8b
- https://github.com/nanomq/NanoNNG/pull/1394
- https://github.com/nanomq/nanomq/releases/tag/0.24.7
- https://github.com/nanomq/nanomq/security/advisories/GHSA-77f4-wvq8-mp3p
Get alerted when CVE-2026-32696 or the next vulnerability affects your stack