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

High 7.5 Published Updated

Attackers can cause denial of service in Suricata by sending repeated MQTT PUBREC or PUBREL messages, exhausting CPU and memory resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-57227?

CVE-2026-57227 is a high-severity denial of service vulnerability in Oisf Suricata, published on 18 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-770, CWE-400

Which versions are affected by CVE-2026-57227?

It affects 1 product.

Products include Oisf Suricata.

How do I fix CVE-2026-57227?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-57227 being exploited?

There is no known exploitation of CVE-2026-57227 in the wild and no public exploit code.

All Oisf Suricata vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-57227, GHSA-7h2h-hpj2-9w6p, UBUNTU-CVE-2026-57227.

Is CVE-2026-57227 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free