CVE-2023-42117: Exim Improper Neutralization of Special Elements Remote Code Execution Vulnerability

CVE-2023-42117 affects 125 listed versions of Exim in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
7%EPSS (next 30 days)
3 May 2024published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Exim

125 of 141 listed versions are affected. Fixed in 4.96.2. The newest release, 4.100.3, is not affected.

4.96.1 4.96 4.96-RC1-11-315206fbf 4.96-RC0-14-24b8ed847-XX 4.95 4.94.2 4.94.1 4.94 4.93.0.4 4.93.0.3 4.93.0.2 4.93.0.1 4.93 4.92.3 4.92.2 4.92.1 4.92 4.91 4.90.1 4.90.0.27 4.90.0.22 4.90 4.89.1 4.89 4.89-rc7 4.89-rc6 4.89-rc5 4.89-rc4 4.89-rc3 4.89-rc2 4.89-rc1 4.88 4.88-rc6 4.88-rc5 4.88-rc4 4.88-rc3 4.88-rc2 4.88-rc1 4.87.1 4.87 4.86.2 4.86.1 4.86 4.85.2 4.85.1 4.85 4.84.2 4.84.1 4.83 4.82.1 4.82 4.80.1 4.80 4.77 4.76 4.75 4.74 4.73 4.72 4.71 and 65 more

What it is

Exim Improper Neutralization of Special Elements Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exim. Authentication is not required to exploit this vulnerability. The specific flaw exists within the smtp service, which listens on TCP port 25 by default. The issue results from the lack of proper validation of user-supplied data, which can result in a memory corruption condition. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-17554.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Zdi on 3 May 2024. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2023-42117 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.