Vulnerabilities / CVE-2023-42115

critical

CVE-2023-42115

Exim: AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability

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

Severity by source

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

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

Description

Exim AUTH Out-Of-Bounds Write 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 write past the end of a buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17434.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.17exim4.96.1-r0
alpine 3.18exim4.96.1-r0
alpine 3.19exim4.96.1-r0
alpine 3.20exim4.96.1-r0
alpine 3.21exim4.96.1-r0
alpine 3.22exim4.96.1-r0
alpine 3.23exim4.96.1-r0
alpine 3.24exim4.96.1-r0
alpine edgeexim4.96.1-r0
chainguardexim4.96.1-r0
debian 11exim44.94.2-7+deb11u1
debian 12exim44.96-15+deb12u2
Show all 24 entries from 24 sources
SourcePackageFixed in
alpine 3.17exim4.96.1-r0
alpine 3.18exim4.96.1-r0
alpine 3.19exim4.96.1-r0
alpine 3.20exim4.96.1-r0
alpine 3.21exim4.96.1-r0
alpine 3.22exim4.96.1-r0
alpine 3.23exim4.96.1-r0
alpine 3.24exim4.96.1-r0
alpine edgeexim4.96.1-r0
chainguardexim4.96.1-r0
debian 11exim44.94.2-7+deb11u1
debian 12exim44.96-15+deb12u2
debian 13exim44.97~RC1-2
debian 14exim44.97~RC1-2
echoexim44.96-15+deb12u2
rapidfort ubuntu 20.04exim40:4.95-4ubuntu2.3
rapidfort ubuntu 22.04exim40:4.95-4ubuntu2.3
rapidfort ubuntu 24.04exim40:4.95-4ubuntu2.3
ubuntu 20.04exim44.93-13ubuntu1.8
ubuntu 20.04-ESMexim44.93-13ubuntu1.8
ubuntu 22.04exim44.95-4ubuntu2.3
ubuntu 23.04exim44.96-14ubuntu1.2
ubuntu 23.10exim44.96-17ubuntu2
wolfiexim4.96.1-r0

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.