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: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.
{
"cwe_ids": [
"CWE-476"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32696.json"
}{
"cpe": "cpe:2.3:a:emqx:nanomq:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "0.24.7"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}"2026-07-15T22:25:38Z"
[
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 4623.0,
"function_hash": "12081595238386818138118310863616874923"
},
"signature_version": "v1",
"source": "https://github.com/nanomq/nanonng/commit/c20aa27e5290bb480a5315099952480d35f37a8b",
"id": "CVE-2026-32696-0bfee3d0",
"target": {
"function": "set_data",
"file": "src/sp/protocol/mqtt/auth_http.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"94940091925855522222004541940775408739",
"218290455991831011243121887278712093507",
"67934702557345372143078401308618975788",
"261317529484141723142602823488134955794",
"66728917186788997754808855098114605944",
"301698243749248529717284532828550222984",
"75985527154376133731396751135922316093",
"7751025232809709338654827822110748718",
"44561041180091789080643977813476707308",
"4180653322119908880501221426222482622"
]
},
"signature_version": "v1",
"source": "https://github.com/nanomq/nanonng/commit/c20aa27e5290bb480a5315099952480d35f37a8b",
"id": "CVE-2026-32696-cfa63009",
"target": {
"file": "src/sp/protocol/mqtt/auth_http.c"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32696.json"