Skip to content

CVE-2026-40020 dovecot: dovecot: Denial of Service via IMAP SETACL command injection

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

Description

Attacker can use the IMAP SETACL command to inject the anyone permission to user's dovecot-acl file even if imap_acl_allow_anyone=no. This causes folders to be spammed to all users. The impact is limited to being able to spam folders to other users, no unexpected access is gained. Install to fixed version. No publicly available exploits are known.

Upgrade path

14 packages: 11 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
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 6) All versions No fix listed No fix yet
alpine/dovecot(Alpine v3.23) < 2.4.4-r0 2.4.4-r0 Fixed
alpine/dovecot(Alpine v3.24) < 2.4.4-r0 2.4.4-r0 Fixed
debian/dovecot(Debian 12) < 1:2.3.19.1+dfsg1-2.1+deb12u6; = 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 +3 more 1:2.3.19.1+dfsg1-2.1+deb12u6 Fixed
debian/dovecot(Debian 13) < 1:2.4.1+dfsg1-6+deb13u6; = 1:2.4.1+dfsg1-6; = 1:2.4.1+dfsg1-6+deb13u1; = 1:2.4.1+dfsg1-6+deb13u2 +3 more 1:2.4.1+dfsg1-6+deb13u6 Fixed
debian/dovecot(Debian 14) < 1:2.4.4+dfsg1-1; = 1:2.4.1+dfsg1-6; = 1:2.4.1+dfsg1-7; = 1:2.4.1+dfsg1-8 +7 more 1:2.4.4+dfsg1-1 Fixed
dovecot < 2.4.4 2.4.4 Fixed
Open-Xchange GmbH dovecot < 3.1.5 3.1.5 Fixed
Open-Xchange GmbH OX Dovecot Pro <= 2.3.0 after 2.3.0 Fixed
ubuntu/dovecot(Ubuntu 22.04) < 1:2.3.16+dfsg1-3ubuntu2.9 1:2.3.16+dfsg1-3ubuntu2.9 Fixed
ubuntu/dovecot(Ubuntu 24.04) < 1:2.3.21+dfsg1-2ubuntu6.5 1:2.3.21+dfsg1-2ubuntu6.5 Fixed
ubuntu/dovecot(Ubuntu 26.04) < 1:2.4.2+dfsg1-3ubuntu2.1 1:2.4.2+dfsg1-3ubuntu2.1 Fixed

Affected products

ProductAffected versionsFixed in
Open-Xchange GmbH OX Dovecot Pro <= 2.3.0 No fix listed
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: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+deb12u6 1:2.3.19.1+dfsg1-2.1+deb12u6
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:13) < 1:2.4.1+dfsg1-6+deb13u6 1:2.4.1+dfsg1-6+deb13u6
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:14) < 1:2.4.4+dfsg1-1 1:2.4.4+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
Show 12 more
ProductAffected versionsFixed in
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
ubuntu/dovecot(Ubuntu:22.04) < 1:2.3.16+dfsg1-3ubuntu2.9 1:2.3.16+dfsg1-3ubuntu2.9
alpine/dovecot(Alpine:v3.23) < 2.4.4-r0 2.4.4-r0
alpine/dovecot(Alpine:v3.24) < 2.4.4-r0 2.4.4-r0
ubuntu/dovecot(Ubuntu:24.04) < 1:2.3.21+dfsg1-2ubuntu6.5 1:2.3.21+dfsg1-2ubuntu6.5
ubuntu/dovecot(Ubuntu:26.04) < 1:2.4.2+dfsg1-3ubuntu2.1 1:2.4.2+dfsg1-3ubuntu2.1
dovecot < 2.4.4 2.4.4
Open-Xchange GmbH dovecot < 3.1.5 3.1.5

References