The fix is a version bump, a configuration bound and a second parser. The first is maintenance, the second tuning, the third an admission that no single sensor can prove its own coverage.

Step 1 — Get to a supported release

The fixed releases are 8.0.6 and 7.0.17, both published on 7 July 2026. The supported target today is 8.0.8, published on 29 October 2026, because 8.0.7 and 8.0.8 fixed further security issues that 8.0.6 did not.

  • On 8.0.x: upgrade to 8.0.8 or later. 8.0.6 closes CVE-2026-57229 and CVE-2026-57227; 8.0.8 closes the later batch as well.
  • On 7.0.x: 7.0.17 closes CVE-2026-57228 and CVE-2026-57227, and it is the last release of the branch. Treat it as an emergency landing and plan the 8.0 migration.
  • On 6.0.x or older: the branch has been EOL since August 2024. There is no supported fix path; the upgrade is the remediation.

Verify what is actually running, not what the package name says:

suricata -V
suricata --build-info

The first prints the version; the second the build provenance and compile options. A distro backport can carry the fix under an older version string; an appliance can carry the vulnerable code under a newer one. The build info is the tie-breaker.

Step 2 — Bound the parsers you enable

The MQTT fix adds a limit that did not exist before: app-layer.protocols.mqtt.max-messages, default 1024, plus a new mqtt.too_many_messages event and rule SID 2229011. Set it explicitly so an upgrade does not silently change behaviour:

app-layer:
  protocols:
    mqtt:
      enabled: yes
      max-tx: 4096
      max-messages: 1024

For SMTP, keep the MIME decoder on. Turning off decode-mime or decode-quoted-printable removes the bug surface and the detection with it — the sensor stops parsing the thing it was deployed to inspect. The correct bound is max-tx for live SMTP transactions (default 256), not disabling the decoder. Audit which parsers are enabled; a protocol the estate does not use should be off.

Step 3 — Watch the sensor's own health

An evasion produces no alert. What it may produce is a restart, a memory curve or a parser-error counter. Put those on the same dashboard as the alerts:

  • stats events in EVE. Watch capture.kernel_drops, decoder.invalid, and the per-protocol app_layer error counters. A spike in MIME or MQTT decode errors is the signal for this class.
  • Process uptime. Any restart of an inline sensor is a coverage gap. Alert on it and investigate it as an incident, not a nuisance.
  • Memory and CPU per thread. The MQTT bug grows transaction state; the graph rises before the crash.
  • Rule and engine version. Drift between the intended and running configuration is the quiet failure.

Step 4 — Put a second witness on the wire

The only durable defence against a parser evasion is a second, independent parser on the same traffic. Two engines that disagree are an investigation; one engine that agrees with itself is faith. A mail gateway, Zeek's transaction logs, or a second vendor's sensor all do the job. For inline deployments, decide explicitly whether a sensor failure should fail open or fail closed.

Step 5 — Test the fix, do not assume it

In a lab, replay a nested message/rfc822 message and a quoted-printable attachment split so an escape spans two segments. Confirm that the pre-fix sensor misses and the post-fix sensor alerts. Keep the pcap and the rule that fired: evidence the upgrade changed behaviour, not only a version string.

The download

The set ships with four upstream diffs, a build and verification script, and a provenance file. Three of the four reproduce the fixed release tree byte-for-byte on every changed file; the fourth differs only in an unrelated YAML documentation block that landed between the tags. Details are in PATCH/BUILD.md.

The diffs are upstream's fix, not an OwlMan patch. The remediation is the release, not a hand-applied diff on a production sensor.

The residual

After the upgrade, these three CVEs are closed. The class is not. A detection engine is a parser with a badge, and every parser is one crafted input away from describing the wrong world. The enduring control is architectural: know which sensors you run, bound what they parse, and never let one engine be the only witness.

Next: the series index — all ten parts, the affected matrix and the verified patch set.