Exim 3.34 vulnerabilities

39 published vulnerabilities affect Exim 3.34, 3 of them known to be exploited in the wild.

39CVEs
11critical (CVSS 9+)
12high (CVSS 7–8.9)
3exploited in the wild

What to upgrade to

The newest Exim release we know of is 4.100.3, with no known CVEs.

Upgrade toFixesStill openNew in that release
4.100.3newest releaseall 393 exploited, 11 criticalnonenone

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting Exim 3.34

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2018-6789An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.19.8Exploited82%4.90.1NVD
CVE-2010-4344Heap-based buffer overflow in the string_vformat function in string.c in Exim before 4.70 allows remote attackers to execute arbitrary code via an SMTP session…9.8Exploited72%4.70NVD
CVE-2023-42115Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability9.8Proof of concept12%4.96.1NVD
CVE-2020-28017Exim 4 before 4.94.2 allows Integer Overflow to Buffer Overflow in receive_add_recipient via an e-mail message with fifty million recipients9.8None known37%4.94.1NVD
CVE-2019-15846Exim before 4.92.2 allows remote attackers to execute arbitrary code as root via a trailing backslash9.8None known36%4.92.2NVD
CVE-2023-42117Exim Improper Neutralization of Special Elements Remote Code Execution Vulnerability9.8None known7%4.96.2NVD
CVE-2023-42116Exim SMTP Challenge Stack-based Buffer Overflow Remote Code Execution Vulnerability9.8None known4%4.96.1NVD
CVE-2022-37452Exim before 4.95 has a heap-based buffer overflow for the alias list in host_name_lookup in host.c when sender_host_name is set9.8None known4%4.95NVD
CVE-2026-40685In Exim before 4.99.2, when JSON lookup is enabled, an out-of-bounds heap write can occur when a JSON operator encounters malformed JSON in an untrusted…9.8None knownunder 1%4.99.2CVE record
CVE-2025-67896Exim before 4.99.1, with certain non-default rate-limit configurations, allows a remote heap-based buffer overflow because database records are cast directly…9.8None knownunder 1%4.99.1NVD
CVE-2010-4345Exim 4.72 and earlier allows local users to gain privileges by leveraging the ability of the exim user account to specify an alternate configuration file with…7.8Exploited18%–NVD
CVE-2026-40687In Exim before 4.99.2, when the SPA authentication driver is used with an adversarial SPA resource, there can be an out-of-bounds write that crashes the…9.1None knownunder 1%4.99.2CVE record
CVE-2026-141382Exim before 4.100.3 allows attackers to send SMTP traffic that triggers a heap out-of-bounds write in expansion code running as root8.1None known–4.100.3CVE record
CVE-2026-137702Exim before 4.100.2 allows attackers to send SMTP traffic that triggers a heap out-of-bounds write in expansion code running as root8.1None knownunder 1%4.100.2CVE record
CVE-2016-1531Exim before 4.86.2, when installed setuid root, allows local users to gain privileges via the perl_startup argument7.0Attack tool public6%–NVD
CVE-2020-8015Local privilege escalation in exim package from user mail to root7.8None knownunder 1%4.93.0.4-3.1NVD
CVE-2022-3559Exim Regex use after free7.5None known5%4.97NVD
CVE-2026-94056Exim before 4.100.1, when Proxy-Protocol is used with an attacker-controlled proxy, allows attackers to read certain uninitialized data from stack memory7.5None knownunder 1%4.100.1NVD
CVE-2026-40684In Exim before 4.99.2, on systems using musl libc (not glibc), an attacker can crash the connection instance when malformed DNS data is present in PTR records7.5None knownunder 1%4.99.2CVE record
CVE-2022-37451Exim before 4.96 has an invalid free in pam_converse in auths/call_pam.c because store_free is not used after store_malloc7.5None known3%4.96NVD
CVE-2021-38371The STARTTLS feature in Exim through 4.94.2 allows response injection (buffering) during MTA SMTP sending7.5None known2%–NVD
CVE-2020-12783Exim through 4.93 has an out-of-bounds read in the SPA authenticator that could result in SPA/NTLM authentication bypass in auths/spa.c and auths/auth-spa.c7.5None known5%–NVD
CVE-2011-1764Format string vulnerability in the dkim_exim_verify_finish function in src/dkim.c in Exim before 4.76 might allow remote attackers to execute arbitrary code or…7.5None known4%–NVD
CVE-2014-2957The dmarc_process function in dmarc.c in Exim before 4.82.1, when EXPERIMENTAL_DMARC is enabled, allows remote attackers to execute arbitrary code via the From…6.8None known5%–NVD
CVE-2011-0017The open_log function in log.c in Exim 4.72 and earlier does not check the return value from (1) setuid or (2) setgid system calls, which allows local users to…6.9None knownunder 1%–NVD
CVE-2024-39929Exim through 4.97.1 misparses a multiline RFC 2231 header filename, and thus remote attackers can bypass a $mime_filename extension-blocking protection…5.4Proof of concept41%–NVD
CVE-2021-27216Exim 4 before 4.94.2 has Execution with Unnecessary Privileges6.3None known1%4.94.2NVD
CVE-2016-9963Exim before 4.87.1 might allow remote attackers to obtain the private DKIM signing key via vectors related to log files and bounce messages5.9None known3%–NVD
CVE-2023-42114Exim NTLM Challenge Out-Of-Bounds Read Information Disclosure Vulnerability5.3None known27%4.96.1NVD
CVE-2023-51766Exim before 4.97.1 allows SMTP smuggling in certain PIPELINING/CHUNKING configurations5.3None known1%4.97.1NVD
CVE-2026-94057Exim before 4.100.1 allows SMTP smuggling in which the received message does not match any sent message, and instead depends on crafted data sent after a…5.3None knownunder 1%4.100.1CVE record
CVE-2026-94055Exim before 4.100.1, when certain non-default TLS settings are used with GnuTLS, has a use-after-free5.3None knownunder 1%4.100.1NVD
CVE-2026-94054Exim before 4.100.1, when Proxy-Protocol is used with an attacker-controlled proxy, has an out-of-bounds write5.3None knownunder 1%4.100.1NVD
CVE-2026-40686In Exim before 4.99.2, when utf8 operators are enabled, there is an out-of-bounds read if large UTF-8 trailing characters are present (malformed UTF-8 header…5.3None knownunder 1%4.99.2CVE record
CVE-2014-2972expand.c in Exim before 4.83 expands mathematical comparisons twice, which allows local users to gain privileges and execute arbitrary commands via a crafted…4.6None knownunder 1%–NVD
CVE-2010-2024transports/appendfile.c in Exim before 4.72, when MBX locking is enabled, allows local users to change permissions of arbitrary files or create arbitrary…4.4None knownunder 1%–NVD
CVE-2010-2023transports/appendfile.c in Exim before 4.72, when a world-writable sticky-bit mail directory is used, does not verify the st_nlink field of mailbox files…4.4None knownunder 1%–NVD
CVE-2017-1000369Exim supports the use of multiple "-p" command line arguments which are malloc()'ed and never free()'ed, used in conjunction with other issues allows attackers…4.0None knownunder 1%–NVD
CVE-2023-42119Exim dnsdb Out-Of-Bounds Read Information Disclosure Vulnerability3.1None known2%4.96.2NVD

All Exim versions

How this list is made

These are the CVEs Dawnsentry matches to each Exim version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.