{"id":"CVE-2026-32696","state":"PUBLISHED","title":"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","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.","publishedAt":"2026-03-30T20:11:30.580Z","updatedAt":"2026-03-31T15:24:06.506Z","severity":{"score":3.1,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["nanomq nanomq"],"affected":[{"vendor":"nanomq","product":"nanomq","versions":[{"version":">= 0.24.6, < 0.24.7","status":"affected"}]}],"references":["https://github.com/nanomq/nanomq/security/advisories/GHSA-77f4-wvq8-mp3p","https://github.com/nanomq/NanoNNG/pull/1394","https://github.com/nanomq/NanoNNG/commit/c20aa27e5290bb480a5315099952480d35f37a8b","https://github.com/nanomq/nanomq/releases/tag/0.24.7"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/32xxx/CVE-2026-32696.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-32696","state":"PUBLISHED","datePublished":"2026-03-30T20:11:30.580Z","dateUpdated":"2026-03-31T15:24:06.506Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-13T14:33:42.822Z"},"containers":{"cna":{"title":"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","descriptions":[{"lang":"en","value":"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":[{"vendor":"nanomq","product":"nanomq","versions":[{"version":">= 0.24.6, < 0.24.7","status":"affected"}]}],"references":[{"url":"https://github.com/nanomq/nanomq/security/advisories/GHSA-77f4-wvq8-mp3p","name":"https://github.com/nanomq/nanomq/security/advisories/GHSA-77f4-wvq8-mp3p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nanomq/NanoNNG/pull/1394","name":"https://github.com/nanomq/NanoNNG/pull/1394","tags":["x_refsource_MISC"]},{"url":"https://github.com/nanomq/NanoNNG/commit/c20aa27e5290bb480a5315099952480d35f37a8b","name":"https://github.com/nanomq/NanoNNG/commit/c20aa27e5290bb480a5315099952480d35f37a8b","tags":["x_refsource_MISC"]},{"url":"https://github.com/nanomq/nanomq/releases/tag/0.24.7","name":"https://github.com/nanomq/nanomq/releases/tag/0.24.7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":3.1,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","lang":"en","description":"CWE-476: NULL Pointer Dereference","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-30T20:11:30.580Z"},"source":{"advisory":"GHSA-77f4-wvq8-mp3p","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-31T15:23:56.365413Z","id":"CVE-2026-32696","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-31T15:24:06.506Z"}}]}}}