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

Published Mar 30, 2026
·
Updated

NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In NanoMQ version 0.24.6, after enabling auth.httpauth (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 authhttp.c:setdata(). 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 Software

2 affected components
EMQ NanoMQ<0.24.7
emqx Nanomq<0.24.7

Event History

Mar 30, 2026
CVE Published
via MITRE·08:11 PM
Data Sourced
via MITRE·08:11 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 16, 58252
Event
via NVD·05:43 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-32696?

CVE-2026-32696 is classified as a high-severity vulnerability due to the potential for a remote crash of the NanoMQ MQTT Broker.

2

How do I fix CVE-2026-32696?

To fix CVE-2026-32696, update NanoMQ to version 0.24.7 or later, where the vulnerability has been addressed.

3

What causes the vulnerability in CVE-2026-32696?

CVE-2026-32696 is caused by a NULL-pointer dereference in the function set_data() when username/password are missing in HTTP authentication.

4

Is CVE-2026-32696 remotely exploitable?

Yes, CVE-2026-32696 can be remotely triggered, allowing an attacker to crash the MQTT Broker.

5

What software versions are affected by CVE-2026-32696?

CVE-2026-32696 affects NanoMQ versions prior to 0.24.7, specifically version 0.24.6.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203