CVE-2026-57229: Suricata SMTP MIME parser state reset flaw

CVE-2026-57229 · Severity: medium · CVSS 5.3 · Published 2026-09-18

Suricata is a network security monitoring engine that analyzes traffic for threats. A flaw in its SMTP email parser allows attackers to craft malicious emails that evade threat detection by causing state information from outer message layers to incorrectly influence scanning of inner messages. This enables malware or suspicious files to slip past security controls.

Technologies: OISF Suricata. Vendors: OISF.

Quick answers

Is CVE-2026-57229 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-57229 being exploited in the wild.
How severe is CVE-2026-57229?
Medium severity, with a CVSS score of 5.3, published 18 September 2026.
Which products and versions are affected?
OISF Suricata 8.0.0 to 8.0.5.
Is there a fix for CVE-2026-57229?
A patch was published on 2026-09-18: Fixed in version 8.0.6 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-57229 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2026-57229?
Check whether you run OISF Suricata at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The SMTP MIME parser in rust/src/mime/smtp.rs fails to fully reset state when handling Content-Type: message/rfc822 encapsulated messages, causing encoding or filename attributes from an outer MIME part to leak into inner message processing. An attacker can exploit this by crafting nested MIME messages to evade file.data, file.name, or URL extraction-based detections when SMTP decoding is enabled. The fix fully resets parser state fields before processing encapsulated messages.

Affected products

  • OISF Suricata 8.0.0 to 8.0.5

Timeline

  • 2026-09-18: disclosed
  • 2026-09-18: patched: Fixed in version 8.0.6

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.