Suricata mqtt: unbounded resource consumption from repeated pubrec and pubrel messages
cve-program · CVE-2026-57227
PublishedSuricata 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-57227 · CVE overview and exploitation status
cve-program · CVE-2026-57227
- 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
Related changes
Linked by CVE identifierNo related changes are available here.