CVE-2026-57229
Suricata smtp/mime: incomplete state reset allows detection bypass
- State
- Published
- Severity
- 5.3 Medium
- Published
- Sep 18, 2026
- Updated
- Sep 25, 2026
- Reserved
- Jun 24, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | GitHub_M |
Weaknesses
- CWE-665 Improper Initialization
Affected Products
| Product | Versions |
|---|---|
suricataOISF |
|
References
- https://github.com/OISF/suricata/security/advisories/GHSA-ph5p-pm8r-m355
- https://github.com/OISF/suricata/commit/4985eb9daea2f765b6ef59a58fa02e5c71c0a77c
- https://github.com/OISF/suricata/commit/c0215c7e175b0000ef8450928dd1f3453c48379b
- https://github.com/OISF/suricata/releases/tag/suricata-8.0.6
- https://redmine.openinfosecfoundation.org/issues/8649
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.