CVE-2026-26312: Stalwart Mail Server has Out-of-Memory Denial of Service via Malformed Nested MIME Messages

Published Feb 19, 2026
·
Updated

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

2 affected components
Stalwart Mail Server>=0.13.0<=0.15.4
Stalw Stalwart>=0.13.0<0.15.5

Event History

Feb 19, 2026
CVE Published
via MITRE·09:05 PM
Data Sourced
via MITRE·09:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:18 PM
DescriptionSeverityWeaknessAffected Software
Jun 4, 58123
Event
via FIRST·08:42 PM

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

Can CVE-2026-26312 be exploited remotely?

Yes, CVE-2026-26312 can be exploited remotely through IMAP or JMAP by accessing a malformed email.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203