Exim 4.94 vulnerabilities

45 published vulnerabilities affect Exim 4.94. The 4.94 line no longer gets security fixes.

45CVEs
12critical (CVSS 9+)
22high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The newest release on the 4.94 line is 4.94.2, with 25 known CVEs. The newest Exim release we know of is 4.100.3, with no known CVEs.

Upgrade toFixesStill openNew in that release
4.94.2newest 4.94 release20 of 455 critical25CVE-2023-42115, CVE-2023-42117, CVE-2023-42116 and 22 morenone
4.100.3newest releaseall 4512 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 4.94

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-2023-42115Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability9.8Proof of concept12%4.96.1NVD
CVE-2020-28018Exim 4 before 4.94.2 allows Use After Free in smtp_reset in certain situations that may be common for builds with OpenSSL9.8None known56%4.94.2NVD
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-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-2020-28026Exim 4 before 4.94.2 has Improper Neutralization of Line Delimiters, relevant in non-default configurations that enable Delivery Status Notification (DSN)9.8None known9%4.94.2NVD
CVE-2020-28024Exim 4 before 4.94.2 allows Buffer Underwrite that may result in unauthenticated remote attackers executing arbitrary commands, because smtp_ungetc was only…9.8None known4%4.94.2NVD
CVE-2020-28022Exim 4 before 4.94.2 has Improper Restriction of Write Operations within the Bounds of a Memory Buffer9.8None known3%4.94.2NVD
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-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-2020-28021Exim 4 before 4.94.2 has Improper Neutralization of Line Delimiters8.8None known4%4.94.2NVD
CVE-2020-28019Exim 4 before 4.94.2 has Improper Initialization that can lead to recursion-based stack consumption or other consequences7.5None known62%4.94.2NVD
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-2026-66141Exim before 4.99.5 allows .forward privilege escalation because force_command for a pipe transport is mishandled7.8None knownunder 1%4.99.5vendor advisory
CVE-2026-66140Exim before 4.99.5 allows directory traversal to access files outside of the spool area, and consequently gain privileges, because arguments related to…7.8None knownunder 1%4.99.5vendor advisory
CVE-2020-28016Exim 4 before 4.94.2 allows an off-by-two Out-of-bounds Write because "-F ''" is mishandled by parse_fix_phrase7.8None knownunder 1%4.94.2NVD
CVE-2020-28015Exim 4 before 4.94.2 has Improper Neutralization of Line Delimiters7.8None knownunder 1%4.94.2NVD
CVE-2020-28013Exim 4 before 4.94.2 allows Heap-based Buffer Overflow because it mishandles "-F '.('" on the command line, and thus may allow privilege escalation from any…7.8None knownunder 1%4.94.2NVD
CVE-2020-28012Exim 4 before 4.94.2 allows Exposure of File Descriptor to Unintended Control Sphere because rda_interpret uses a privileged pipe that lacks a close-on-exec…7.8None knownunder 1%4.94.2NVD
CVE-2020-28011Exim 4 before 4.94.2 allows Heap-based Buffer Overflow in queue_run via two sender options: -R and -S. This may cause privilege escalation from exim to root7.8None knownunder 1%4.94.2NVD
CVE-2020-28010Exim 4 before 4.94.2 allows Out-of-bounds Write because the main function, while setuid root, copies the current working directory pathname into a buffer that…7.8None knownunder 1%4.94.2NVD
CVE-2020-28009Exim 4 before 4.94.2 allows Integer Overflow to Buffer Overflow because get_stdinput allows unbounded reads that are accompanied by unbounded increases in a…7.8None knownunder 1%4.94.2NVD
CVE-2020-28008Exim 4 before 4.94.2 allows Execution with Unnecessary Privileges7.8None knownunder 1%4.94.2NVD
CVE-2020-28007Exim 4 before 4.94.2 allows Execution with Unnecessary Privileges7.8None knownunder 1%4.94.2NVD
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.1CVE record
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-28025Exim 4 before 4.94.2 allows Out-of-bounds Read because pdkim_finish_bodyhash does not validate the relationship between sig->bodyhash.len and b->bh.len; thus…7.5None known3%4.94.2NVD
CVE-2020-28023Exim 4 before 4.94.2 allows Out-of-bounds Read7.5None known3%4.94.2NVD
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-2020-28014Exim 4 before 4.94.2 allows Execution with Unnecessary Privileges6.1None knownunder 1%4.94.2NVD
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.1CVE record
CVE-2026-48840Exim 4.88 before 4.99.4, in some proxy configurations, mishandles certain short payloads, leading to disclosure of uninitialized stack memory values to a client5.3None knownunder 1%4.99.4CVE record
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-2023-42119Exim dnsdb Out-Of-Bounds Read Information Disclosure Vulnerability3.1None known2%4.96.2NVD

Support for the 4.94 line

The 4.94 line was first released 1 June 2020. Security fixes for it ended 28 September 2021, so vulnerabilities found since then stay open on every 4.94 release. Its latest release is 4.94.2. Dates and latest release from endoflife.date.

Other Exim 4.94 releases

4.94.225 4.94.144

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.