Exim4: Exim libspf2 Integer Underflow Remote Code Execution Vulnerability
Affects exim4Source GCVE Database
Not known to be exploited · CVSS 7.5 Critical.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 8.4% chance of exploitation in 30 days – higher than 94% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu:Pro:14.04:LTSexim4pkg:deb/ubuntu/exim4@4.82-3ubuntu2.4+esm9?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in– |
Ubuntu:Pro:16.04:LTSexim4pkg:deb/ubuntu/exim4@4.86.2-2ubuntu2.6+esm9?arch=source&distro=esm-infra-legacy/xenialOther threats | Affected
| Fixed in– |
Ubuntu:Pro:16.04:LTSlibspf2pkg:deb/ubuntu/libspf2@1.2.10-6ubuntu0.1~esm2?arch=source&distro=esm-apps/xenialOther threats | Affected
| Fixed in– |
Ubuntu:Pro:18.04:LTSexim4pkg:deb/ubuntu/exim4@4.90.1-1ubuntu1.10+esm6?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in– |
Ubuntu:Pro:18.04:LTSlibspf2pkg:deb/ubuntu/libspf2@1.2.10-7ubuntu0.18.04.1~esm1?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Ubuntu:Pro:20.04:LTSexim4pkg:deb/ubuntu/exim4@4.93-13ubuntu1.12+esm1?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in– |
Ubuntu:20.04:LTSlibspf2pkg:deb/ubuntu/libspf2@1.2.10-7+deb9u2build0.20.04.1?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu:22.04:LTSexim4pkg:deb/ubuntu/exim4@4.95-4ubuntu2.11?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu:22.04:LTSlibspf2pkg:deb/ubuntu/libspf2@1.2.10-7.1ubuntu1?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu:24.04:LTSexim4pkg:deb/ubuntu/exim4@4.97-4ubuntu4.7?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu:24.04:LTSlibspf2pkg:deb/ubuntu/libspf2@1.2.10-8.1ubuntu3?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu:25.10exim4pkg:deb/ubuntu/exim4@4.98.2-1ubuntu2.3?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu:25.10libspf2pkg:deb/ubuntu/libspf2@1.2.10-8.3?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu:26.04:LTSexim4pkg:deb/ubuntu/exim4@4.99.1-1ubuntu1.4?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu:26.04:LTSlibspf2pkg:deb/ubuntu/libspf2@1.2.10-9?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until official patches are available, restrict network access to the Exim service to trusted sources only and monitor for unusual activity related to SPF processing. Avoid exposing vulnerable versions to untrusted networks.
Description
A vulnerability in Exim libspf2 allows network-adjacent attackers to execute arbitrary code without authentication. The flaw is an integer underflow in SPF macro parsing that leads to memory corruption and remote code execution in the context of the service account. Multiple specific Exim4 package versions on Ubuntu are affected.