Dovecot 2.3.21.1 vulnerabilities

17 published vulnerabilities affect Dovecot 2.3.21.1.

17CVEs
1critical (CVSS 9+)
6high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The newest Dovecot release we know of is 2.4.5, with no known CVEs.

Upgrade toFixesStill openNew in that release
2.4.5newest releaseall 171 criticalnonenone

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting Dovecot 2.3.21.1

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2026-27851When safe filter is used with variable expansion, all following pipelines on the same string are incorrectly interpreted as safe too, enabling unsafe data to…9.1None knownunder 1%2.4.4NVD
CVE-2022-30550An issue was discovered in the auth component in Dovecot 2.2 and 2.3 before 2.3.208.8None known2%2.4.0NVD
CVE-2026-24031Dovecot SQL based authentication can be bypassed when auth_username_chars is cleared by admin8.2None knownunder 1%2.4.3NVD
CVE-2026-27858Attacker can send a specifically crafted message before authentication that causes managesieve to allocate large amount of memory. Attacker can force…7.5None knownunder 1%2.4.3NVD
CVE-2026-27857Sending "NOOP (((...)))" command with 4000 parenthesis open+close results in ~1MB extra memory usage7.5None knownunder 1%2.4.3NVD
CVE-2025-59032ManageSieve AUTHENTICATE command crashes when using literal as SASL initial response7.5None knownunder 1%2.4.3NVD
CVE-2025-59028When sending invalid base64 SASL data, login process is disconnected from the auth server, causing all active authentication sessions to fail7.5None knownunder 1%2.4.3NVD
CVE-2026-40016Attacker can upload a malicious Sieve script over ManageSieve service (or locally) to bypass configured CPU time limits for Sieve up to 130 times of the…6.5None knownunder 1%2.4.4NVD
CVE-2026-27856Doveadm credentials are verified using direct comparison which is susceptible to timing oracle attack5.9None knownunder 1%2.4.3NVD
CVE-2026-27855Dovecot OTP authentication is vulnerable to replay attack under specific conditions5.9None knownunder 1%2.4.3NVD
CVE-2026-33603Attacker can use a specially crafted base64 exchange between Dovecot and Client to fake SCRAM TLS channel binding5.3None knownunder 1%2.4.4NVD
CVE-2026-27860If auth_username_chars is empty, it is possible to inject arbitrary LDAP filter to Dovecot's LDAP authentication5.3None knownunder 1%2.4.3NVD
CVE-2026-27859A mail message containing excessive amount of RFC 2231 MIME parameters causes LMTP to use too much CPU. A suitably formatted mail message causes mail delivery…5.3None knownunder 1%2.4.3NVD
CVE-2026-0394When dovecot has been configured to use per-domain passwd files, and they are placed one path component above /etc, or slash has been added to allowed…5.3None knownunder 1%2.4.0NVD
CVE-2026-42006An 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…4.3None knownunder 1%2.4.4NVD
CVE-2026-40020Attacker can use the IMAP SETACL command to inject the anyone permission to user's dovecot-acl file even if imap_acl_allow_anyone=no4.3None knownunder 1%2.4.4NVD
CVE-2025-59031Dovecot has provided a script to use for attachment to text conversion4.3None knownunder 1%2.4.3NVD

Support for the 2.3 line

The 2.3 line was first released 22 December 2017. Active support (new features and bug fixes) ended 24 January 2025. Its latest release is 2.3.21.1. Dates and latest release from endoflife.date.

Other Dovecot 2.3 releases

2.3.2117 2.3.2017 2.3.19.117 2.3.1917 2.3.1817 2.3.17.117 2.3.1717 2.3.1617 2.3.1517 2.3.14.118 2.3.1420 2.3.1320 2.3.11.323 2.3.11.226

All Dovecot versions

How this list is made

These are the CVEs Dawnsentry matches to each Dovecot version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.