CVE-2026-26312: Stalwart Mail Server has Out-of-Memory Denial of Service via Malformed Nested MIME Messages
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-26312?
CVE-2026-26312 is classified as a denial-of-service vulnerability which can lead to excessive CPU and memory consumption.
How do I fix CVE-2026-26312?
To mitigate CVE-2026-26312, upgrade to Stalwart Mail Server version 0.15.5 or later where the vulnerability has been addressed.
What versions of Stalwart Mail Server are affected by CVE-2026-26312?
Stalwart Mail Server versions 0.13.0 through 0.15.4 are affected by CVE-2026-26312.
How does CVE-2026-26312 impact system performance?
CVE-2026-26312 can cause the system to experience excessive CPU and memory usage when processing specially crafted emails.
Can CVE-2026-26312 be exploited remotely?
Yes, CVE-2026-26312 can be exploited remotely through IMAP or JMAP by accessing a malformed email.