{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.18.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "ca17e0be19e86d5e291f4532dfdc94616c8e0049"
            },
            {
              "fixed": "e8ce83336acce69d8e9c11c98805217aa156a16b"
            }
          ],
          "repo": "https://github.com/moquette-io/moquette",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5f42-97gr-vfhq"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/95xxx/CVE-2026-95844.json"
  },
  "details": "Moquette is a lightweight Java MQTT broker. Prior to 0.18.1, Moquette does not limit the depth of topic names and topic filters before processing them through recursive CTrie insertion and matching operations. A remote client can publish or subscribe with a deeply nested topic, causing a StackOverflowError that disrupts session processing and can deny service to broker clients. This issue is fixed in version 0.18.1.",
  "id": "CVE-2026-95844",
  "modified": "2026-09-25T03:30:49.617451237Z",
  "published": "2026-09-23T16:29:49.416Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/moquette-io/moquette/releases/tag/v0.18.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/95xxx/CVE-2026-95844.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/moquette-io/moquette/security/advisories/GHSA-5f42-97gr-vfhq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-95844"
    },
    {
      "type": "FIX",
      "url": "https://github.com/moquette-io/moquette/commit/ca17e0be19e86d5e291f4532dfdc94616c8e0049"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Moquette deeply nested MQTT topics can cause stack exhaustion"
}