{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0.24.6"
              },
              {
                "fixed": "0.24.7"
              }
            ]
          },
          "events": [
            {
              "introduced": "ed3ca6fe91f341e72cbee0b13321dc9502c7c09c"
            },
            {
              "fixed": "89ac265ec2be8397aec05b383f03aad67189060e"
            }
          ],
          "repo": "https://github.com/nanomq/nanonng",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-77f4-wvq8-mp3p"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32696.json"
  },
  "details": "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.",
  "id": "CVE-2026-32696",
  "modified": "2026-04-01T23:09:16.434474621Z",
  "published": "2026-03-30T20:11:30.580Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32696.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nanomq/NanoNNG/commit/c20aa27e5290bb480a5315099952480d35f37a8b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nanomq/NanoNNG/pull/1394"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nanomq/nanomq/releases/tag/0.24.7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nanomq/nanomq/security/advisories/GHSA-77f4-wvq8-mp3p"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-32696"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "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"
}