# CVE-2023-42116: Exim SMTP Challenge Stack-based Buffer Overflow Remote Code Execution Vulnerability

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 4% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 4.96.1 (CNA); fix release not confirmed
- Status: published
- Published: 2024-05-03 · Modified: 2025-11-04
- Aliases: UBUNTU-CVE-2023-42116, DEBIAN-CVE-2023-42116, CGA-655m-5r85-7v3p, CGA-px2g-v8j5-grj7, ALPINE-CVE-2023-42116
- Record: https://cvemate.com/vulnerability/CVE-2023-42116 · JSON: https://cvemate.com/vulnerability/CVE-2023-42116/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.787%, percentile 90.303%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine exim (Alpine Linux): \< 4.96.1-r0
- chainguard exim (Chainguard): \< 4.96.1-r0
- wolfi exim (Wolfi): \< 4.96.1-r0
- debian exim4 (Debian): \< 4.96-15+deb12u2 \| \< 4.97~RC1-2
- ubuntu exim4 (Ubuntu): \< 4.82-3ubuntu2.4+esm6 \| \< 4.86.2-2ubuntu2.6+esm4 \| \< 4.90.1-1ubuntu1.10+esm1 \| \< 4.93-13ubuntu1.8 \| \< 4.95-4ubuntu2.3
- exim exim: exim 4.95 \| \< 4.96.1

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-23-1470/>
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00002.html>
- <https://ubuntu.com/security/CVE-2023-42116>
- <https://www.openwall.com/lists/oss-security/2023/10/02/3>
- <https://ubuntu.com/security/notices/USN-6411-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-42116>
- <https://security-tracker.debian.org/tracker/CVE-2023-42116>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42116.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-42116>
- <https://security.alpinelinux.org/vuln/CVE-2023-42116>

---

Data as of 2026-12-05T05:00:17.272Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
