CVE-2023-42115: Exim - Buffer Overflow
- Cve: CVE-2023-42115
- Name: Exim - Buffer Overflow
- Description: 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.
- Impact: Remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Update to the latest version of Exim that addresses this vulnerability or apply security patches provided by the vendor.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.11525
- Epss percentile: 0.96131
- Assignee: [email protected]
- Published at: 2024-05-03T03:15:50Z
- Age in days: 935
- Modified at: 2026-06-17T06:23:29Z
- Patch available: yes
- Public exploits total: 2
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-42115
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/doaso/CVE-2023-42115 | poc-in-github | 2026-04-08 |
| https://github.com/kirinse/cve-2023-42115 | poc-in-github | 2024-09-02 |
References
| Url | Source | Tags |
|---|---|---|
| https://www.zerodayinitiative.com/advisories/ZDI-23-1469/ | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| exim:exim | < 4.96.1 | no | nvd | /v1/products/exim/exim |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2024-09-02
- Remote: yes
- Exposed hosts: 2015302
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports