CVE-2023-42116: exim Stack-based Buffer Overflow
Vulnerability summary
CVE-2023-42116 is a critical (CVSS 9.8) Stack-based Buffer Overflow vulnerability in exim. EPSS estimates a 3.76% chance of exploitation in the next 30 days, higher than 89.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 6Timeline
- 03-05-2024PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.76%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
+0.60 pp
From 3.16% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard1 product
- exim< 4.96.1-r0
Debian1 product
- exim4< 4.96-15+deb12u2 | < 4.97~RC1-2
Exim1 product
- eximexim 4.95 | < 4.96.1
Ubuntu1 product
- exim4< 4.82-3ubuntu2.4+esm6 | < 4.86.2-2ubuntu2.6+esm4 | < 4.90.1-1ubuntu1.10+esm1 | < 4.93-13ubuntu1.8 | < 4.95-4ubuntu2.3
Wolfi1 product
- exim< 4.96.1-r0
5 vendors · 5 products
References
9 links- www.zerodayinitiative.com/advisories/ZDI-23-1470/X Research AdvisoryREPORTAdvisoryThird Party Advisory