VulnarioBlogDovecot vulnerabilities

Dovecot Vulnerabilities: The 10 Most Critical Dovecot Security Bugs (CVEs)

Dovecot vulnerabilities are security flaws in Dovecot that attackers can abuse to steal data, take over a server or interrupt a service. Dovecot is an open-source IMAP and POP3 mail server. The National Vulnerability Database (NVD) lists 69 CVEs for Dovecot, 2 of them rated critical, and 16 were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.

This guide lists the 10 most critical Dovecot security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Dovecot security basics, the current end-of-life dates and a free way to be told about the next Dovecot CVE as soon as it is published.

Key takeaways

  • No Dovecot CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
  • 2 Dovecot CVEs are rated critical (CVSS v3), and 16 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2026-27851, published May 12, 2026.
  • Supported Dovecot releases today (per endoflife.date): 2.4, 2.3. Releases not on the list are past their announced end of life.
  • You can monitor Dovecot for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these Dovecot CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical Dovecot CVEs at a glance

Most critical Dovecot vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2019-115009.8 Critical2019-08-29Out-of-bounds writeNo
2CVE-2026-278519.1 Critical2026-05-12SQL injectionNo
3CVE-2022-305508.8 High2022-07-17Improper authenticationNo
4CVE-2026-240318.2 High2026-03-27SQL injectionNo
5CVE-2019-75247.8 High2019-03-28Memory buffer overflowNo
6CVE-2025-590287.5 High2026-03-27Improper input validationNo
7CVE-2025-590327.5 High2026-03-27Improper input validationNo
8CVE-2026-278577.5 High2026-03-27Resource exhaustion (DoS)No
9CVE-2026-278587.5 High2026-03-27Resource exhaustion (DoS)No
10CVE-2020-252757.5 High2021-01-04Improper input validationNo

Each Dovecot CVE explained

1. CVE-2019-11500: Out-of-bounds write

  • CVSS 9.8 Critical
  • Published 2019-08-29
  • CWE-787
What NVD says
In Dovecot before 2.2.36.4 and 2.3.x before 2.3.7.2 (and Pigeonhole before 0.5.7.2), protocol processing can fail for quoted strings. This occurs because '\0' characters are mishandled, and can lead to out-of-bounds writes and remote code execution.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 2.2.36.4; 2.3.0 to before 2.3.7.2
What to do
Upgrade to the fixed release for your branch (2.2.36.4, 2.3.7.2) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2019-11500 (opens in a new tab)

2. CVE-2026-27851: SQL injection

  • CVSS 9.1 Critical
  • Published 2026-05-12
  • CWE-235
What NVD says
When safe filter is used with variable expansion, all following pipelines on the same string are incorrectly interpreted as safe too, enabling unsafe data to be unescaped. This can enable SQL / LDAP injection attacks when used in authentication. Avoid using safe filter until on fixed version. No publicly available exploits are known.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
Affected versions
before 2.4.4
What to do
Upgrade to 2.4.4 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-27851 (opens in a new tab)

3. CVE-2022-30550: Improper authentication

  • CVSS 8.8 High
  • Published 2022-07-17
  • CWE-287
What NVD says
An issue was discovered in the auth component in Dovecot 2.2 and 2.3 before 2.3.20. When two passdb configuration entries exist with the same driver and args settings, incorrect username_filter and mechanism settings can be applied to passdb definitions. These incorrectly applied settings can lead to an unintended security configuration and can permit privilege escalation in certain configurations.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.3 to before 2.4.0; 2.2
What to do
Upgrade to 2.4.0 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2022-30550 (opens in a new tab)

4. CVE-2026-24031: SQL injection

  • CVSS 8.2 High
  • Published 2026-03-27
  • CWE-89
What NVD says
Dovecot SQL based authentication can be bypassed when auth_username_chars is cleared by admin. This vulnerability allows bypassing authentication for any user and user enumeration. Do not clear auth_username_chars. If this is not possible, install latest fixed version. No publicly available exploits are known.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on integrity; limited impact on confidentiality.
Affected versions
before 2.4.3
What to do
Upgrade to 2.4.3 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-24031 (opens in a new tab)

5. CVE-2019-7524: Memory buffer overflow

  • CVSS 7.8 High
  • Published 2019-03-28
  • CWE-119
What NVD says
In Dovecot before 2.2.36.3 and 2.3.x before 2.3.5.1, a local attacker can cause a buffer overflow in the indexer-worker process, which can be used to elevate to root. This occurs because of missing checks in the fts and pop3-uidl components.
How it can be attacked
Can be exploited locally on the machine with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 2.2.36.3; 2.3.0 to before 2.3.5.1
What to do
Upgrade to the fixed release for your branch (2.2.36.3, 2.3.5.1) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2019-7524 (opens in a new tab)

6. CVE-2025-59028: Improper input validation

  • CVSS 7.5 High
  • Published 2026-03-27
  • CWE-20
