CVE-2025-59045: Stalwart vulnerable to Memory Exhaustion via CalDAV Event Expansion

Published Sep 10, 2025
·
Updated

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.

Affected Software

1 affected component
Stalwart Stalwart>=0.12.0<0.13.3

Event History

Sep 10, 2025
CVE Published
via MITRE·04:09 PM
Data Sourced
via MITRE·04:09 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-59045?

CVE-2025-59045 is classified as a denial-of-service vulnerability due to its potential to cause memory exhaustion.

2

How do I fix CVE-2025-59045?

To mitigate CVE-2025-59045, upgrade Stalwart to version 0.13.3 or later.

3

What impact does CVE-2025-59045 have on Stalwart?

CVE-2025-59045 can lead to unbounded memory consumption, resulting in a denial-of-service condition for users.

4

Who is affected by CVE-2025-59045?

CVE-2025-59045 affects users of Stalwart versions 0.12.0 through 0.13.2.

5

How does CVE-2025-59045 exploit the CalDAV implementation?

CVE-2025-59045 exploits the CalDAV implementation by allowing authenticated attackers to trigger excessive memory usage.

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