Skip to main content

Security Advisories & Policy

Dovecot was designed since the beginning with security in mind and with many ways to provide privilege separation. Although the code is written with C, it’s a Dovecot-hardened special C variant that makes it much more difficult to write security holes than with most other C-based projects.

Reporting Vulnerabilities

Found a Security Bug?

Do not report security issues via public mailing lists or public issues tracker. Please report vulnerabilities confidentially using our GPG encrypted mailbox at security@dovecot.org or via our YesWeHack Bug Bounty Program.

General Bugs

General Bug Reporting

For non-security related bugs, technical defects, or configuration issues, please consult the guidelines before submitting.

Security Advisories

CVE-2025-59028 27 Mar 2026
moderate Severity

Invalid base64 authentication can cause DoS for other logins. When sending invalid base64 SASL data, login process is disconnected from the auth server, causing all active authentication sessions to fail.

CVE-2025-59031 27 Mar 2026
moderate Severity

decode2text.sh OOXML extraction may follow symlinks and read unintended files during indexing. Dovecot has provided a script to use for attachment to text conversion. This script unsafely handles zip-style attachments.

CVE-2025-59032 27 Mar 2026
moderate Severity

v2.4/v3.1 regression: Pigeonhole: ManageSieve panic occurs with sieve-connect as a client. ManageSieve AUTHENTICATE command crashes when using literal as SASL initial response.

CVE-2026-0394 27 Mar 2026
moderate Severity

auth: Path traversal in passwd-file passdb using %d (domain) escapes base directory and opens /etc/passwdPre-auth path traversal in passwd-file passdb using %d (domain) escapes base directory and opens /etc/passwd. When 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 characters, path traversal can happen if the domain component is directory partial. Fixed in v2.4.0.

CVE-2026-24031 27 Mar 2026
moderate Severity

v2.4/v3.1 regression: SQL injection allows bypassing authentication. Dovecot SQL based authentication can be bypassed when auth_username_chars is cleared by admin.

CVE-2026-27855 27 Mar 2026
moderate Severity

auth: OTP driver vulnerable to replay attack. Dovecot OTP authentication is vulnerable to replay attack under specific conditions. If auth cache is enabled, and username is altered in passdb, then OTP credentials can be cached so that same OTP reply is valid.

CVE-2026-27856 27 Mar 2026
moderate Severity

doveadm: Credentials verified without timing safety. Doveadm credentials are verified using direct comparison which is susceptible to timing oracle attack. An attacker can use this to determine the configured credentials.

CVE-2026-27857 27 Mar 2026
moderate Severity

imap-login: Excessive memory usage DoS. Sending `NOOP (((...)))` command with 4000 parenthesis open+close results in ~1MB extra memory usage. Longer commands will result in client disconnection. This 1 MB can be left allocated for longer time periods by not sending the command ending LF. So attacker could connect possibly from even a single IP and create 1000 connections to allocate 1 GB of memory, which would likely result in reaching VSZ limit and killing the process and its other proxied connections.

CVE-2026-27858 27 Mar 2026
moderate Severity

managesieve-login out-of-memory DoS. Attacker can send a specifically crafted message before authentication that causes managesieve to allocate large amount of memory.

CVE-2026-27859 27 Mar 2026
moderate Severity

v3.0.2+ regression: Message headers MIME parameter parsing can cause excessive CPU usage. A mail message containing excessive amount of RFC 2231 MIME parameters causes LMTP to use too much CPU.

CVE-2026-27860 27 Mar 2026
moderate Severity

v2.4/v3.1 regression: auth-ldap is not escaping usernames. If auth_username_chars is empty, it is possible to inject arbitrary LDAP filter to Dovecot's LDAP authentication.

CVE-2025-30189 29 Oct 2025
moderate Severity

Using auth caching with oauth2 passdb, passwd passdb or userdb, or passwd userdb, causes the first lookup to be cached for all the lookups.

CVE-2024-23184 14 Aug 2024
moderate Severity

Having a large number of address headers (From, To, Cc, Bcc, etc.) becomes excessively CPU intensive

CVE-2024-23185 14 Aug 2024
high Severity

Very large headers can cause resource exhaustion when parsing message

CVE-2022-30550 06 Jul 2022
high Severity

Privilege escalation possible in dovecot when similar master and non-master passdbs are used

CVE-2020-28200 21 Jun 2021
high Severity

Sieve excessive resource usage

CVE-2021-29157 21 Jun 2021
moderate Severity

oauth2 JWT local validation path traversal

CVE-2021-33515 21 Jun 2021
moderate Severity

SMTP Submission service STARTTLS injection

CVE-2020-24386 04 Jan 2021
moderate Severity

IMAP hibernation allows accessing other peoples mail

CVE-2020-25275 04 Jan 2021
moderate Severity

MIME parsing crashes with particular messages

CVE-2020-12100 12 Aug 2020
high Severity

Receiving mail with deeply nested MIME parts leads to resource exhaustion

CVE-2020-12673 12 Aug 2020
moderate Severity

Specially crafted NTLM package can crash auth service

CVE-2020-12674 12 Aug 2020
moderate Severity

Specially crafted RPA authentication message crashes auth

CVE-2020-10957 18 May 2020
moderate Severity

Sending malformed NOOP command causes crash in submission, submission-login or lmtp service.

CVE-2020-10958 18 May 2020
moderate Severity

Sending command followed by sufficient number of newlines triggers a use-after-free bug that might crash submission-login, submission or lmtp service.

CVE-2020-10967 18 May 2020
moderate Severity

Sending mail with empty quoted localpart causes submission or lmtp component to crash.

CVE-2020-7046 12 Feb 2020
moderate Severity

Truncated UTF-8 can be used to DoS submission-login and lmtp processes

CVE-2020-7957 12 Feb 2020
moderate Severity

Specially crafted mail can crash snippet generation

CVE-2019-19722 13 Dec 2019
moderate Severity

Critical vulnerability in Dovecot

CVE-2019-11500 28 Aug 2019
moderate Severity

IMAP and ManageSieve protocol parsers do not properly handle NUL byte when scanning data in quoted strings

CVE-2019-11494 30 Apr 2019
moderate Severity

Submission-login crashes with signal 11 due to null pointer access when authentication is aborted by disconnecting

CVE-2019-11499 30 Apr 2019
moderate Severity

Submission-login crashes when authentication is started over TLS secured channel and invalid authentication message is sent

CVE-2019-10691 18 Apr 2019
moderate Severity

JSON encoder in Dovecot 2.3 incorrectly assert-crashes when encountering invalid UTF-8 characters

CVE-2019-7524 28 Mar 2019
moderate Severity

Buffer overflow when reading extension header from dovecot index files

CVE-2019-3814 05 Feb 2019
moderate Severity

Suitable client certificate can be used to login as other user