Exim4: Exim through 4.97.1 misparses a multiline RFC 2231 header filename, and thus remote attackers can bypass a
Affects exim4Source GCVE Database
Not known to be exploited · CVSS 5.4 Medium · fixed in 4.86.2-2ubuntu2.6+esm8 : update exim4 when convenient.
Data as of 24 Nov 2026, 19:27 UTC
- Patch
- Available – fixed in 4.86.2-2ubuntu2.6+esm8, 4.90.1-1ubuntu1.10+esm5, 4.93-13ubuntu1.12 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSexim4pkg:deb/ubuntu/exim4?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSexim4pkg:deb/ubuntu/exim4?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSexim4pkg:deb/ubuntu/exim4?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSexim4pkg:deb/ubuntu/exim4?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSexim4pkg:deb/ubuntu/exim4?arch=source&distro=esm-infra/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-39929 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-39929 (opens in a new tab)
- github.com/Exim/exim/compare/exim-4.98-RC2...exim-4.98-RC3 (opens in a new tab)
- rfc-editor.org/rfc/rfc2231.txt (opens in a new tab)
- ubuntu.com/security/notices/USN-6939-1 (opens in a new tab)