CVE-2026-52687·Dovecot vulnerability
An attacker that has valid credentials can select a compression algorithm for the IMAP connection whose decompression state requires a large amount of memory, and open several such connections. The memory limit of the process is reached with only a few connections, terminating the process and all connections it handles, which can cause degradation or denial of service for IMAP. Disable IMAP compression. Alternatively limit the number of connections handled by a single imap-login process, though this has a performance impact. Update to non-vulnerable version. No publicly available exploits are known.
- Severity
- high
- Software
- Dovecot
- Fixed in
- 1:2.4.1+dfsg1-6+deb13u7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.40% — higher than 33% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-52687 scores 8 on CVSS, so a successful attack would be serious — but at 0.40%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
Until: 1:2.4.1+dfsg1-6+deb13u7
Fixed in: 1:2.4.1+dfsg1-6+deb13u7
How to fix this CVE
Update Dovecot to version 1:2.4.1+dfsg1-6+deb13u7 or later to resolve a memory exhaustion vulnerability in IMAP compression handling. Authenticated attackers can trigger excessive memory consumption by opening multiple connections with resource-intensive compression algorithms, leading to service denial. If immediate patching is not possible, disable IMAP compression or restrict the number of connections per imap-login process as a temporary mitigation.
sudo dnf update dovecotDefensia detects this vulnerability
How to check if you are affected
- Check installed Dovecot version: dovecot --version or dpkg -l | grep dovecot
- Verify IMAP compression is enabled in /etc/dovecot/conf.d/20-imap.conf by searching for 'imap_compress' setting
- Monitor Dovecot logs for repeated IMAP login attempts with compression: grep -i 'compress\|memory' /var/log/dovecot/dovecot.log
- After patching, re-run dovecot --version to confirm the fix version is deployed
FAQ
What is CVE-2026-52687?
This vulnerability allows authenticated IMAP users to exhaust server memory by initiating multiple connections that use memory-intensive compression algorithms, causing the Dovecot IMAP service to crash and denying legitimate users access.
Is CVE-2026-52687 being actively exploited?
No, this CVE is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available.
What versions of Dovecot are affected by CVE-2026-52687?
All versions up to and including 1:2.4.1+dfsg1-6+deb13u6 are vulnerable; version 1:2.4.1+dfsg1-6+deb13u7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-52687?
Run 'dovecot --version' and compare the output to 1:2.4.1+dfsg1-6+deb13u7. If your version is earlier, your system is vulnerable.
Does Defensia detect CVE-2026-52687?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Dovecot is installed on a monitored server, CVE-2026-52687 will appear in your dashboard with remediation steps.
Related Dovecot CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-52687. Free for 1 server.
Get started free