
CVE catalog
CVE-2023-42116
exim4: CVE-2023-42116
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.76% · Oct 25, 2026
Exim SMTP Challenge Stack-based Buffer Overflow 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 handling of NTLM challenge requests. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17515.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | exim4 | sid | 4.100.1-4 | fixed |
| Debian | exim4 | forky | 4.100.1-4 | fixed |
| Debian | exim4 | trixie | 4.98.2-1+deb13u4 | fixed |
| Debian | exim4 | trixie-security | 4.98.2-1+deb13u5 | fixed |
| Debian | exim4 | bookworm | 4.96-15+deb12u10 | fixed |
| Debian | exim4 | bookworm-security | 4.96-15+deb12u10 | fixed |
| Ubuntu | exim4 | pro | 4.89-5ubuntu1 | vulnerable |
| Ubuntu | exim4 | pro | 4.89-9ubuntu1 | vulnerable |
| Ubuntu | exim4 | pro | 4.89-9ubuntu2 | vulnerable |
| Ubuntu | exim4 | pro | 4.89-9ubuntu3 | vulnerable |
| Ubuntu | exim4 | pro | 4.89-9ubuntu4 | vulnerable |
| Ubuntu | exim4 | pro | 4.90.1-1ubuntu1 | vulnerable |
| Ubuntu | exim4 | pro | 4.90.1-1ubuntu1.1 | vulnerable |
| Ubuntu | exim4 | pro | 4.90.1-1ubuntu1.2 | vulnerable |
| Ubuntu | exim4 | pro | 4.90.1-1ubuntu1.3 | vulnerable |
| Ubuntu | exim4 | pro | 4.90.1-1ubuntu1.4 | vulnerable |
| Ubuntu | exim4 | pro | 4.90.1-1ubuntu1.5 | vulnerable |
| Ubuntu | exim4 | pro | 4.90.1-1ubuntu1.8 | vulnerable |
| Ubuntu | exim4 | pro | 4.90.1-1ubuntu1.9 | vulnerable |
| Ubuntu | exim4 | pro | 4.90.1-1ubuntu1.10 | vulnerable |
| Ubuntu | exim4 | pro | 4.90.1-1ubuntu1.10+esm1 | fixed |
| Ubuntu | exim4 | 20.04 | 4.92.1-1ubuntu3 | vulnerable |
| Ubuntu | exim4 | 20.04 | 4.92.1-1ubuntu4 | vulnerable |
| Ubuntu | exim4 | 20.04 | 4.93~RC2-1ubuntu1 | vulnerable |
| Ubuntu | exim4 | 20.04 | 4.93-9ubuntu1 | vulnerable |
| Ubuntu | exim4 | 20.04 | 4.93-11ubuntu1 | vulnerable |
| Ubuntu | exim4 | 20.04 | 4.93-12ubuntu1 | vulnerable |
| Ubuntu | exim4 | 20.04 | 4.93-13ubuntu1 | vulnerable |
| Ubuntu | exim4 | 20.04 | 4.93-13ubuntu1.1 | vulnerable |
| Ubuntu | exim4 | 20.04 | 4.93-13ubuntu1.5 | vulnerable |
| Ubuntu | exim4 | 20.04 | 4.93-13ubuntu1.6 | vulnerable |
| Ubuntu | exim4 | 20.04 | 4.93-13ubuntu1.7 | vulnerable |
| Ubuntu | exim4 | 20.04 | 4.93-13ubuntu1.8 | fixed |
| Ubuntu | exim4 | 22.04 | 4.94.2-7ubuntu2 | vulnerable |
| Ubuntu | exim4 | 22.04 | 4.95-2ubuntu2 | vulnerable |
| Ubuntu | exim4 | 22.04 | 4.95-4ubuntu1 | vulnerable |
| Ubuntu | exim4 | 22.04 | 4.95-4ubuntu2 | vulnerable |
| Ubuntu | exim4 | 22.04 | 4.95-4ubuntu2.1 | vulnerable |
| Ubuntu | exim4 | 22.04 | 4.95-4ubuntu2.2 | vulnerable |
| Ubuntu | exim4 | 22.04 | 4.95-4ubuntu2.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | exim4 | source | sid | 4.97~RC1-2 | not yet assigned | Not reported | Not reported |
| Debian | exim4 | source | forky | 4.97~RC1-2 | not yet assigned | Not reported | Not reported |
| Debian | exim4 | source | trixie | 4.97~RC1-2 | not yet assigned | Not reported | Not reported |
| Debian | exim4 | source | bookworm | 4.96-15+deb12u2 | not yet assigned | Not reported | Not reported |
| Ubuntu | exim4 | deb | pro | 4.90.1-1ubuntu1.10+esm1 | Not reported | UBUNTU-CVE-2023-42116 | Not reported |
| Ubuntu | exim4 | deb | 20.04 | 4.93-13ubuntu1.8 | Not reported | UBUNTU-CVE-2023-42116 | Not reported |
| Ubuntu | exim4 | deb | 22.04 | 4.95-4ubuntu2.3 | Not reported | UBUNTU-CVE-2023-42116 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2023_0293-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-42116]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-42116]
- [https://security-tracker.debian.org/tracker/CVE-2023-42116]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2505.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]