CVE-2025-61600 Details
Description
Stalwart is a mail and collaboration server. Versions 0.13.3 and below contain an unbounded memory allocation vulnerability in the IMAP protocol parser which allows remote attackers to exhaust server memory, potentially triggering the system's out-of-memory (OOM) killer and causing a denial of service. The CommandParser implementation enforces size limits on its dynamic buffer in most parsing states, but several state handlers omit these validation checks. This issue is fixed in version 0.13.4. A workaround for this issue is to implement rate limiting and connection monitoring at the network level, however this does not provide complete protection.
A denial-of-service vulnerability has been identified in Stalwart Mail and Collaboration Server versions 0.13.3 and prior. The issue arises from the IMAP protocol parser's CommandParser implementation, which allows for unbounded memory allocation. Remote attackers can exploit this vulnerability by sending crafted IMAP commands that bypass buffer size limits, leading to excessive memory usage. This can trigger the system's out-of-memory killer, causing the mail server process to be terminated and disrupting service for IMAP users. The vulnerability does not require authentication, as the parser processes commands before authentication is completed.
Users are advised to upgrade to Stalwart Mail and Collaboration Server version 0.13.4 or later. For those unable to immediately upgrade, temporary mitigations include implementing rate limiting and connection monitoring at the network level, configuring memory limits for the Stalwart process, and reviewing system logs for signs of suspicious IMAP connection patterns.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 2, 2025CISA-ADP
Assessed Oct 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/stalwartlabs/stalwart/commit/a8e631e881bded8128358732f18e02ca94a4e677 | [email protected] | Source CodeVendor |
| https://github.com/stalwartlabs/stalwart/releases/tag/v0.13.4 | [email protected] | Release NotesVendor |
| https://github.com/stalwartlabs/stalwart/security/advisories/GHSA-8jqj-qj5p-v5rr | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-789 | Memory Allocation with Excessive Size Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Stalwart | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 12, 2026 | CVE Translated | [email protected] |
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 2, 2025 | New CVE Received | [email protected] |
Volerion