VulnarioBlogPostfix vulnerabilities
Postfix Vulnerabilities: The 10 Most Critical Postfix Security Bugs (CVEs)
Postfix vulnerabilities are security flaws in Postfix that attackers can abuse to steal data, take over a server or interrupt a service. Postfix is a widely used open-source mail transfer agent. The National Vulnerability Database (NVD) lists 12 CVEs for Postfix, 0 of them rated critical, and 1 was 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 Postfix security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Postfix security basics and a free way to be told about the next Postfix CVE as soon as it is published.
Key takeaways
- No Postfix CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
- 0 Postfix CVEs are rated critical (CVSS v3), and 1 new one was published in the last 12 months.
- The newest CVE in this guide is CVE-2026-43964, published May 4, 2026.
- You can monitor Postfix for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these Postfix 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 Postfix CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2017-10140 | 7.8 High | 2018-04-16 | Privilege escalation | No |
| 2 | CVE-2026-43964 | 7.5 High | 2026-05-04 | Security flaw | No |
| 3 | CVE-2023-51764 | 5.3 Medium | 2023-12-24 | Insufficient data authenticity check | No |
| 4 | CVE-2020-12063 | 5.3 Medium | 2020-04-24 | Security flaw | No |
| 5 | CVE-2009-2939 | 6.9 (v2) Medium | 2009-09-21 | Link following | No |
| 6 | CVE-2008-4977 | 6.9 (v2) Medium | 2008-11-06 | Link following | No |
| 7 | CVE-2011-1720 | 6.8 (v2) Medium | 2011-05-13 | Memory buffer overflow | No |
| 8 | CVE-2011-0411 | 6.8 (v2) Medium | 2011-03-16 | Permissions and privileges | No |
| 9 | CVE-2012-0811 | 6.5 (v2) Medium | 2014-10-01 | SQL injection | No |
| 10 | CVE-2008-2936 | 6.2 (v2) Medium | 2008-08-18 | Permissions and privileges | No |
Each Postfix CVE explained
1. CVE-2017-10140: Privilege escalation
- What NVD says
- Postfix before 2.11.10, 3.0.x before 3.0.10, 3.1.x before 3.1.6, and 3.2.x before 3.2.2 might allow local users to gain privileges by leveraging undocumented functionality in Berkeley DB 2.x and later, related to reading settings from DB_CONFIG in the current directory.
- 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.11.10; 3.0.0 to before 3.0.10; 3.1.0 to before 3.1.6; 3.2.0 to before 3.2.2
- What to do
- Upgrade to the fixed release for your branch (2.11.10, 3.0.10, 3.1.6) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2026-43964: Security flaw
- What NVD says
- Postfix before 3.8.16, 3.9 before 3.9.10, and 3.10 before 3.10.9 sometimes allows a buffer over-read and process crash via an enhanced status code that lacks text after the third number.
- 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 3.8.16; 3.9.0 to before 3.9.10; 3.10.0 to before 3.10.9
- What to do
- Upgrade to the fixed release for your branch (3.8.16, 3.9.10, 3.10.9) or a later one, then restart the service.
3. CVE-2023-51764: Insufficient data authenticity check
- What NVD says
- Postfix through 3.8.5 allows SMTP smuggling unless configured with smtpd_data_restrictions=reject_unauth_pipelining and smtpd_discard_ehlo_keywords=chunking (or certain other options that exist in recent versions). Remote attackers can use a published exploitation technique to inject e-mail messages with a spoofed MAIL FROM address, allowing bypass of an SPF protection mechanism.
- 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 limited impact on integrity.
- Affected versions
- before 3.5.23; 3.6.0 to before 3.6.13; 3.7.0 to before 3.7.9; 3.8.0 to before 3.8.4
- What to do
- Upgrade to the fixed release for your branch (3.5.23, 3.6.13, 3.7.9) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2020-12063: Security flaw
- What NVD says
- A certain Postfix 2.10.1-7 package could allow an attacker to send an email from an arbitrary-looking sender via a homoglyph attack, as demonstrated by the similarity of \xce\xbf to the 'o' character.
- 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 limited impact on integrity.
- Affected versions
- 2.10.1
- What to do
- Apply the vendor's security update for your release and restart the service.
5. CVE-2009-2939: Link following
- What NVD says
- The postfix.postinst script in the Debian GNU/Linux and Ubuntu postfix 2.5.5 package grants the postfix user write access to /var/spool/postfix/pid, which might allow local users to conduct symlink attacks that overwrite arbitrary files.
- Affected versions
- 2.5.5
- What to do
- Apply the vendor's security update for your release and restart the service.
6. CVE-2008-4977: Link following
- What NVD says
- postfix_groups.pl in Postfix 2.5.2 allows local users to overwrite arbitrary files via a symlink attack on the (1) /tmp/postfix_groups.stdout, (2) /tmp/postfix_groups.stderr, and (3) /tmp/postfix_groups.message temporary files. NOTE: the vendor disputes this vulnerability, stating "This is not a real issue ... users would have to edit a script under /usr/lib to enable it.
- Affected versions
- 2.5.2
- What to do
- Apply the vendor's security update for your release and restart the service.
7. CVE-2011-1720: Memory buffer overflow
- What NVD says
- The SMTP server in Postfix before 2.5.13, 2.6.x before 2.6.10, 2.7.x before 2.7.4, and 2.8.x before 2.8.3, when certain Cyrus SASL authentication methods are enabled, does not create a new server handle after client authentication fails, which allows remote attackers to cause a denial of service (heap memory corruption and daemon crash) or possibly execute arbitrary code via an invalid AUTH command with one method…
- Affected versions
- 2.0.0; 2.0.1; 2.0.2; 2.0.3
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
8. CVE-2011-0411: Permissions and privileges
- What NVD says
- The STARTTLS implementation in Postfix 2.4.x before 2.4.16, 2.5.x before 2.5.12, 2.6.x before 2.6.9, and 2.7.x before 2.7.3 does not properly restrict I/O buffering, which allows man-in-the-middle attackers to insert commands into encrypted SMTP sessions by sending a cleartext command that is processed after TLS is in place, related to a "plaintext command injection" attack.
- Affected versions
- 2.4; 2.4.0; 2.4.1; 2.4.2
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
9. CVE-2012-0811: SQL injection
- What NVD says
- Multiple SQL injection vulnerabilities in Postfix Admin (aka postfixadmin) before 2.3.5 allow remote authenticated users to execute arbitrary SQL commands via (1) the pw parameter to the pacrypt function, when mysql_encrypt is configured, or (2) unspecified vectors that are used in backup files generated by backup.php.
- Affected versions
- up to and including 2.3.4; 2.0.0; 2.0.1; 2.0.2
- What to do
- Apply the vendor's security update for your release and restart the service.
10. CVE-2008-2936: Permissions and privileges
- What NVD says
- Postfix before 2.3.15, 2.4 before 2.4.8, 2.5 before 2.5.4, and 2.6 before 2.6-20080814, when the operating system supports hard links to symlinks, allows local users to append e-mail messages to a file to which a root-owned symlink points, by creating a hard link to this symlink and then sending a message. NOTE: this can be leveraged to gain privileges if there is a symlink to an init script.
- Affected versions
- 2.3.0; 2.3.1; 2.3.2; 2.3.3
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
How to check if your Postfix is vulnerable
Find the exact version first, then compare it with the affected and fixed versions in each CVE above.
postconf mail_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.
Postfix 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 Postfix 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 Postfix: on most plans the operating system and applications are yours to patch unless the plan says otherwise.
Your stack is bigger than Postfix. A flaw anywhere in the chain can be the way in, so also review our guides to Dovecot vulnerabilities, Exim vulnerabilities and Roundcube vulnerabilities.
How to get alerted about new Postfix vulnerabilities
NVD received 1 new Postfix CVE 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 Postfix 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 Postfix alone. These guides cover the technologies it is most often deployed with.
- Dovecot vulnerabilities: Dovecot is an open-source IMAP and POP3 mail server.
- 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.
- OpenSSL vulnerabilities: OpenSSL is the cryptography and TLS library used by most web servers.
- ISPConfig vulnerabilities: ISPConfig is an open-source hosting control panel for managing multiple servers, websites and mailboxes.
- 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.
- ClamAV vulnerabilities: ClamAV is an open-source antivirus engine, common on mail and web servers.
Frequently asked questions about Postfix vulnerabilities
What are the most critical Postfix vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Postfix CVEs include CVE-2017-10140 (CVSS 7.8), CVE-2026-43964 (CVSS 7.5), CVE-2023-51764 (CVSS 5.3). The guide above ranks the 10 most critical with affected versions and fixes.
Have Postfix vulnerabilities been exploited in real attacks?
For the Postfix 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 Postfix patched.
How many vulnerabilities does Postfix have?
As of Nov 3, 2026 the National Vulnerability Database lists 12 CVEs for Postfix, with 0 rated critical by CVSS v3. 1 was published in the previous twelve months.
How do I check which Postfix version I run?
Run postconf mail_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 Postfix CVE is published?
Add Postfix to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Postfix 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 Postfix secure?
Postfix is as secure as its patch level. NVD published 1 new Postfix CVE in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2017-10140?
CVE-2017-10140 is a high Postfix vulnerability with a CVSS score of 7.8, published Apr 16, 2018. Postfix before 2.11.10, 3.0.x before 3.0.10, 3.1.x before 3.1.6, and 3.2.x before 3.2.2 might allow local users to gain privileges by leveraging undocumented functionality in Berkeley DB 2.x and later, related to reading settings from DB_CONFIG in the current directory.
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.
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.