CVE-2026-26312 Stalwart Mail Server has Out-of-Memory Denial of Service via Malformed Nested MIME Messages
MediumCVSS 6.5
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| stalwart | >= 0.13.0, < 0.15.5 | 0.15.5 | Fixed |
| stalwartlabs stalwart | = >= 0.13.0, < 0.15.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| stalwartlabs stalwart | = >= 0.13.0, < 0.15.5 | No fix listed |
| stalwart | >= 0.13.0, < 0.15.5 | 0.15.5 |
References
- https://github.com/stalwartlabs/stalwart/security/advisories/GHSA-jm95-876q-c9gw exploit vendor-advisory