What NVD says
When sending invalid base64 SASL data, login process is disconnected from the auth server, causing all active authentication sessions to fail. Invalid BASE64 data can be used to DoS a vulnerable server to break concurrent logins. Install fixed version or disable concurrency in login processes (heavy perfomance penalty on large deployments). No publicly available exploits are known.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
before 2.4.3
What to do
Upgrade to 2.4.3 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2025-59028 (opens in a new tab)

7. CVE-2025-59032: Improper input validation

  • CVSS 7.5 High
  • Published 2026-03-27
  • CWE-20
What NVD says
ManageSieve AUTHENTICATE command crashes when using literal as SASL initial response. This can be used to crash ManageSieve service repeatedly, making it unavailable for other users. Control access to ManageSieve port, or disable the service if it's not needed. Alternatively upgrade to a fixed version. No publicly available exploits are known.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
before 2.4.3
What to do
Upgrade to 2.4.3 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2025-59032 (opens in a new tab)

8. CVE-2026-27857: Resource exhaustion (DoS)

  • CVSS 7.5 High
  • Published 2026-03-27
  • CWE-400
What NVD says
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.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
before 2.4.3
What to do
Upgrade to 2.4.3 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-27857 (opens in a new tab)

9. CVE-2026-27858: Resource exhaustion (DoS)

  • CVSS 7.5 High
  • Published 2026-03-27
  • CWE-400
What NVD says
Attacker can send a specifically crafted message before authentication that causes managesieve to allocate large amount of memory. Attacker can force managesieve-login to be unavailable by repeatedly crashing the process. Protect access to managesieve protocol, or install fixed version. No publicly available exploits are known.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
before 2.4.3
What to do
Upgrade to 2.4.3 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2026-27858 (opens in a new tab)

10. CVE-2020-25275: Improper input validation

  • CVSS 7.5 High
  • Published 2021-01-04
  • CWE-20
What NVD says
Dovecot before 2.3.13 has Improper Input Validation in lda, lmtp, and imap, leading to an application crash via a crafted email message with certain choices for ten thousand MIME parts.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
Affected versions
before 2.3.13
What to do
Upgrade to 2.3.13 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2020-25275 (opens in a new tab)

Dovecot end of life: which versions still get security fixes

Running a release that still receives security fixes is the most effective way to avoid Dovecot vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Dovecot releases are 2.4, 2.3.

Dovecot release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Dovecot 2.4Jan 24, 2025Not announced2.4.5Supported
Dovecot 2.3Dec 22, 2017Not announced2.3.21.1Supported
Dovecot 2.2Apr 11, 2013Jan 24, 20252.2.36.4End of life
Dovecot 2.1Feb 16, 2012Dec 22, 20172.1.16End of life
Dovecot 2.0Aug 16, 2010Apr 11, 20132.0.15End of life

Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.

How to check if your Dovecot is vulnerable

Find the exact version first, then compare it with the affected and fixed versions in each CVE above.

dovecot --version

On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.

Dovecot security checklist

  1. Patch mail software as soon as a fix is out; it is reachable from the whole internet.
  2. Require TLS and authentication, and never run an open relay.
  3. Publish SPF, DKIM and DMARC records for every sending domain.
  4. Rate-limit connections and logins to slow brute-force attempts.
  5. Keep webmail and admin interfaces behind extra access controls.
  6. Watch the mail queue and logs for sudden spikes.

Where you run Dovecot matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating Dovecot: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than Dovecot. A flaw anywhere in the chain can be the way in, so also review our guides to Postfix vulnerabilities, Exim vulnerabilities and Roundcube vulnerabilities.

How to get alerted about new Dovecot vulnerabilities

NVD received 16 new Dovecot CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Dovecot and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run Dovecot alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about Dovecot vulnerabilities

What are the most critical Dovecot vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Dovecot CVEs include CVE-2019-11500 (CVSS 9.8), CVE-2026-27851 (CVSS 9.1), CVE-2022-30550 (CVSS 8.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have Dovecot vulnerabilities been exploited in real attacks?

For the Dovecot product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep Dovecot patched.

How many vulnerabilities does Dovecot have?

As of Nov 3, 2026 the National Vulnerability Database lists 69 CVEs for Dovecot, with 2 rated critical by CVSS v3. 16 were published in the previous twelve months.

Which Dovecot versions are still supported?

As of Nov 3, 2026, endoflife.date lists these Dovecot releases as supported: 2.4, 2.3. Releases that are not listed are past their announced end of life.

How do I check which Dovecot version I run?

Run dovecot --version on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.

How can I get alerted when a new Dovecot CVE is published?

Add Dovecot to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Dovecot and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is Dovecot secure?

Dovecot is as secure as its patch level. NVD published 16 new Dovecot CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2019-11500?

CVE-2019-11500 is a critical Dovecot vulnerability with a CVSS score of 9.8, published Aug 29, 2019. In Dovecot before 2.2.36.4 and 2.3.x before 2.3.7.2 (and Pigeonhole before 0.5.7.2), protocol processing can fail for quoted strings. This occurs because '\0' characters are mishandled, and can lead to out-of-bounds writes and remote code execution.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.