VulnarioBlogSendmail vulnerabilities
Sendmail Vulnerabilities: The 10 Most Critical Sendmail Security Bugs (CVEs)
Sendmail vulnerabilities are security flaws in Sendmail that attackers can abuse to steal data, take over a server or interrupt a service. Sendmail is one of the oldest mail transfer agents, still present on many Unix systems. The National Vulnerability Database (NVD) lists 33 CVEs for Sendmail, 0 of them rated critical, and none 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 Sendmail security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Sendmail security basics and a free way to be told about the next Sendmail CVE as soon as it is published.
Key takeaways
- No Sendmail 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 Sendmail CVEs are rated critical (CVSS v3), and 0 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2023-51765, published Dec 24, 2023.
- You can monitor Sendmail for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these Sendmail 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 Sendmail CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2006-4434 | 7.5 High | 2006-08-29 | Use after free | No |
| 2 | CVE-2021-3618 | 7.4 High | 2022-03-23 | Improper certificate validation | No |
| 3 | CVE-2023-51765 | 5.3 Medium | 2023-12-24 | Insufficient data authenticity check | No |
| 4 | CVE-2003-0694 | 10.0 (v2) High | 2003-10-06 | Arbitrary code execution | No |
| 5 | CVE-2003-0161 | 10.0 (v2) High | 2003-04-02 | Arbitrary code execution | No |
| 6 | CVE-2002-1337 | 10.0 (v2) High | 2003-03-07 | Buffer overflow | No |
| 7 | CVE-2007-2246 | 7.8 (v2) High | 2007-04-25 | Resource management error | No |
| 8 | CVE-2006-0058 | 7.6 (v2) High | 2006-03-22 | Arbitrary code execution | No |
| 9 | CVE-2009-4565 | 7.5 (v2) High | 2010-01-04 | Cryptographic issues | No |
| 10 | CVE-2006-7175 | 7.5 (v2) High | 2007-03-27 | Security flaw | No |
Each Sendmail CVE explained
1. CVE-2006-4434: Use after free
- What NVD says
- Use-after-free vulnerability in Sendmail before 8.13.8 allows remote attackers to cause a denial of service (crash) via a long "header line", which causes a previously freed variable to be referenced.
- 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 8.13.8
- What to do
- Upgrade to 8.13.8 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2021-3618: Improper certificate validation
- What NVD says
- ALPACA is an application layer protocol content confusion attack, exploiting TLS servers implementing different protocols but using compatible certificates, such as multi-domain or wildcard certificates. A MiTM attacker having access to victim's traffic at the TCP/IP layer can redirect traffic from one subdomain to another, resulting in a valid TLS session.
- How it can be attacked
- Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
- Affected versions
- before 8.17
- What to do
- Upgrade to 8.17 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
3. CVE-2023-51765: Insufficient data authenticity check
- What NVD says
- sendmail through 8.17.2 allows SMTP smuggling in certain configurations. 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. This occurs because sendmail supports <LF>.<CR><LF> but some other popular e-mail servers do not. This is resolved in 8.18 and later versions with 'o' in srv_features.
- 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 8.18.0.2
- What to do
- Upgrade to 8.18.0.2 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2003-0694: Arbitrary code execution
- What NVD says
- The prescan function in Sendmail 8.12.9 allows remote attackers to execute arbitrary code via buffer overflow attacks, as demonstrated using the parseaddr function in parseaddr.c.
- Affected versions
- 2.6; 2.6.1; 2.6.2; 3.0
- 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).
5. CVE-2003-0161: Arbitrary code execution
- What NVD says
- The prescan() function in the address parser (parseaddr.c) in Sendmail before 8.12.9 does not properly handle certain conversions from char and int types, which can cause a length check to be disabled when Sendmail misinterprets an input value as a special "NOCHAR" control value, allowing attackers to cause a denial of service and possibly execute arbitrary code via a buffer overflow attack using messages, a…
- Affected versions
- 2.6; 2.6.1; 2.6.2; 3.0
- 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).
6. CVE-2002-1337: Buffer overflow
- What NVD says
- Buffer overflow in Sendmail 5.79 to 8.12.7 allows remote attackers to execute arbitrary code via certain formatted address fields, related to sender and recipient header comments as processed by the crackaddr function of headers.c.
- Affected versions
- before 8.9.3; 8.10.0 to before 8.11.6; 8.12.0 to before 8.12.8
- What to do
- Upgrade to the fixed release for your branch (8.9.3, 8.11.6, 8.12.8) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
7. CVE-2007-2246: Resource management error
- What NVD says
- Unspecified vulnerability in HP-UX B.11.00 and B.11.11, when running sendmail 8.9.3 or 8.11.1; and HP-UX B.11.23 when running sendmail 8.11.1; allows remote attackers to cause a denial of service via unknown attack vectors. NOTE: due to the lack of details from HP, it is not known whether this issue is a duplicate of another CVE such as CVE-2006-1173 or CVE-2006-4434.
- Affected versions
- 8.9.3; 8.11.1
- 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-2006-0058: Arbitrary code execution
- What NVD says
- Signal handler race condition in Sendmail 8.13.x before 8.13.6 allows remote attackers to execute arbitrary code by triggering timeouts in a way that causes the setjmp and longjmp function calls to be interrupted and modify unexpected memory locations.
- Affected versions
- 8.13.0; 8.13.1; 8.13.2; 8.13.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).
9. CVE-2009-4565: Cryptographic issues
- What NVD says
- sendmail before 8.14.4 does not properly handle a '\0' character in a Common Name (CN) field of an X.509 certificate, which (1) allows man-in-the-middle attackers to spoof arbitrary SSL-based SMTP servers via a crafted server certificate issued by a legitimate Certification Authority, and (2) allows remote attackers to bypass intended access restrictions via a crafted client certificate issued by a legitimate…
- Affected versions
- up to and including 8.14.3; 2.6; 2.6.1; 3.0
- 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).
10. CVE-2006-7175: Security flaw
- What NVD says
- The version of Sendmail 8.13.1-2 on Red Hat Enterprise Linux 4 Update 4 and earlier does not allow the administrator to disable SSLv2 encryption, which could cause less secure channels to be used than desired.
- Affected versions
- 8.13.1.2
- What to do
- Apply the vendor's security update for your release and restart the service.
Sendmail 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 Sendmail 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 Sendmail: on most plans the operating system and applications are yours to patch unless the plan says otherwise.
Your stack is bigger than Sendmail. A flaw anywhere in the chain can be the way in, so also review our guides to Postfix vulnerabilities, Exim vulnerabilities and Dovecot vulnerabilities.
How to get alerted about new Sendmail vulnerabilities
NVD received 0 new Sendmail 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 Sendmail 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 Sendmail 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.
- Dovecot vulnerabilities: Dovecot is an open-source IMAP and POP3 mail server.
- MailEnable vulnerabilities: MailEnable is a mail server for Windows.
- Zimbra vulnerabilities: Zimbra is an email and collaboration suite with a web client.
Frequently asked questions about Sendmail vulnerabilities
What are the most critical Sendmail vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Sendmail CVEs include CVE-2006-4434 (CVSS 7.5), CVE-2021-3618 (CVSS 7.4), CVE-2023-51765 (CVSS 5.3). The guide above ranks the 10 most critical with affected versions and fixes.
Have Sendmail vulnerabilities been exploited in real attacks?
For the Sendmail 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 Sendmail patched.
How many vulnerabilities does Sendmail have?
As of Nov 3, 2026 the National Vulnerability Database lists 33 CVEs for Sendmail, with 0 rated critical by CVSS v3. 0 were published in the previous twelve months.
How can I get alerted when a new Sendmail CVE is published?
Add Sendmail to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Sendmail 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 Sendmail secure?
Sendmail is as secure as its patch level. NVD published 0 new Sendmail 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-2006-4434?
CVE-2006-4434 is a high Sendmail vulnerability with a CVSS score of 7.5, published Aug 29, 2006. Use-after-free vulnerability in Sendmail before 8.13.8 allows remote attackers to cause a denial of service (crash) via a long "header line", which causes a previously freed variable to be referenced.
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.