{"id":"CVE-2026-26312","summary":"Stalwart Mail Server has Out-of-Memory Denial of Service via Malformed Nested MIME Messages","details":"Stalwart is a mail and collaboration server. A denial-of-service vulnerability exists in Stalwart Mail Server versions 0.13.0 through 0.15.4 where accessing a specially crafted email containing malformed nested `message/rfc822` MIME parts via IMAP or JMAP causes excessive CPU and memory consumption, potentially leading to an out-of-memory condition and server crash. The malformed structure causes the `mail-parser` crate to produce cyclical references in its parsed representation, which Stalwart then follows indefinitely. Version 0.15.5 contains a patch.","aliases":["GHSA-jm95-876q-c9gw"],"modified":"2026-08-12T03:51:11.842793306Z","published":"2026-02-19T21:05:11.788Z","database_specific":{"cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26312.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26312.json"},{"type":"ADVISORY","url":"https://github.com/stalwartlabs/stalwart/security/advisories/GHSA-jm95-876q-c9gw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26312"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/stalwartlabs/stalwart","events":[{"introduced":"e79a4c65c7411d34bd4262e9ce1d748001028c77"},{"fixed":"9aecfc1dfd53a87c8918a6a98123c50af2001998"}],"database_specific":{"extracted_events":[{"introduced":"0.13.0"},{"fixed":"0.15.5"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:stalw:stalwart:*:*:*:*:*:*:*:*"}}],"versions":["v0.15.4","v0.15.3","v0.15.2","v0.15.1","v0.15.0","v0.14.1","v0.14.0","v0.13.4","v0.13.3","v0.13.2","v0.13.1","v0.13.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-26312.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}