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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-09-18T20:18:38.625Z
- Modified: 2026-09-28T18:35:07.867Z
- Weaknesses: CWE-665
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OISF suricata: >= 8.0.0, < 8.0.6; from 8.0.0 before 8.0.6

## References

- <https://github.com/OISF/suricata/security/advisories/GHSA-ph5p-pm8r-m355> (vendor-advisory)
- <https://github.com/OISF/suricata/commit/4985eb9daea2f765b6ef59a58fa02e5c71c0a77c> (patch)
- <https://github.com/OISF/suricata/commit/c0215c7e175b0000ef8450928dd1f3453c48379b> (patch)
- <https://github.com/OISF/suricata/releases/tag/suricata-8.0.6> (release-notes)
- <https://redmine.openinfosecfoundation.org/issues/8649> (permissions-required)

## Sources

- CVE List: [CVE-2026-57229](https://www.cve.org/CVERecord?id=CVE-2026-57229), CVE Terms of Use, modified 2026-09-25
- NVD: [CVE-2026-57229](https://nvd.nist.gov/vuln/detail/CVE-2026-57229), Public domain, modified 2026-09-28

---

Page: https://cve.day/CVE-2026-57229 · Whole record: https://cve.day/CVE-2026-57229.json · Rebuilt by cve.day 2026-11-25T22:59:39.697Z
