8.1high
Exim SMTP Challenge Stack-based Buffer Overflow Remote Code Execution Vulnerability
- Severity
- 8.1high CVSS:3.0 by zdi
- Exploit likelihood
- 3.79% (higher than 90% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Exim Exim | exim 4.95, before 4.96.1, before 4.97 | CVE List, NVD |
All scores
| zdi | 8.1high CVSS:3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Vulnerabilidad de ejecución remota de código de desbordamiento de búfer en la región stack de la memoria del desafío SMTP de Exim. Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en las instalaciones afectadas de Exim. No se requiere autenticación para aprovechar esta vulnerabilidad. La falla específica existe en el manejo de solicitudes de desafío NTLM. El problema se debe a la falta de una validación adecuada de la longitud de los datos proporcionados por el usuario antes de copiarlos en un búfer basado en pila de longitud fija. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de la cuenta de servicio. Era ZDI-CAN-17515.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-42116 changed 2025-11-04 | CVE Terms of Use |
| NVD | CVE-2023-42116 changed 2026-06-17 | Public domain |