{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "8.0.0"
              },
              {
                "fixed": "8.0.6"
              },
              {
                "introduced": "7.0.0"
              },
              {
                "fixed": "7.0.17"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "9956286fb89f9cad9e9f95b99dc751f8666617b7"
            },
            {
              "introduced": "21ec99aa76cc5406007ce12a4891f2eaedb02291"
            },
            {
              "fixed": "4c28cc1b4ac64f48efdca6ce3e09748227a04a7e"
            },
            {
              "fixed": "f707f3208de8216e4eccada5c10e6edce460a82a"
            },
            {
              "fixed": "03ba8a71d827dd36a0ceb512f45d2f440f260a3a"
            },
            {
              "fixed": "5cde93dea38533c9b225128ba9d54955997dc273"
            },
            {
              "fixed": "c03666d261256df5a2d1f5800872da8a5addf6a5"
            }
          ],
          "repo": "https://github.com/oisf/suricata",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7h2h-hpj2-9w6p"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-400",
      "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57227.json"
  },
  "details": "Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. From 7.0.0 until 7.0.17 and 8.0.6, the MQTT parser in rust/src/mqtt/mqtt.rs permits repeated PUBREC or PUBREL messages to be appended to one transaction without a limit. Crafted MQTT traffic can grow transaction state indefinitely, consuming CPU and memory and causing slowdown or denial of service. This issue is fixed in versions 8.0.6 and 7.0.17.",
  "id": "CVE-2026-57227",
  "modified": "2026-09-20T11:30:45.586807246Z",
  "published": "2026-09-18T20:14:55.843Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/OISF/suricata/releases/tag/suricata-7.0.17"
    },
    {
      "type": "WEB",
      "url": "https://github.com/OISF/suricata/releases/tag/suricata-8.0.6"
    },
    {
      "type": "WEB",
      "url": "https://redmine.openinfosecfoundation.org/issues/8525"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57227.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/OISF/suricata/security/advisories/GHSA-7h2h-hpj2-9w6p"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57227"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OISF/suricata/commit/03ba8a71d827dd36a0ceb512f45d2f440f260a3a"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OISF/suricata/commit/5cde93dea38533c9b225128ba9d54955997dc273"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OISF/suricata/commit/c03666d261256df5a2d1f5800872da8a5addf6a5"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Suricata mqtt: unbounded resource consumption from repeated pubrec and pubrel messages"
}