{"id":"CVE-2026-25627","state":"PUBLISHED","title":"nanomq: OOB Read / Crash (DoS) via Malformed MQTT Remaining Length over WebSocket","description":"NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. Prior to version 0.24.8, NanoMQ’s MQTT-over-WebSocket transport can be crashed by sending an MQTT packet with a deliberately large Remaining Length in the fixed header while providing a much shorter actual payload. The code path copies Remaining Length bytes without verifying that the current receive buffer contains that many bytes, resulting in an out-of-bounds read (ASAN reports OOB / crash). This is remotely triggerable over the WebSocket listener. This issue has been patched in version 0.24.8.","publishedAt":"2026-03-30T20:11:08.586Z","updatedAt":"2026-03-31T19:09:34.784Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/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.8","status":"affected"}]}],"references":["https://github.com/nanomq/nanomq/security/advisories/GHSA-w4rh-v3h2-j29x","https://github.com/nanomq/NanoNNG/pull/1405","https://github.com/nanomq/NanoNNG/commit/e80b30bad6d855593a68d18f2785bfaca6faf09e","https://github.com/nanomq/nanomq/releases/tag/0.24.8"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/25xxx/CVE-2026-25627.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-25627","state":"PUBLISHED","datePublished":"2026-03-30T20:11:08.586Z","dateUpdated":"2026-03-31T19:09:34.784Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-04T05:15:41.789Z"},"containers":{"cna":{"title":"nanomq: OOB Read / Crash (DoS) via Malformed MQTT Remaining Length over WebSocket","descriptions":[{"lang":"en","value":"NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. Prior to version 0.24.8, NanoMQ’s MQTT-over-WebSocket transport can be crashed by sending an MQTT packet with a deliberately large Remaining Length in the fixed header while providing a much shorter actual payload. The code path copies Remaining Length bytes without verifying that the current receive buffer contains that many bytes, resulting in an out-of-bounds read (ASAN reports OOB / crash). This is remotely triggerable over the WebSocket listener. This issue has been patched in version 0.24.8."}],"affected":[{"vendor":"nanomq","product":"nanomq","versions":[{"version":"< 0.24.8","status":"affected"}]}],"references":[{"url":"https://github.com/nanomq/nanomq/security/advisories/GHSA-w4rh-v3h2-j29x","name":"https://github.com/nanomq/nanomq/security/advisories/GHSA-w4rh-v3h2-j29x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nanomq/NanoNNG/pull/1405","name":"https://github.com/nanomq/NanoNNG/pull/1405","tags":["x_refsource_MISC"]},{"url":"https://github.com/nanomq/NanoNNG/commit/e80b30bad6d855593a68d18f2785bfaca6faf09e","name":"https://github.com/nanomq/NanoNNG/commit/e80b30bad6d855593a68d18f2785bfaca6faf09e","tags":["x_refsource_MISC"]},{"url":"https://github.com/nanomq/nanomq/releases/tag/0.24.8","name":"https://github.com/nanomq/nanomq/releases/tag/0.24.8","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-30T20:11:08.586Z"},"source":{"advisory":"GHSA-w4rh-v3h2-j29x","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nanomq/nanomq/security/advisories/GHSA-w4rh-v3h2-j29x","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-31T18:38:44.968276Z","id":"CVE-2026-25627","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-31T19:09:34.784Z"}}]}}}