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

Source: https://junglewise.ai/threats/cve-2026-57229-suricata-is-a-network-intrusion-detection-system-intrusion  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-18. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/suricata). Vendors: [OISF](https://junglewise.ai/threats/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

- [https://github.com/OISF/suricata/commit/4985eb9daea2f765b6ef59a58fa02e5c71c0a77c](https://github.com/OISF/suricata/commit/4985eb9daea2f765b6ef59a58fa02e5c71c0a77c)
- [https://github.com/OISF/suricata/commit/c0215c7e175b0000ef8450928dd1f3453c48379b](https://github.com/OISF/suricata/commit/c0215c7e175b0000ef8450928dd1f3453c48379b)

## Related threats

- [Suricata use-after-free in HTTP/2 response header detection](https://junglewise.ai/threats/cve-2026-94084-suricata-before-8-0-7-has-an-http2threadmultibuf-use-after-free)
- [Suricata DoH2 type confusion in HTTP state cleanup](https://junglewise.ai/threats/cve-2026-94083-suricata-before-8-0-7-has-a-doh2-type-confusion-that-can-cause-an)
- [Suricata IP family validation bypass in flow comparison](https://junglewise.ai/threats/cve-2026-71855-suricata-is-a-network-intrusion-detection-system-intrusion)
- [Suricata DNS-over-HTTP/2 buffer memory handling denial of service](https://junglewise.ai/threats/cve-2026-71418-suricata-is-a-network-intrusion-detection-system-intrusion)
- [Suricata HTTP/1 compression bomb denial of service](https://junglewise.ai/threats/cve-2026-63452-suricata-is-a-network-intrusion-detection-system-intrusion)
