{"id":"CVE-2026-22040","state":"PUBLISHED","title":"NanoMQ 0.24.6 Use-After-Free Leading to Heap Corruption and Broker Crash","description":"NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In version 0.24.6, by generating a combined traffic pattern of high-frequency publishes and rapid reconnect/kick-out using the same ClientID and massive subscribe/unsubscribe jitter, it is possible to reliably trigger heap memory corruption in the Broker process, causing it to exit immediately with SIGABRT due to free(): invalid pointer. As of time of publication, no known patched versions are available.","publishedAt":"2026-03-04T21:55:11.238Z","updatedAt":"2026-03-05T15:42:26.352Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["nanomq nanomq"],"affected":[{"vendor":"nanomq","product":"nanomq","versions":[{"version":"= 0.24.6","status":"affected"}]}],"references":["https://github.com/nanomq/nanomq/security/advisories/GHSA-v57q-w88m-424r"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22040.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22040","state":"PUBLISHED","datePublished":"2026-03-04T21:55:11.238Z","dateUpdated":"2026-03-05T15:42:26.352Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-05T22:30:38.719Z"},"containers":{"cna":{"title":"NanoMQ 0.24.6 Use-After-Free Leading to Heap Corruption and Broker Crash","descriptions":[{"lang":"en","value":"NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In version 0.24.6, by generating a combined traffic pattern of high-frequency publishes and rapid reconnect/kick-out using the same ClientID and massive subscribe/unsubscribe jitter, it is possible to reliably trigger heap memory corruption in the Broker process, causing it to exit immediately with SIGABRT due to free(): invalid pointer. As of time of publication, no known patched versions are available."}],"affected":[{"vendor":"nanomq","product":"nanomq","versions":[{"version":"= 0.24.6","status":"affected"}]}],"references":[{"url":"https://github.com/nanomq/nanomq/security/advisories/GHSA-v57q-w88m-424r","name":"https://github.com/nanomq/nanomq/security/advisories/GHSA-v57q-w88m-424r","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.3,"baseSeverity":"MEDIUM","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:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","description":"CWE-416: Use After Free","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-04T21:55:11.238Z"},"source":{"advisory":"GHSA-v57q-w88m-424r","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-05T15:29:16.882273Z","id":"CVE-2026-22040","options":[{"Exploitation":"none"},{"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-05T15:42:26.352Z"}}]}}}