CVE-2024-39929
Exim vulnerability analysis and mitigation

Overview

Exim through version 4.97.1 contains a vulnerability (CVE-2024-39929) related to incorrect parsing of multiline RFC 2231 header filenames. The vulnerability was discovered in June 2024 and publicly disclosed on July 4, 2024. This security flaw affects the Exim mail transfer agent (MTA), which is widely used on Unix-like operating systems, with approximately 74% of public-facing SMTP mail servers running Exim (Censys Report).

Technical details

The vulnerability stems from a misparsing issue in how Exim handles multiline RFC 2231 header filenames. The CVSS score for this vulnerability is 5.4 (Medium) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N. The technical issue involves the incorrect parsing of filename parameters in email attachments when they are specified using multiple parameters according to RFC 2231 specifications (NVD, Exim Bug).

Impact

The vulnerability allows remote attackers to bypass the $mime_filename extension-blocking protection mechanism, potentially enabling the delivery of executable attachments directly to end-users' mailboxes. Of the 6.5 million public-facing SMTP mail servers observed, approximately 1.5 million servers were running potentially vulnerable versions of Exim as of July 2024 (Censys Report).

Mitigation and workarounds

The vulnerability has been fixed in Exim version 4.98. System administrators are advised to upgrade to this version or apply the available patches. The fix includes improvements to the MIME parsing of filenames specified using multiple parameters (GitHub Compare).

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