# CVE-2025-61600: Unbounded Memory Allocation in Stalwart IMAP parser

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2025-10-02T21:30:52.203Z
- Modified: 2026-10-12T15:10:00.207Z
- Weaknesses: CWE-400, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- stalwartlabs stalwart: < 0.13.4

## References

- <https://github.com/stalwartlabs/stalwart/security/advisories/GHSA-8jqj-qj5p-v5rr>
- <https://github.com/stalwartlabs/stalwart/commit/a8e631e881bded8128358732f18e02ca94a4e677>
- <https://github.com/stalwartlabs/stalwart/releases/tag/v0.13.4>

## Sources

- CVE List: [CVE-2025-61600](https://www.cve.org/CVERecord?id=CVE-2025-61600), CVE Terms of Use, modified 2025-10-03
- NVD: [CVE-2025-61600](https://nvd.nist.gov/vuln/detail/CVE-2025-61600), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2025-61600 · Whole record: https://cve.day/CVE-2025-61600.json · Rebuilt by cve.day 2026-11-25T22:59:05.456Z
