CVE-2023-42116

published 3 May 2024 · updated 4 Nov 2025

Exim SMTP Challenge Stack-based Buffer Overflow Remote Code Execution Vulnerability

8.1HighCVSS 8.1EPSS 4%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
EximExim=exim 4.95

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Exim, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-42116 severity on Zeptric[![CVE-2023-42116](https://zeptric.io/badge/cve/CVE-2023-42116.svg)](https://zeptric.io/cve/CVE-2023-42116)