{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.21.7"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "9ebf00dbba21811eb0f107b9333c658a265b997f"
            }
          ],
          "repo": "https://github.com/emqx/nanomq",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A heap-buffer-overflow vulnerability in the read_byte function in NanoMQ v.0.21.7 allows attackers to cause a denial of service via transmission of crafted hexstreams.",
  "id": "CVE-2024-31036",
  "modified": "2026-03-13T21:49:48.332859193Z",
  "published": "2024-04-22T22:15:07.400Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/nanomq/nanomq/issues/1722"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H",
      "type": "CVSS_V3"
    }
  ]
}