Security Resilience

CVE-2024-39929

Exim ≤ 4.97.1

Public PoC
Published
04 July 2024
Modified
10 July 2025
Patch / advisory
CVSS Score v3.1 5.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS Score 0.41 99th percentile
Risk Priority 70 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-39929 is a medium-severity Improper Encoding or Escaping of Output (CWE-116) vulnerability in Exim. Its CVSS base score is 5.4 (Medium).

Operationally, ranked in the top 1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Exim through version 4.97.1 contains a parsing flaw in its handling of multiline RFC 2231 header filenames. The software fails to correctly interpret encoded filename parameters that span multiple lines, which allows an attacker-supplied value to evade the $mime_filename extension check that administrators rely on to block executable attachments.

Remote, unauthenticated attackers can exploit the issue by sending a crafted message containing a specially formatted Content-Disposition header. Successful bypass results in executable files reaching user mailboxes, with the CVSS vector reflecting network attack vector, low complexity, and required user interaction for the final payload delivery.

Public commits in the Exim repository address the misparsing by correcting RFC 2231 handling, and the changes appear between release candidates 4.98-RC2 and 4.98-RC3. Operators should upgrade to a patched release that incorporates these fixes.

The EPSS score has reached a peak of 0.6391 with a current value of 0.6031, indicating sustained moderate exploitation interest following disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Exim through 4.97.1 misparses a multiline RFC 2231 header filename, and thus remote attackers can bypass a $mime_filename extension-blocking protection mechanism, and potentially deliver executable attachments to the mailboxes of end users.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-42116Same product: Exim Exim
CVE-2023-42117Same product: Exim Exim
CVE-2026-40686Same product: Exim Exim
CVE-2026-48840Same product: Exim Exim
CVE-2023-42114Same product: Exim Exim
CVE-2023-42115Same product: Exim Exim
CVE-2025-67896Same product: Exim Exim
CVE-2026-40687Same product: Exim Exim
CVE-2025-30232Same product: Exim Exim
CVE-2026-40684Same product: Exim Exim

Affected Assets

exim
exim
≤ 4.97.1

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-116

Validating that output matches expected content directly mitigates failures to properly encode or escape data for its destination context.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect missing or incorrect encoding but does not itself implement the control.

prevents

Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-116, a class-level weakness, and none of its children carries one either.

References