CVE-2023-42119
Exim vulnerability analysis and mitigation

Overview

CVE-2023-42119 is an out-of-bounds read information disclosure vulnerability in Exim's SMTP service. The vulnerability was discovered in June 2022 and publicly disclosed on September 27, 2023. The flaw exists within the SMTP service, which listens on TCP port 25 by default, and affects installations of Exim mail transfer agent (ZDI Advisory).

Technical details

The vulnerability stems from the lack of proper validation of user-supplied data in the SMTP service, which can result in a read past the end of an allocated buffer. The issue has been assigned a CVSS v3.0 base score of 3.1 (LOW) with the vector string CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N. The vulnerability is classified as CWE-125 (Out-of-bounds Read) (ZDI Advisory, Red Hat).

Impact

The vulnerability allows network-adjacent attackers to disclose sensitive information on affected installations of Exim without requiring authentication. An attacker could potentially leverage this vulnerability in conjunction with other vulnerabilities to execute arbitrary code in the context of the service account (ZDI Advisory).

Mitigation and workarounds

Given the nature of the vulnerability, the primary mitigation strategy is to restrict interaction with the application and use Exim with a trustworthy DNS resolver able to validate the data according to the DNS record types (Debian Security Tracker, ZDI Advisory).

Community reactions

Security researchers have characterized this vulnerability as one of several issues discovered in Exim, noting that while it requires specific conditions to be exploitable, organizations should still apply patches when available. The vulnerability was initially reported in June 2022 but remained unpatched for over a year before public disclosure (Watchtowr Labs).

Additional resources


SourceThis report was generated using AI

Related Exim vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-42118HIGH8.8
  • EximExim
  • perl-Mail-SPF_XS-debuginfo
NoYesMay 03, 2024
CVE-2025-30232HIGH8.1
  • EximExim
  • exim4
NoYesMar 28, 2025
CVE-2025-26794HIGH7.5
  • EximExim
  • exim4
NoYesFeb 21, 2025
CVE-2024-39929MEDIUM5.4
  • EximExim
  • exim-greylist
NoYesJul 04, 2024
CVE-2023-42119LOW3.1
  • EximExim
  • eximstats-html
NoYesMay 03, 2024

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