{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.24.8"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b9d7c50427cf08f7d2bfc3a14fc6491240c22f06"
            }
          ],
          "repo": "https://github.com/nanomq/nanonng",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w4rh-v3h2-j29x"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25627.json"
  },
  "details": "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.",
  "id": "CVE-2026-25627",
  "modified": "2026-04-01T23:10:31.589906148Z",
  "published": "2026-03-30T20:11:08.586Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25627.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nanomq/NanoNNG/commit/e80b30bad6d855593a68d18f2785bfaca6faf09e"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nanomq/NanoNNG/pull/1405"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nanomq/nanomq/releases/tag/0.24.8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nanomq/nanomq/security/advisories/GHSA-w4rh-v3h2-j29x"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25627"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "nanomq: OOB Read / Crash (DoS) via Malformed MQTT Remaining Length over WebSocket"
}