{
  "id": "CVE-2026-32696",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-32696",
  "published_at": "2026-03-30T20:11:30.58Z",
  "title": "NanoMQ HTTP Auth: Missing username/password can trigger a NULL-pointer strlen() in auth_http.c:set_data(), causing a process crash — SIGSEGV, remotely triggerable",
  "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. In NanoMQ version 0.24.6, after enabling auth.http_auth (HTTP authentication), when a client connects to the broker using MQTT CONNECT without providing username/password, and the configuration params uses the placeholders %u / %P (e.g., username=\"%u\", password=\"%P\"), the HTTP request construction phase enters auth_http.c:set_data(). This results in calling strlen() on a NULL pointer, causing a SIGSEGV crash. This crash can be triggered remotely, resulting in a denial of service. This issue has been patched in version 0.24.7.",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:a:emqx:nanomq:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 3.1,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "nanomq",
        "product": "nanomq",
        "ranges": [
          "\u003e= 0.24.6, \u003c 0.24.7"
        ],
        "fixed_in": [
          "0.24.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade nanomq to 0.24.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/nanomq/nanomq/security/advisories/GHSA-77f4-wvq8-mp3p"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nanomq/NanoNNG/pull/1394"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/nanomq/NanoNNG/commit/c20aa27e5290bb480a5315099952480d35f37a8b"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/nanomq/nanomq/releases/tag/0.24.7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
