patchminder
Proof of concept · GitHub CVE-2023-42115

Remote code executionin Exim.

Published 3 May 2024 · Updated 20 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 11.5% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 4.95 or later
In plain words

Exim AUTH Out-Of-Bounds Write 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 smtp service, which listens on TCP port 25 by default. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of a buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17434.

What to do now
  • Upgrade exim to 4.95 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Exim
Not confirmed
Not confirmed
CVE record
exim
before 4.95
4.95
CISA

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 6 Sep 2023
    CVE ID reserved by zdi.
  2. 3 May 2024
    Published in the CVE List.
  3. 2 Sep 2024
    First public proof of concept on GitHub.
  4. 20 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
2 repositories
GitHubno warning signs foundkirinse/cve-2023-421159 stars · created 2 Sep 2024This module exploits a vulnerability in the target service identified as CVE-2023-42115.
GitHubno warning signs founddoaso/CVE-2023-421151 stars · created 8 Apr 2026

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Exim vulnerabilities

Same weakness: Out-of-bounds write

All CWE-787 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-42115: Remote code execution in Exim. https://patchminder.com/cve/cve-2023-42115/ (accessed 5 December 2026).