Skip to content

CVE-2026-40017 dovecot: Dovecot: Denial of Service via crafted IMAP message headers

MediumCVSS 6.5 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

An attacker that can send mail to a user can craft a message header whose values are chosen to collide in an internal hash table, which makes the IMAP THREAD command consume CPU disproportionate to the size of the message. This is a separate issue from CVE-2026-40014 and is not addressed by that fix. Whenever a mail client issues a THREAD command on the affected mailbox, this can cause degradation or denial of service for IMAP. Monitor system for abnormal CPU usage, kill the offending process and remove the offending message from the affected mailbox. Update to non-vulnerable version. No publicly available exploits are known.

Upgrade path

14 packages: 7 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
redhat/dovecot(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/dovecot(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/dovecot(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/dovecot(Red Hat rhel_els 7) All versions No fix listed No fix yet
ubuntu/dovecot(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/dovecot(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/dovecot(Ubuntu 26.04) All versions No fix listed No fix yet
alpine/dovecot(Alpine v3.23) < 2.4.5-r0 2.4.5-r0 Fixed
alpine/dovecot(Alpine v3.24) < 2.4.5-r0 2.4.5-r0 Fixed
debian/dovecot(Debian 12) < 1:2.3.19.1+dfsg1-2.1+deb12u7; = 1:2.3.19.1+dfsg1-2.1; = 1:2.3.19.1+dfsg1-2.1+deb12u1; = 1:2.3.19.1+dfsg1-2.1+deb12u2 +4 more 1:2.3.19.1+dfsg1-2.1+deb12u7 Fixed
debian/dovecot(Debian 13) < 1:2.4.1+dfsg1-6+deb13u7; = 1:2.4.1+dfsg1-6; = 1:2.4.1+dfsg1-6+deb13u1; = 1:2.4.1+dfsg1-6+deb13u2 +4 more 1:2.4.1+dfsg1-6+deb13u7 Fixed
debian/dovecot(Debian 14) < 1:2.4.5+dfsg1-1; = 1:2.4.1+dfsg1-6; = 1:2.4.1+dfsg1-7; = 1:2.4.1+dfsg1-8 +9 more 1:2.4.5+dfsg1-1 Fixed
Open-Xchange GmbH OX Dovecot CE >= 2.3.0, < 2.4.5 2.4.5 Fixed
Open-Xchange GmbH OX Dovecot Pro >= 2.3.0, < 2.3.22.2; >= 3.0.0, < 3.0.7; >= 3.1.0, < 3.1.6 2.3.22.2, 3.0.7, 3.1.6 Fixed

Affected products

ProductAffected versionsFixed in
Open-Xchange GmbH OX Dovecot Pro >= 2.3.0, < 2.3.22.2 2.3.22.2
Open-Xchange GmbH OX Dovecot Pro >= 3.0.0, < 3.0.7 3.0.7
Open-Xchange GmbH OX Dovecot Pro >= 3.1.0, < 3.1.6 3.1.6
Open-Xchange GmbH OX Dovecot CE >= 2.3.0, < 2.4.5 2.4.5
redhat/dovecot(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/dovecot(Red Hat:rhel_els:6) All versions No fix listed
redhat/dovecot(Red Hat:rhel_els:7) All versions No fix listed
redhat/dovecot(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/dovecot(Red Hat:enterprise_linux:9) All versions No fix listed
debian/dovecot(Debian:12) < 1:2.3.19.1+dfsg1-2.1+deb12u7 1:2.3.19.1+dfsg1-2.1+deb12u7
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u1 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u2 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u3 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u4 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u5 No fix listed
debian/dovecot(Debian:12) = 1:2.3.19.1+dfsg1-2.1+deb12u6 No fix listed
debian/dovecot(Debian:13) < 1:2.4.1+dfsg1-6+deb13u7 1:2.4.1+dfsg1-6+deb13u7
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u1 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u2 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u3 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u4 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u5 No fix listed
debian/dovecot(Debian:13) = 1:2.4.1+dfsg1-6+deb13u6 No fix listed
Show 18 more
ProductAffected versionsFixed in
debian/dovecot(Debian:14) < 1:2.4.5+dfsg1-1 1:2.4.5+dfsg1-1
debian/dovecot(Debian:14) = 1:2.4.1+dfsg1-6 No fix listed
debian/dovecot(Debian:14) = 1:2.4.1+dfsg1-7 No fix listed
debian/dovecot(Debian:14) = 1:2.4.1+dfsg1-8 No fix listed
debian/dovecot(Debian:14) = 1:2.4.1+dfsg1-9 No fix listed
debian/dovecot(Debian:14) = 1:2.4.2+dfsg1-1 No fix listed
debian/dovecot(Debian:14) = 1:2.4.2+dfsg1-2 No fix listed
debian/dovecot(Debian:14) = 1:2.4.2+dfsg1-3 No fix listed
debian/dovecot(Debian:14) = 1:2.4.2+dfsg1-4 No fix listed
debian/dovecot(Debian:14) = 1:2.4.3+dfsg1-1 No fix listed
debian/dovecot(Debian:14) = 1:2.4.3+dfsg1-2 No fix listed
debian/dovecot(Debian:14) = 1:2.4.4+dfsg1-1 No fix listed
debian/dovecot(Debian:14) = 1:2.4.4+dfsg1-2 No fix listed
ubuntu/dovecot(Ubuntu:22.04) All versions No fix listed
alpine/dovecot(Alpine:v3.23) < 2.4.5-r0 2.4.5-r0
alpine/dovecot(Alpine:v3.24) < 2.4.5-r0 2.4.5-r0
ubuntu/dovecot(Ubuntu:24.04) All versions No fix listed
ubuntu/dovecot(Ubuntu:26.04) All versions No fix listed

References