{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.17.9"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "d94cac6b692c7cda7921eff319265b34bfd920c5"
            }
          ],
          "repo": "https://github.com/emqx/nanomq",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "NanoMQ v0.17.9 was discovered to contain a heap use-after-free vulnerability via the component sub_Ctx_handle. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted SUBSCRIBE message.",
  "id": "CVE-2024-42651",
  "modified": "2026-03-10T21:52:45.345095338Z",
  "published": "2025-07-29T19:15:43.180Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/nanomq/nanomq/issues/1217"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/nanomq/nanomq"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/songxpu/bug_report/blob/master/MQTT/NanoMQ/CVE-2024-42651.md"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}