{"id":"CVE-2026-32134","state":"PUBLISHED","title":"NanoMQ: NULL Pointer Dereference Crash in tcptran_pipe_peer During Session Restore","description":"NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In versions 0.24.10 and below, when NanoMQ handles high-concurrency reconnect traffic using a reconnect-collision payload, the broker can crash due to a NULL pointer dereference during MQTT session resumption for clean_start=0 clients. The transport's p_peer callback (tcptran_pipe_peer()) iterates cpipe->subinfol while copying session metadata from the cached old pipe to the new reconnecting pipe, without checking whether the pointer is NULL. Under a reconnect race, cpipe->subinfol can be freed and set to NULL before session restore invokes this function, resulting in a remote unauthenticated Denial-of-Service (process crash) condition. This issue has been fixed in version 0.24.11.","publishedAt":"2026-05-19T17:22:13.431Z","updatedAt":"2026-05-19T18:01:45.428Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["nanomq nanomq","nanomq NanoNNG"],"affected":[{"vendor":"nanomq","product":"nanomq","versions":[{"version":"< 0.24.11","status":"affected"}]},{"vendor":"nanomq","product":"NanoNNG","versions":[{"version":"< 0.24.11","status":"affected"}]}],"references":["https://github.com/nanomq/nanomq/security/advisories/GHSA-q36f-83mh-pcv2","https://github.com/nanomq/nanomq/issues/2241","https://github.com/nanomq/NanoNNG/commit/522ec62e29e60d1122f2aedaa6e702dcf089f7bb","https://github.com/nanomq/nanomq/releases/tag/0.24.11"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/32xxx/CVE-2026-32134.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-32134","state":"PUBLISHED","datePublished":"2026-05-19T17:22:13.431Z","dateUpdated":"2026-05-19T18:01:45.428Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-10T22:19:36.546Z"},"containers":{"cna":{"title":"NanoMQ: NULL Pointer Dereference Crash in tcptran_pipe_peer During Session Restore","descriptions":[{"lang":"en","value":"NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In versions 0.24.10 and below, when NanoMQ handles high-concurrency reconnect traffic using a reconnect-collision payload, the broker can crash due to a NULL pointer dereference during MQTT session resumption for clean_start=0 clients. The transport's p_peer callback (tcptran_pipe_peer()) iterates cpipe->subinfol while copying session metadata from the cached old pipe to the new reconnecting pipe, without checking whether the pointer is NULL. Under a reconnect race, cpipe->subinfol can be freed and set to NULL before session restore invokes this function, resulting in a remote unauthenticated Denial-of-Service (process crash) condition. This issue has been fixed in version 0.24.11."}],"affected":[{"vendor":"nanomq","product":"nanomq","versions":[{"version":"< 0.24.11","status":"affected"}]},{"vendor":"nanomq","product":"NanoNNG","versions":[{"version":"< 0.24.11","status":"affected"}]}],"references":[{"url":"https://github.com/nanomq/nanomq/security/advisories/GHSA-q36f-83mh-pcv2","name":"https://github.com/nanomq/nanomq/security/advisories/GHSA-q36f-83mh-pcv2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nanomq/nanomq/issues/2241","name":"https://github.com/nanomq/nanomq/issues/2241","tags":["x_refsource_MISC"]},{"url":"https://github.com/nanomq/NanoNNG/commit/522ec62e29e60d1122f2aedaa6e702dcf089f7bb","name":"https://github.com/nanomq/NanoNNG/commit/522ec62e29e60d1122f2aedaa6e702dcf089f7bb","tags":["x_refsource_MISC"]},{"url":"https://github.com/nanomq/nanomq/releases/tag/0.24.11","name":"https://github.com/nanomq/nanomq/releases/tag/0.24.11","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","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-05-19T17:22:13.431Z"},"source":{"advisory":"GHSA-q36f-83mh-pcv2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nanomq/nanomq/security/advisories/GHSA-q36f-83mh-pcv2","tags":["exploit"]},{"url":"https://github.com/nanomq/nanomq/issues/2241","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-19T17:58:24.262200Z","id":"CVE-2026-32134","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-05-19T18:01:45.428Z"}}]}}}