Vulnerabilities / CVE-2023-42117

critical

CVE-2023-42117

Exim: Improper Neutralization of Special Elements Remote Code Execution Vulnerability

Published Modified CWE 138
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Amazon (high), Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.17exim4.96.2-r0
alpine 3.18exim4.96.2-r0
alpine 3.19exim4.96.2-r0
alpine 3.20exim4.96.2-r0
alpine 3.21exim4.96.2-r0
alpine 3.22exim4.96.2-r0
alpine 3.23exim4.96.2-r0
alpine 3.24exim4.96.2-r0
alpine edgeexim4.96.2-r0
amazon linux 1exim, exim-debuginfo, exim-greylist and 3 more4.92-1.39.amzn1
chainguardexim, libspf24.96.1-r0 and 1 more
debian 10exim4no fix listed
Show all 36 entries from 29 sources
SourcePackageFixed in
alpine 3.17exim4.96.2-r0
alpine 3.18exim4.96.2-r0
alpine 3.19exim4.96.2-r0
alpine 3.20exim4.96.2-r0
alpine 3.21exim4.96.2-r0
alpine 3.22exim4.96.2-r0
alpine 3.23exim4.96.2-r0
alpine 3.24exim4.96.2-r0
alpine edgeexim4.96.2-r0
amazon linux 1exim4.92-1.39.amzn1
amazon linux 1exim-debuginfo4.92-1.39.amzn1
amazon linux 1exim-greylist4.92-1.39.amzn1
amazon linux 1exim-mon4.92-1.39.amzn1
amazon linux 1exim-mysql4.92-1.39.amzn1
amazon linux 1exim-pgsql4.92-1.39.amzn1
chainguardexim4.96.1-r0
chainguardlibspf21.2.11-r1
debian 10exim4no fix listed
debian 11exim44.94.2-7+deb11u4
debian 12exim44.96-15+deb12u3
debian 13exim44.97~RC2-2
debian 14exim44.97~RC2-2
echoexim44.96-15+deb12u3
rapidfort ubuntu 20.04exim40:4.95-4ubuntu2.4
rapidfort ubuntu 22.04exim40:4.95-4ubuntu2.4
rapidfort ubuntu 24.04exim40:4.95-4ubuntu2.4
ubuntu 14.04-ESMexim44.82-3ubuntu2.4+esm7
ubuntu 16.04-ESMexim44.86.2-2ubuntu2.6+esm5
ubuntu 18.04-ESMexim44.90.1-1ubuntu1.10+esm2
ubuntu 20.04exim44.93-13ubuntu1.9
ubuntu 20.04-ESMexim44.93-13ubuntu1.9
ubuntu 22.04exim44.95-4ubuntu2.4
ubuntu 23.04exim44.96-14ubuntu1.3
ubuntu 23.10exim44.96-17ubuntu2.1
wolfiexim4.96.1-r0
wolfilibspf21.2.11-r1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.