CVE-2026-26312

Stalwart Mail Server has Out-of-Memory Denial of Service via Malformed Nested MIME Messages

MEDIUM
6.5
CVSS Score
Published: February 19, 2026 at 09:05 PM UTC
Updated: June 17, 2026 at 10:26 AM UTC
2 products affected across 2 vendorsStalwartStalwart

Using stalwart by stalwartlabs?

Get instant alerts when new vulnerabilities affect stalwart - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.13.0 ≤ v < 0.15.5
v < 0.15.5
Affected range stops below 0.15.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/stalwartlabs/stalwart/security/advisories/GHSA-jm95-876q-c9gw

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-770

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card