All vulnerabilities

Servers and applications

GHSA-hf56-fq2g-v9r2

Authenticated memory exhaustion through repeated hrefs in CalDAV/CardDAV multiget reports

Severity
Medium 6.5
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
1.2.3
Weakness
Allocation without limits (CWE-770)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Sources
Project advisories (GitHub)

Description

Any authenticated user with a calendar or address book can make the server build a very large response in memory with one small request. The user stores one large event or contact card and sends a calendar-multiget or addressbook-multiget REPORT that lists the href of that resource many times. Stalwart returned the resource once per href. With 2000 hrefs (the default WebDav.maxResults), a request of about 116 KB produced a response of about 830 MB, and peak memory was two to three times that, so the process could be killed by the operating system and service stopped for every user of the server.

From stalwartlabs/stalwart's security advisory.

Workarounds

Lower WebDav.maxResults (for example to 100) to cap the number of items in one DAV response.

Workarounds as given by stalwartlabs/stalwart's security advisory.

Affected software

SoftwareAffected versions
StalwartServers and applications · github:stalwartlabs/stalwart
  • Every version before 1.2.3

About Stalwart

Open-source mail server software with JMAP, IMAP4, POP3, and SMTP support

From Wikidata, CC0 1.0.
Docker Hub pulls
3,987,049Docker Hub, 29 Nov 2026
GitHub stars
16,544GitHub, 29 Nov 2026
Forks
1,108GitHub, 29 Nov 2026
Latest release
v1.2.1GitHub, 29 Nov 2026
Released
26 Nov 2026GitHub
Developer
Stalwart Labs LLCWikidata
Written in
RustWikidata
First released
3 Oct 2021Wikidata
First published on GitHub
6 Mar 2023GitHub

References