CVE-2023-42116
Exim vulnerability analysis and mitigation

Overview

CVE-2023-42116 is a high-severity vulnerability (CVSS score: 8.1) discovered in Exim email server software. The vulnerability was reported to the vendor on June 14, 2022, and was publicly disclosed on September 27, 2023, by Zero Day Initiative. This stack-based buffer overflow vulnerability exists within the handling of NTLM challenge requests in Exim's SMTP service (ZDI Advisory).

Technical details

The vulnerability stems from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer when handling NTLM challenge requests. The issue is classified as CWE-121 (Stack-based Buffer Overflow). It has received a CVSS v3.0 base score of 8.1 (High) with the vector string AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating that it is network-accessible, requires no privileges or user interaction, but has high attack complexity (NVD).

Impact

An attacker can leverage this vulnerability to execute arbitrary code in the context of the service account on affected installations of Exim. The vulnerability affects confidentiality, integrity, and availability with high impact levels. No authentication is required to exploit this vulnerability, making it particularly dangerous (ZDI Advisory, SOCRadar).

Exploitability

The vulnerability is remotely exploitable without requiring authentication. While the attack complexity is rated as high, the lack of required privileges or user interaction makes this vulnerability particularly concerning. No specific details about exploitation in the wild have been publicly reported (ZDI Advisory).

Mitigation and workarounds

On September 29, 2023, fixes for this vulnerability were made available in a secured repository for distribution maintainers to implement. The Exim project team has confirmed that fixes are ready to be applied by distribution maintainers. Given the nature of the vulnerability, the primary mitigation strategy is to restrict interaction with the application until patches can be applied (SOCRadar).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

edge

exim: 4.96.1-r0

Fixed

v3.18

exim: 4.96.1-r0

Fixed

v3.19

exim: 4.96.1-r0

Fixed

v3.20

exim: 4.96.1-r0

Fixed

v3.21

exim: 4.96.1-r0

Fixed

v3.22

exim: 4.96.1-r0

Fixed

v3.23

exim: 4.96.1-r0

Fixed

SourceThis report was generated using AI

Related Exim vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-45185CRITICAL9.8
  • Exim logoExim
  • exim-greylist
NoYesMay 12, 2026
CVE-2026-40687CRITICAL9.1
  • Exim logoExim
  • exim4
NoYesApr 30, 2026
CVE-2026-66141HIGH7.8
  • Exim logoExim
  • cpe:2.3:a:exim:exim
NoYesJul 24, 2026
CVE-2026-66140HIGH7.8
  • Exim logoExim
  • exim4
NoYesJul 24, 2026
CVE-2026-48840MEDIUM5.3
  • Exim logoExim
  • exim-mysql
NoYesMay 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management