{
  "id": "CVE-2026-25627",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-25627",
  "published_at": "2026-03-30T20:11:08.586Z",
  "title": "nanomq: OOB Read / Crash (DoS) via Malformed MQTT Remaining Length over WebSocket",
  "vendor": "nanomq",
  "product": "nanomq",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:a:emqx:nanomq:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.5,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "nanomq",
        "product": "nanomq",
        "ranges": [
          "\u003c 0.24.8"
        ],
        "fixed_in": [
          "0.24.8"
        ]
      }
    ],
    "upgrade": [
      "Upgrade nanomq to 0.24.8 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/nanomq/nanomq/security/advisories/GHSA-w4rh-v3h2-j29x"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nanomq/NanoNNG/pull/1405"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nanomq/NanoNNG/commit/e80b30bad6d855593a68d18f2785bfaca6faf09e"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/nanomq/nanomq/releases/tag/0.24.8"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
