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

- Severity: High 8.1 (CVSS:3.0, scored by zdi) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.79%, higher than 90% of CVEs (2026-12-01)
- Published: 2024-05-03T02:13:24.558Z
- Modified: 2026-06-17T06:23:29.733Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: zdi

## Description

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.

(As written by CVE List.)

## Affected

- Exim Exim: exim 4.95; before 4.96.1; before 4.97

## Every score

- zdi: CVSS:3.0 8.1 High `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-23-1470/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00002.html>

## Sources

- CVE List: [CVE-2023-42116](https://www.cve.org/CVERecord?id=CVE-2023-42116), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2023-42116](https://nvd.nist.gov/vuln/detail/CVE-2023-42116), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-42116 · Whole record: https://cve.day/CVE-2023-42116.json · Rebuilt by cve.day 2026-11-25T22:58:33.801Z
