CVE-2024-39929 in Exim
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Exim | Exim | ≤ 4.97.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-39929 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-267443-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| Published | 2024-07-04 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-116: CWE-116
Related attack patterns (CAPEC)
CAPEC-81 Web Server Logs Tampering via CWE-116
CAPEC-85 AJAX Footprinting via CWE-116
CAPEC-73 User-Controlled Filename via CWE-116
CAPEC-104 Cross Zone Scripting via CWE-116
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-39929 affects Exim versions up to 4.97.1, allowing remote attackers to bypass MIME filename extension blocking, potentially delivering executable attachments to end users. The CVSS score is 5.4, indicating a moderate risk. A public proof of concept exists, but no known exploits are currently available. The vulnerability has a low exploitation likelihood and a medium remediation priority.
The vulnerability arises from Exim's incorrect parsing of multiline RFC 2231 header filenames. This allows remote attackers to craft emails with specially formatted headers that bypass the $mime_filename extension-blocking mechanism, leading to the delivery of potentially malicious executable attachments to end users.
Compensating controls AI-drafted, review before use
Implement email filtering and scanning solutions to detect and block suspicious attachments, especially those with executable file extensions. Ensure that all email servers are configured to enforce strict MIME content policies.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2024-39929?
CVE-2024-39929 affects Exim versions up to 4.97.1, allowing remote attackers to bypass MIME filename extension blocking, potentially delivering executable attachments to end users. The CVSS score is 5.4, indicating a moderate risk. A public proof of concept exists, but no known exploits are currently available. The vulnerability has a low exploitation likelihood and a medium remediation priority.
What is the CVSS score for CVE-2024-39929?
CVE-2024-39929 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N. EPSS: 2.8%.
Is CVE-2024-39929 actively exploited?
No confirmed active exploitation of CVE-2024-39929 as of 2026-09-25.
How do I remediate CVE-2024-39929?
Priority: MEDIUM. Advisory: https://bugs.exim.org/show_bug.cgi?id=3099#c4 PSIRT: [email protected]
What systems are affected by CVE-2024-39929?
CVE-2024-39929 affects Exim Exim.
What NERC-CIP standard applies to CVE-2024-39929?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 by allowing unauthorized access to the email system, which could compromise the integrity and availability of critical cyber assets.
What IEC 62443 requirement maps to CVE-2024-39929?
IEC 62443 SR 7.6: This CVE maps to SR 7.6, which requires the implementation of security measures to prevent unauthorized access to systems and data. The vulnerability allows attackers to bypass security controls, compromising the integrity of the system.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Exim","product":"Exim","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.