Vulnerability · Published Mar 30, 2026 · Assigned by GitHub_M
CVE-2026-32696NanoMQ HTTP Auth: Missing username/password can trigger a NULL-pointer strlen() in auth_http.c:set_data(), causing a process crash — SIGSEGV, remotely triggerable
Low 3.1
In plain English
A low-severity null pointer dereference in nanomq from nanomq. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-476 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
References
- https://github.com/nanomq/nanomq/security/advisories/GHSA-77f4-wvq8-mp3p x_refsource_CONFIRM
- https://github.com/nanomq/NanoNNG/pull/1394 x_refsource_MISC
- https://github.com/nanomq/NanoNNG/commit/c20aa27e5290bb480a5315099952480d35f37a8b x_refsource_MISC
- https://github.com/nanomq/nanomq/releases/tag/0.24.7 x_refsource_MISC