CVE-2025-59045 Details
Description
Stalwart is a mail and collaboration server. Starting in version 0.12.0 and prior to version 0.13.3, a memory exhaustion vulnerability exists in Stalwart's CalDAV implementation that allows authenticated attackers to cause denial-of-service by triggering unbounded memory consumption through recurring event expansion. An authenticated attacker can crash the Stalwart server by creating recurring events with large payloads and triggering their expansion through CalDAV REPORT requests. A single malicious request expanding 300 events with 1000-character descriptions can consume up to 2 GB of memory. The vulnerability exists in the `ArchivedCalendarEventData.expand` function, which processes CalDAV `REPORT` requests with event expansion. When a client requests recurring events in their expanded form using the `<C:expand>` element, the server stores all expanded event instances in memory without enforcing size limits. Users should upgrade to Stalwart version 0.13.3 or later to receive a fix. If immediate upgrading is not possible, implement memory limits at the container/system level; monitor server memory usage for unusual spikes; consider rate limiting CalDAV REPORT requests; and restrict CalDAV access to trusted users only.
A memory exhaustion vulnerability has been identified in Stalwart's CalDAV implementation, affecting versions 0.12.0 prior to 0.13.3. This vulnerability allows authenticated attackers to cause a denial-of-service by triggering unbounded memory consumption through the expansion of recurring events. The issue arises in the 'ArchivedCalendarEventData.expand' function, which processes CalDAV 'REPORT' requests with event expansion. When a client requests recurring events in their expanded form using the '<C:expand>' element, the server stores all expanded event instances in memory without enforcing size limits. An authenticated attacker can exploit this by creating recurring events with large payloads and triggering their expansion through CalDAV 'REPORT' requests. For example, a single malicious request expanding 300 events with 1000-character descriptions can consume up to 2 GB of memory.
Users are advised to upgrade to Stalwart version 0.13.3 or later. If an immediate upgrade is not possible, consider implementing memory limits at the container or system level, monitoring server memory usage for unusual spikes, rate limiting CalDAV 'REPORT' requests, and restricting CalDAV access to trusted users only.
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 Sep 10, 2025CISA-ADP
Assessed Sep 11, 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.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Stalwart | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 10, 2025 | New CVE Received | [email protected] |
Volerion