An attacker can cause uncontrolled memory usage with excessive bracing over IMAP. The fix in CVE-2026-27857 was incomplete, only blocking one way of doing this, so there was still another way left open. In particular, the fix was for closing braces, but you c…
3.1Low
CVE-2026-40020
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.
Weakness (CWE):
CWE-284
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| dovecot | dovecot | < 2.4.4 | |
| open-xchange | dovecot | < 3.1.5 | |
| Open-Xchange GmbH | OX Dovecot Pro | ≤ 2.3.0 |
References and patches
- https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-2026-0002.json vendor-advisoryVendor Advisory
CPE matches (NVD) (2)
cpe:2.3:a:dovecot:dovecot:*:*:*:*:*:*:*:*< 2.4.4cpe:2.3:a:open-xchange:dovecot:*:*:*:*:pro:*:*:*< 3.1.5