ZeroHour

CVE-2026-42391

mass

Unauthenticated DoS in Dovecot IMAP via oversized IMAP ID parameter flood

CVSS 3.1
7.5 high
EPSS
<1%p31
Published
()
Modified
AI analysis

CVE-2026-42391 is an uncontrolled resource consumption flaw (CWE-400) in the pre-authentication login handling of Dovecot's IMAP service, rated 7.5 High for availability-only impact. An unauthenticated attacker can send an IMAP ID command with a very large number of parameters before logging in, causing memory and CPU usage in the imap-login process to grow disproportionately. When out-of-memory handling terminates that login process, it also kills every other connection multiplexed into the same process, degrading or denying IMAP logins with no confidentiality or integrity impact. Any Dovecot deployment whose imap-login processes handle multiple concurrent connections, especially mail servers exposing IMAP to untrusted clients, is affected. No public proof-of-concept, no CISA KEV listing, no known in-the-wild exploitation, and EPSS is a low 0.4% (31st percentile).

What to do: Upgrade Dovecot to a non-vulnerable version as specified in the Open-Xchange/Dovecot advisory (fixed version numbers were not provided in the available data). Where upgrading is not immediately possible, reduce the number of connections handled by a single imap-login process (e.g., per-connection login handling), accepting a performance cost, and check logs for out-of-memory termination of imap-login processes; consider limiting network exposure of IMAP ports to trusted clients.

Affected
Open-Xchange (Dovecot) Dovecot IMAP server - imap-login service
Estimated exposure
masslikely hundreds of thousands of internet-exposed Dovecot instances serving many millions of mailboxes (estimate) — Dovecot is the dominant open-source IMAP server bundled with most Linux distributions and widely used by hosting and email providers, and public internet scans of IMAP ports (143/993) show hundreds of thousands of endpoints, a large share…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

An unauthenticated attacker can send an IMAP ID command with a very large number of parameters before logging in, which causes memory and CPU usage to grow disproportionately. The login process can be terminated by the out-of-memory handling, which also terminates all other connections handled by the same process. This can cause degradation or denial of service for IMAP logins. Limit the number of connections handled by a single imap-login process. This has a performance impact though. Update to non-vulnerable version. No publicly available exploits are known.

Weakness
CWE-400
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

In the news

No ingested article mentions this CVE yet.