{"id":"CVE-2026-32696","summary":"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","details":"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.","aliases":["GHSA-77f4-wvq8-mp3p"],"modified":"2026-08-12T15:33:08.064628Z","published":"2026-03-30T20:11:30.580Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32696.json"},"references":[{"type":"WEB","url":"https://github.com/nanomq/nanomq/releases/tag/0.24.7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32696.json"},{"type":"ADVISORY","url":"https://github.com/nanomq/nanomq/security/advisories/GHSA-77f4-wvq8-mp3p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32696"},{"type":"FIX","url":"https://github.com/nanomq/NanoNNG/commit/c20aa27e5290bb480a5315099952480d35f37a8b"},{"type":"FIX","url":"https://github.com/nanomq/NanoNNG/pull/1394"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nanomq/nanomq","events":[{"introduced":"0"},{"fixed":"53afcd687801f3efefb8b333c2a9200ed1a35979"}],"database_specific":{"cpe":"cpe:2.3:a:emqx:nanomq:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.24.7"}],"source":["CPE_RANGE","REFERENCES"]}},{"type":"GIT","repo":"https://github.com/nanomq/nanonng","events":[{"introduced":"ed3ca6fe91f341e72cbee0b13321dc9502c7c09c"},{"fixed":"c20aa27e5290bb480a5315099952480d35f37a8b"}],"database_specific":{"extracted_events":[{"introduced":"0.24.6"},{"fixed":"0.24.7"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["0.24.6","0.24.5","0.24.4","0.24.3-5","0.24.3","0.24.2","0.24.1","0.24.0","0.23.10","0.23.9","0.23.8","0.23.7-11","0.23.7","0.23.6","0.23.5","0.23.4","0.23.3","0.23.2","0.23.1","0.23.0","0.22.10","0.22.8","0.22.7","0.22.6","0.22.2","0.22.3","0.22.1","0.22.0","0.21.10","0.21.9","0.21.8","0.21.7","0.21.6","0.21.5","0.21.2","0.21.1","0.21","0.20.8","0.20.6","0.20.5","0.20.0","0.19.5","0.19.1","0.19.0","0.18.2","0.18.1","0.17.8","0.17.5","0.17.2","0.16.5","0.16.3","0.16.2","0.16.0","0.15.5","0.15.3","0.15.2","0.15.1","0.15.0","0.14.8","0.14.5","0.12.1","0.14.1","0.14.0","0.13.8","0.13.6","0.13.0","0.12.5","0.12.2","0.12.0","0.11.82","0.11.8","0.11.5","0.11.3","0.11.2","0.11.0","0.10.8","0.10.5","0.10.1","0.9.7","0.9.5","0.9.2","0.9.0","0.8.6log","0.8.5","0.8.3","0.8.0","0.7.9","0.7.8","0.7.5","0.7.5rc","0.7.4rc","0.7.4","0.7.3","0.7.2","0.6.8","0.7.0","0.6.7rc","0.6.4","0.6.3","0.6.2","0.6.0","0.5.9","0.5.8","0.5.5","0.5.2","0.5.0","0.4.8","0.4.5","0.4.3","0.4.2","0.4.1","0.4.0","0.3.8","0.3.5","0.3.4","0.3.3","0.3.2","0.3.0","0.2.5","0.2.2","0.2.1","0.2.0","0.1.0","0.0.3","0.0.2","0.0.1"],"database_specific":{"vanir_signatures":[{"signature_version":"v1","source":"https://github.com/nanomq/nanonng/commit/c20aa27e5290bb480a5315099952480d35f37a8b","target":{"file":"src/sp/protocol/mqtt/auth_http.c","function":"set_data"},"deprecated":false,"digest":{"function_hash":"12081595238386818138118310863616874923","length":4623},"id":"CVE-2026-32696-0bfee3d0","signature_type":"Function"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/nanomq/nanonng/commit/c20aa27e5290bb480a5315099952480d35f37a8b","target":{"file":"src/sp/protocol/mqtt/auth_http.c"},"deprecated":false,"digest":{"line_hashes":["94940091925855522222004541940775408739","218290455991831011243121887278712093507","67934702557345372143078401308618975788","261317529484141723142602823488134955794","66728917186788997754808855098114605944","301698243749248529717284532828550222984","75985527154376133731396751135922316093","7751025232809709338654827822110748718","44561041180091789080643977813476707308","4180653322119908880501221426222482622"],"threshold":0.9},"id":"CVE-2026-32696-cfa63009"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32696.json","vanir_signatures_modified":"2026-08-12T15:33:08Z"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"}]}