CVE-2026-52687
dovecot: dovecot: Denial of Service via IMAP compression memory exhaustion
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 28, 2026
Updated · September 1, 2026
Description
A flaw was found in dovecot. A remote attacker with valid credentials can exploit this vulnerability by selecting a compression algorithm for the IMAP connection that requires a large amount of memory for decompression. By opening several such connections, the attacker can exhaust the process's memory limit, leading to the termination of the process and all its connections. This can cause degradation or a complete denial of service for IMAP.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this vulnerability, disable IMAP compression in the Dovecot configuration. This can be achieved by ensuring that zlib or other compression plugins are not loaded for IMAP services. For example, remove zlib from the mail_plugins setting in dovecot.conf or a relevant configuration file. A restart of the Dovecot service is required for the changes to take effect. Disabling compression may result in increased network bandwidth usage for IMAP connections.
CVSS / CWE
CVSS 3.1 · 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-770 · Allocation of Resources Without Limits or Throttling