CVE-2023-42116Exim SMTP Challenge Stack-based Buffer Overflow Remote Code Execution Vulnerability
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | exim4 | Fixed | 4.95-4ubuntu2.3 | UBUNTU-CVE-2023-42116 |
| Ubuntu 20.04 | exim4 | Fixed | 4.93-13ubuntu1.8 | UBUNTU-CVE-2023-42116 |
| Ubuntu 18.04 | exim4 | Fix pending | 4.90.1-1ubuntu1.10+esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-42116 |
| Ubuntu 16.04 | exim4 | Fix pending | 4.86.2-2ubuntu2.6+esm4 (Ubuntu Pro) | UBUNTU-CVE-2023-42116 |
| Ubuntu 14.04 | exim4 | Fix pending | 4.82-3ubuntu2.4+esm6 (Ubuntu Pro) | UBUNTU-CVE-2023-42116 |
| Debian 14 | exim4 | Fixed | 4.97~RC1-2 | DEBIAN-CVE-2023-42116 |
| Debian 13 | exim4 | Fixed | 4.97~RC1-2 | DEBIAN-CVE-2023-42116 |
| Debian 12 | exim4 | Fixed | 4.96-15+deb12u2 | DEBIAN-CVE-2023-42116 |
| Alpine Linux 3.24 | exim | Fixed | 4.96.1-r0 | ALPINE-CVE-2023-42116 |
| Alpine Linux 3.23 | exim | Fixed | 4.96.1-r0 | ALPINE-CVE-2023-42116 |
| Alpine Linux 3.22 | exim | Fixed | 4.96.1-r0 | ALPINE-CVE-2023-42116 |
| Alpine Linux 3.21 | exim | Fixed | 4.96.1-r0 | ALPINE-CVE-2023-42116 |
| Alpine Linux 3.20 | exim | Fixed | 4.96.1-r0 | ALPINE-CVE-2023-42116 |
| Alpine Linux 3.19 | exim | Fixed | 4.96.1-r0 | ALPINE-CVE-2023-42116 |
| Alpine Linux 3.18 | exim | Fixed | 4.96.1-r0 | ALPINE-CVE-2023-42116 |
| Alpine Linux 3.17 | exim | Fixed | 4.96.1-r0 | ALPINE-CVE-2023-42116 |
What the vendor says
As published in the CVE record by zdi, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Exim: affected: exim 4.95
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.