CVE-2026-27857
Dovecot vulnerability analysis and mitigation

Overview

CVE-2026-27857 is an uncontrolled resource consumption (denial-of-service) vulnerability in Dovecot IMAP server affecting all versions before 2.4.3 (community edition) and OX Dovecot Pro before 2.3.22.1, 3.0.5, and 3.1.4. The flaw was disclosed on March 27, 2026, by Open-Xchange (OX). It carries a CVSS v3.1 base score of 7.5 (High) per NVD, though the ENISA EUVD assigns a lower score of 4.3 based on a different vector (OX Advisory, ENISA EUVD).

Technical details

The vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption) and stems from how Dovecot processes IMAP NOOP commands with deeply nested parentheses. Sending a NOOP (((...))) command with approximately 4,000 open/close parenthesis pairs causes roughly 1 MB of extra memory allocation per connection. An attacker can withhold the command-terminating line feed (LF) to keep this memory allocated indefinitely, then open 1,000 simultaneous connections from a single IP to consume approximately 1 GB of memory — sufficient to reach the process's VSZ limit and kill it along with all proxied connections. No authentication is required to exploit this condition (OX Advisory, oss-sec).

Impact

Successful exploitation results in a complete denial of service for the affected Dovecot process, terminating all active proxied IMAP connections and making the mail server unavailable to legitimate users. There is no confidentiality or integrity impact — the vulnerability is purely an availability issue. Because a single attacker IP can trigger the condition with 1,000 connections, the attack is low-cost and does not require distributed infrastructure (OX Advisory, ENISA EUVD).

Exploitation steps

  1. Reconnaissance: Identify internet-facing Dovecot IMAP servers running versions prior to 2.4.3 (community) or OX Dovecot Pro prior to 2.3.22.1 / 3.0.5 / 3.1.4 using port scanning tools (e.g., Shodan, Censys, nmap targeting port 143/993).
  2. Establish multiple connections: Open 1,000 TCP connections to the target IMAP server from one or more source IPs.
  3. Send malformed NOOP command: On each connection, send an IMAP NOOP command with approximately 4,000 nested parenthesis pairs (e.g., A001 NOOP (((...)))) — this triggers ~1 MB of extra memory allocation per connection.
  4. Withhold line feed: Do not send the terminating LF character, keeping the memory allocated and preventing the server from releasing it.
  5. Exhaust memory: With 1,000 connections each holding ~1 MB, approximately 1 GB of memory is consumed, causing the Dovecot process to reach its VSZ limit, crash, and terminate all proxied connections — resulting in a denial of service (OX Advisory, oss-sec).

Indicators of compromise

  • Network: Large number of simultaneous IMAP connections (port 143 or 993) from a single or small set of IP addresses; connections that remain open without completing the IMAP command sequence (no terminating LF).
  • Logs: Dovecot logs showing a sudden spike in open connections; log entries indicating process termination due to memory limits (VSZ exceeded); repeated NOOP commands with unusually long argument strings in IMAP access logs.
  • Process: Dovecot worker process crash or unexpected restart; system logs (e.g., dmesg, syslog) showing OOM-killer activity or process killed due to memory exhaustion.
  • System: Rapid increase in system memory consumption correlated with IMAP connection count; monitoring alerts for Dovecot process restarts (OX Advisory).

Mitigation and workarounds

The vendor states there is no configuration-based workaround — installing a fixed version is the only remediation. Affected users should upgrade to Dovecot community edition 2.4.3 or later, or OX Dovecot Pro 2.3.22.1, 3.0.5, or 3.1.4 as appropriate. Patches have also been distributed through major Linux distributions including Ubuntu (USN-8136-1, USN-8136-2), Debian (DSA-6197-1, DLA-4556-1, DLA-4617-1), Red Hat (RHSA-2026:13498, RHSA-2026:13830, RHSA-2026:13857, and others), Amazon Linux 2023 (ALAS2023-2026-1570), Amazon Linux 2 (ALAS2-2026-3252), openSUSE, Fedora, and AlmaLinux (OX Advisory, Ubuntu Advisory, Red Hat Advisory).

Community reactions

The vulnerability was disclosed via the oss-sec mailing list and full-disclosure list, generating standard community awareness without notable controversy. Multiple Linux distribution security teams responded promptly with patches within days to weeks of disclosure. No significant researcher commentary or media coverage beyond routine vulnerability tracking has been observed (oss-sec, Full Disclosure).

Additional resources


SourceThis report was generated using AI

Related Dovecot vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-27851CRITICAL9.1
  • Dovecot logoDovecot
  • dovecot
NoYesMay 12, 2026
CVE-2026-40016MEDIUM6.5
  • Dovecot logoDovecot
  • dovecot-pigeonhole-debuginfo
NoYesMay 12, 2026
CVE-2026-33603MEDIUM5.3
  • Dovecot logoDovecot
  • dovecot24
NoYesMay 12, 2026
CVE-2026-42006MEDIUM4.3
  • Dovecot logoDovecot
  • dovecot-mysql-debuginfo
NoYesMay 12, 2026
CVE-2026-40020MEDIUM4.3
  • Dovecot logoDovecot
  • dovecot
NoYesMay 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management