Suricata smtp/mime: incomplete state reset allows detection bypass
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-57229
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 04:52 UTC · Revision 1
Source evidence
Suricata smtp/mime: incomplete state reset allows detection bypass
core-osv · Original sourcePublished 18 Sept 2026, 20:18 UTC
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.
osv:CVE-2026-57229
Complete source record
{
"id": "df04fc176e7f083e1147c6642ffe91f0a90a5c15d27f3ed2e7ba9a8afd2f4bd5",
"url": "https://osv.dev/vulnerability/CVE-2026-57229",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Suricata smtp/mime: incomplete state reset allows detection bypass",
"summary": "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.",
"evidence": "osv:CVE-2026-57229",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-57229",
"aliases": [
"CVE-2026-57229",
"GHSA-ph5p-pm8r-m355"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/oisf/suricata",
"type": "GIT",
"events": [
{
"introduced": "9956286fb89f9cad9e9f95b99dc751f8666617b7"
},
{
"fixed": "4c28cc1b4ac64f48efdca6ce3e09748227a04a7e"
},
{
"fixed": "4985eb9daea2f765b6ef59a58fa02e5c71c0a77c"
},
{
"fixed": "c0215c7e175b0000ef8450928dd1f3453c48379b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:oisf:suricata:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.0.6"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4985eb9daea2f765b6ef59a58fa02e5c71c0a77c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "c0215c7e175b0000ef8450928dd1f3453c48379b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "4c28cc1b4ac64f48efdca6ce3e09748227a04a7e"
}
],
"source": "REFERENCES_TAG",
"original_tag": "suricata-8.0.6"
}
]
}
}
],
"versions": [
"suricata-8.0.5",
"suricata-8.0.4",
"suricata-8.0.3",
"suricata-8.0.2",
"suricata-8.0.1",
"suricata-8.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57229.json"
}
}
],
"modified": "2026-10-28T02:30:49.852286103Z",
"provider": "osv",
"references": [
"https://github.com/OISF/suricata/releases/tag/suricata-8.0.6",
"https://redmine.openinfosecfoundation.org/issues/8649",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57229.json",
"https://github.com/OISF/suricata/security/advisories/GHSA-ph5p-pm8r-m355",
"https://nvd.nist.gov/vuln/detail/CVE-2026-57229",
"https://github.com/OISF/suricata/commit/4985eb9daea2f765b6ef59a58fa02e5c71c0a77c",
"https://github.com/OISF/suricata/commit/c0215c7e175b0000ef8450928dd1f3453c48379b"
],
"provider_metadata": {
"cwe_ids": [
"CWE-665"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57229.json"
}
},
"related_cves": [
{
"value": "CVE-2026-57229",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518282,
"published_at": "2026-09-18T20:18:38.625+00:00"
}