9.8

CVE-2023-42116: exim Stack-based Buffer Overflow

CVSS: 9.8v3.1CriticalModified
AliasesUBUNTU-CVE-2023-42116DEBIAN-CVE-2023-42116CGA-655m-5r85-7v3p
Published 03-05-2024Last modified 04-11-2025

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.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
3.76%
0%100%
Low · +0.60 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 6

Timeline

  1. 03-05-2024
    PublishedVulnerability first disclosed.
  2. 04-11-2025
    Last 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

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

19-09-202619-10-2026
EPSS score
3.76%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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