# CVE-2023-42117: Exim Improper Neutralization of Special Elements Remote Code Execution Vulnerability

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 7% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 4.96.2 (CNA); fix release not confirmed
- Status: published
- Published: 2024-05-03 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2023-42117, DEBIAN-CVE-2023-42117, CGA-7r29-5crr-5q79, CGA-977m-775h-4m3h, CGA-gg3x-mx2x-j8hg, CGA-m8gf-pc3r-c7pw, ALPINE-CVE-2023-42117
- Record: https://cvemate.com/vulnerability/CVE-2023-42117 · JSON: https://cvemate.com/vulnerability/CVE-2023-42117/json

## Description

```text
Exim Improper Neutralization of Special Elements 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 memory corruption condition. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-17554.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 6.79%, percentile 94.163%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine exim (Alpine Linux): \< 4.96.2-r0
- chainguard exim (Chainguard): \< 4.96.1-r0
- chainguard libspf2 (Chainguard): \< 1.2.11-r1
- wolfi exim (Wolfi): \< 4.96.1-r0
- wolfi libspf2 (Wolfi): \< 1.2.11-r1
- debian exim4 (Debian): \< 4.96-15+deb12u3 \| \< 4.97~RC2-2
- ubuntu exim4 (Ubuntu): \< 4.82-3ubuntu2.4+esm7 \| \< 4.86.2-2ubuntu2.6+esm5 \| \< 4.90.1-1ubuntu1.10+esm2 \| \< 4.93-13ubuntu1.9 \| \< 4.95-4ubuntu2.4
- exim exim: 4.96-RC1-11-315206fbf \| \< 4.96.2

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-23-1471/>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00029.html>
- <https://ubuntu.com/security/CVE-2023-42117>
- <https://exim.org/static/doc/security/CVE-2023-zdi.txt>
- <https://ubuntu.com/security/notices/USN-6455-1>
- <https://ubuntu.com/security/notices/USN-6455-2>
- <https://www.cve.org/CVERecord?id=CVE-2023-42117>
- <https://security-tracker.debian.org/tracker/CVE-2023-42117>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42117.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-42117>
- <https://security.alpinelinux.org/vuln/CVE-2023-42117>

---

Data as of 2026-12-05T05:11:28.826Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
