CVE-2026-57229 Suricata smtp/mime: incomplete state reset allows detection bypass

Medium 5.3 Published Updated

Attackers can bypass Suricata's SMTP MIME detection rules by exploiting incomplete state resets in the parser, requiring SMTP MIME decoding to be enabled.

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-57229?

CVE-2026-57229 is a medium-severity 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 8.0.0 until 8.0.6, the SMTP MIME parser in rust/src/mime/smtp.rs does not fully reset state when processing Content-Type: message/rfc822 encapsulation. An outer MIME part's encoding or filename state can leak into the inner message, allowing crafted mail to evade detections based on file.data, file.name, or extracted URLs when SMTP MIME decoding is enabled. This issue is fixed in version 8.0.6.

Weakness: CWE-665

Which versions are affected by CVE-2026-57229?

It affects 1 product.

Products include Oisf Suricata.

How do I fix CVE-2026-57229?

Upgrade to a fixed version.

Is CVE-2026-57229 being exploited?

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

All Oisf Suricata vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-57229, GHSA-ph5p-pm8r-m355, UBUNTU-CVE-2026-57229.

Is CVE-2026-57229 in your software?

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

Check your SBOMs for free