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

Published Sep 18, 2026
·
Updated

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.

Affected Software

1 affected component
Suricata Suricata>8.0.0<=8.0.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Suricata to a version that resolves this vulnerability.

    Fixed in 8.0.6

Event History

Sep 18, 2026
CVE Published
via MITRE·08:18 PM
Data Sourced
via MITRE·08:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Suricata versions 8.0.0 through 8.0.5 are affected when SMTP MIME decoding is enabled. The issue affects detections that rely on file.data, file.name, or extracted URLs.

2

What does an attacker need to do to evade detection?

An attacker needs to send a crafted SMTP message using Content-Type: message/rfc822 encapsulation. The crafted structure can cause encoding or filename state from an outer MIME part to leak into the inner message.

3

What should be done if upgrading cannot happen immediately?

The provided data identifies version 8.0.6 as the fix. No alternative mitigation or configuration workaround is provided.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203