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
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2019-11500 | 9.8 Critical | 2019-08-29 | Out-of-bounds write | No |
| 2 | CVE-2026-27851 | 9.1 Critical | 2026-05-12 | SQL injection | No |
| 3 | CVE-2022-30550 | 8.8 High | 2022-07-17 | Improper authentication | No |
| 4 | CVE-2026-24031 | 8.2 High | 2026-03-27 | SQL injection | No |
| 5 | CVE-2019-7524 | 7.8 High | 2019-03-28 | Memory buffer overflow | No |
| 6 | CVE-2025-59028 | 7.5 High | 2026-03-27 | Improper input validation | No |
| 7 | CVE-2025-59032 | 7.5 High | 2026-03-27 | Improper input validation | No |
| 8 | CVE-2026-27857 | 7.5 High | 2026-03-27 | Resource exhaustion (DoS) | No |
| 9 | CVE-2026-27858 | 7.5 High | 2026-03-27 | Resource exhaustion (DoS) | No |
| 10 | CVE-2020-25275 | 7.5 High | 2021-01-04 | Improper input validation | No |
Each Dovecot CVE explained
1. CVE-2019-11500: Out-of-bounds write
- 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)
2. CVE-2026-27851: SQL injection
- 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)
3. CVE-2022-30550: Improper authentication
- 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)
4. CVE-2026-24031: SQL injection
- 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)
5. CVE-2019-7524: Memory buffer overflow
- 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)
6. CVE-2025-59028: Improper input validation
- 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)
7. CVE-2025-59032: Improper input validation
- 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)
8. CVE-2026-27857: Resource exhaustion (DoS)
- 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)
9. CVE-2026-27858: Resource exhaustion (DoS)
- 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)
10. CVE-2020-25275: Improper input validation
- 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)
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.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Dovecot 2.4 | Jan 24, 2025 | Not announced | 2.4.5 | Supported |
| Dovecot 2.3 | Dec 22, 2017 | Not announced | 2.3.21.1 | Supported |
| Dovecot 2.2 | Apr 11, 2013 | Jan 24, 2025 | 2.2.36.4 | End of life |
| Dovecot 2.1 | Feb 16, 2012 | Dec 22, 2017 | 2.1.16 | End of life |
| Dovecot 2.0 | Aug 16, 2010 | Apr 11, 2013 | 2.0.15 | End 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
- Patch mail software as soon as a fix is out; it is reachable from the whole internet.
- Require TLS and authentication, and never run an open relay.
- Publish SPF, DKIM and DMARC records for every sending domain.
- Rate-limit connections and logins to slow brute-force attempts.
- Keep webmail and admin interfaces behind extra access controls.
- 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.
Related security guides
Few stacks run Dovecot alone. These guides cover the technologies it is most often deployed with.
- Postfix vulnerabilities: Postfix is a widely used open-source mail transfer agent.
- Exim vulnerabilities: Exim is a mail transfer agent (MTA) used by default on many hosting servers.
- Roundcube vulnerabilities: Roundcube is a browser-based IMAP email client written in PHP.
- ISPConfig vulnerabilities: ISPConfig is an open-source hosting control panel for managing multiple servers, websites and mailboxes.
- MailEnable vulnerabilities: MailEnable is a mail server for Windows.
- Sendmail vulnerabilities: Sendmail is one of the oldest mail transfer agents, still present on many Unix systems.
- Zimbra vulnerabilities: Zimbra is an email and collaboration suite with a web client.
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
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Dovecot (opens in a new tab), release and support dates, checked Nov 3, 2026.
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.