CVE-2026-57229: CWE-665: Improper Initialization in OISF suricata
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.
AI Analysis
Technical Summary
Suricata, a network intrusion detection and prevention system, has a vulnerability (CVE-2026-57229) in its SMTP MIME parser implemented in rust/src/mime/smtp.rs. Between versions 8.0.0 and 8.0.5 inclusive, the parser fails to fully reset its internal state when handling Content-Type: message/rfc822 encapsulated MIME parts. This improper initialization (CWE-665) can cause state leakage of encoding or filename attributes from an outer MIME part into the inner message. As a result, crafted emails can bypass detection mechanisms that rely on file data, file names, or extracted URLs. The vulnerability has a CVSS 3.1 base score of 5.3 (medium severity) and was fixed in version 8.0.6.
Potential Impact
The vulnerability allows an attacker to craft SMTP MIME messages that evade detection by Suricata's file data, filename, or URL extraction detection rules when SMTP MIME decoding is enabled. This can reduce the effectiveness of Suricata's network security monitoring and intrusion detection capabilities, potentially allowing malicious payloads or URLs to pass unnoticed. There is no impact on confidentiality or availability reported, and no known exploits in the wild.
Mitigation Recommendations
Upgrade Suricata to version 8.0.6 or later, where this vulnerability has been fixed. The fix ensures the SMTP MIME parser fully resets its state when processing Content-Type: message/rfc822 encapsulated messages, preventing state leakage and detection evasion. No other mitigation is indicated or required.
CVE-2026-57229: CWE-665: Improper Initialization in OISF suricata
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.
CVSS v3.1
Score 5.3medium
Affected software
OISF
suricata
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Suricata, a network intrusion detection and prevention system, has a vulnerability (CVE-2026-57229) in its SMTP MIME parser implemented in rust/src/mime/smtp.rs. Between versions 8.0.0 and 8.0.5 inclusive, the parser fails to fully reset its internal state when handling Content-Type: message/rfc822 encapsulated MIME parts. This improper initialization (CWE-665) can cause state leakage of encoding or filename attributes from an outer MIME part into the inner message. As a result, crafted emails can bypass detection mechanisms that rely on file data, file names, or extracted URLs. The vulnerability has a CVSS 3.1 base score of 5.3 (medium severity) and was fixed in version 8.0.6.
Potential Impact
The vulnerability allows an attacker to craft SMTP MIME messages that evade detection by Suricata's file data, filename, or URL extraction detection rules when SMTP MIME decoding is enabled. This can reduce the effectiveness of Suricata's network security monitoring and intrusion detection capabilities, potentially allowing malicious payloads or URLs to pass unnoticed. There is no impact on confidentiality or availability reported, and no known exploits in the wild.
Mitigation Recommendations
Upgrade Suricata to version 8.0.6 or later, where this vulnerability has been fixed. The fix ensures the SMTP MIME parser fully resets its state when processing Content-Type: message/rfc822 encapsulated messages, preventing state leakage and detection evasion. No other mitigation is indicated or required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-24T02:21:33.811Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aad9fc955bf5e2cf583e407
Added to database: 09/18/2026, 20:32:09 UTC
Last enriched: 09/18/2026, 20:47:19 UTC
Last updated: 09/19/2026, 02:00:15 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.