CVE-2023-42118
CVE-2023-42118 · Exim libspf2 Integer Underflow Remote Code Execution Vulnerability
CVSS 7.5 · High · EPSS 1.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- libspf2No fix published
- libspf2 Alpine 3.18Update to 1.2.11-r3
- libspf2 Alpine 3.19Update to 1.2.11-r3
- libspf2 Alpine 3.20Update to 1.2.11-r3
- and 20 more
Check the installed version:
apk list -I -o libspf2Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
This page shows selected source facts. See the linked advisories for the complete description and affected versions.
Exim libspf2 Integer Underflow Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Exim libspf2. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the parsing of SPF macros. When parsing SPF macros, the process does not properly validate user-supplied data, which can result in an integer underflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17578.
- Published
- Updated
Stack: system
Affected products and versions
libspf2
- Versions
- exim 4.96-RC0-14-24b8ed847-XX: Affected
No fix published
libspf2 Alpine 3.18
- Affected ranges
- ECOSYSTEM: < 1.2.11-r3
Update to 1.2.11-r3
libspf2 Alpine 3.19
- Affected ranges
- ECOSYSTEM: < 1.2.11-r3
Update to 1.2.11-r3
libspf2 Alpine 3.20
- Affected ranges
- ECOSYSTEM: < 1.2.11-r3
Update to 1.2.11-r3
libspf2 Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 1.2.11-r3
Update to 1.2.11-r3
libspf2 Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 1.2.11-r3
Update to 1.2.11-r3
libspf2 Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 1.2.11-r3
Update to 1.2.11-r3
libspf2 Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 1.2.11-r3
Update to 1.2.11-r3
libspf2 Debian 12
- Versions
- 1.2.10-10
- 1.2.10-11
- 1.2.10-7.2
- 1.2.10-8
- 1.2.10-8.1
- 1.2.10-8.1~exp1
All versions (10)
- 1.2.10-8.2
- 1.2.10-8.3
- 1.2.10-8.4
- 1.2.10-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspf2 Debian 13
- Versions
- 1.2.10-10
- 1.2.10-11
- 1.2.10-8.3
- 1.2.10-8.4
- 1.2.10-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspf2 Debian 14
- Versions
- 1.2.10-10
- 1.2.10-11
- 1.2.10-8.3
- 1.2.10-8.4
- 1.2.10-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
exim4 Ubuntu Pro 14.04 LTS
- Versions
- 4.80-7ubuntu3
- 4.80-7ubuntu4
- 4.80-9ubuntu1
- 4.80-9ubuntu2
- 4.82-3ubuntu1
- 4.82-3ubuntu2
All versions (18)
- 4.82-3ubuntu2.1
- 4.82-3ubuntu2.2
- 4.82-3ubuntu2.3
- 4.82-3ubuntu2.4
- 4.82-3ubuntu2.4+esm1
- 4.82-3ubuntu2.4+esm2
- 4.82-3ubuntu2.4+esm3
- 4.82-3ubuntu2.4+esm4
- 4.82-3ubuntu2.4+esm6
- 4.82-3ubuntu2.4+esm7
- 4.82-3ubuntu2.4+esm8
- 4.82-3ubuntu2.4+esm9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
exim4 Ubuntu Pro 16.04 LTS
- Versions
- 4.86-3ubuntu1
- 4.86-7ubuntu1
- 4.86-7ubuntu2
- 4.86-7ubuntu3
- 4.86.2-2ubuntu1
- 4.86.2-2ubuntu2
All versions (20)
- 4.86.2-2ubuntu2.1
- 4.86.2-2ubuntu2.2
- 4.86.2-2ubuntu2.3
- 4.86.2-2ubuntu2.4
- 4.86.2-2ubuntu2.5
- 4.86.2-2ubuntu2.6
- 4.86.2-2ubuntu2.6+esm1
- 4.86.2-2ubuntu2.6+esm2
- 4.86.2-2ubuntu2.6+esm4
- 4.86.2-2ubuntu2.6+esm5
- 4.86.2-2ubuntu2.6+esm6
- 4.86.2-2ubuntu2.6+esm7
- 4.86.2-2ubuntu2.6+esm8
- 4.86.2-2ubuntu2.6+esm9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspf2 Ubuntu Pro 16.04 LTS
- Versions
- 1.2.10-6
- 1.2.10-6build1
- 1.2.10-6ubuntu0.1~esm1
- 1.2.10-6ubuntu0.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
exim4 Ubuntu Pro 18.04 LTS
- Versions
- 4.89-5ubuntu1
- 4.89-9ubuntu1
- 4.89-9ubuntu2
- 4.89-9ubuntu3
- 4.89-9ubuntu4
- 4.90.1-1ubuntu1
All versions (20)
- 4.90.1-1ubuntu1.1
- 4.90.1-1ubuntu1.2
- 4.90.1-1ubuntu1.3
- 4.90.1-1ubuntu1.4
- 4.90.1-1ubuntu1.5
- 4.90.1-1ubuntu1.8
- 4.90.1-1ubuntu1.9
- 4.90.1-1ubuntu1.10
- 4.90.1-1ubuntu1.10+esm1
- 4.90.1-1ubuntu1.10+esm2
- 4.90.1-1ubuntu1.10+esm3
- 4.90.1-1ubuntu1.10+esm4
- 4.90.1-1ubuntu1.10+esm5
- 4.90.1-1ubuntu1.10+esm6
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspf2 Ubuntu Pro 18.04 LTS
- Versions
- 1.2.10-7build2
- 1.2.10-7ubuntu0.18.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
exim4 Ubuntu Pro 20.04 LTS
- Versions
- 4.92.1-1ubuntu3
- 4.92.1-1ubuntu4
- 4.93~RC2-1ubuntu1
- 4.93-9ubuntu1
- 4.93-11ubuntu1
- 4.93-12ubuntu1
All versions (17)
- 4.93-13ubuntu1
- 4.93-13ubuntu1.1
- 4.93-13ubuntu1.5
- 4.93-13ubuntu1.6
- 4.93-13ubuntu1.7
- 4.93-13ubuntu1.8
- 4.93-13ubuntu1.9
- 4.93-13ubuntu1.10
- 4.93-13ubuntu1.11
- 4.93-13ubuntu1.12
- 4.93-13ubuntu1.12+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspf2 Ubuntu 20.04 LTS
- Versions
- 1.2.10-7build3
- 1.2.10-7build4
- 1.2.10-7+deb9u2build0.20.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
exim4 Ubuntu 22.04 LTS
- Versions
- 4.94.2-7ubuntu2
- 4.95-2ubuntu2
- 4.95-4ubuntu1
- 4.95-4ubuntu2
- 4.95-4ubuntu2.1
- 4.95-4ubuntu2.2
All versions (16)
- 4.95-4ubuntu2.3
- 4.95-4ubuntu2.4
- 4.95-4ubuntu2.5
- 4.95-4ubuntu2.6
- 4.95-4ubuntu2.7
- 4.95-4ubuntu2.8
- 4.95-4ubuntu2.9
- 4.95-4ubuntu2.10
- 4.95-4ubuntu2.11
- 4.95-4ubuntu2.12
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspf2 Ubuntu 22.04 LTS
- Versions
- 1.2.10-7.1
- 1.2.10-7.1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
exim4 Ubuntu 24.04 LTS
- Versions
- 4.96-17ubuntu2
- 4.96-17ubuntu2.1
- 4.97-3ubuntu1
- 4.97-4ubuntu1
- 4.97-4ubuntu3
- 4.97-4ubuntu4
All versions (14)
- 4.97-4ubuntu4.1
- 4.97-4ubuntu4.2
- 4.97-4ubuntu4.3
- 4.97-4ubuntu4.4
- 4.97-4ubuntu4.5
- 4.97-4ubuntu4.6
- 4.97-4ubuntu4.7
- 4.97-4ubuntu4.8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspf2 Ubuntu 24.04 LTS
- Versions
- 1.2.10-7.2build1
- 1.2.10-8
- 1.2.10-8build1
- 1.2.10-8.1ubuntu2
- 1.2.10-8.1ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
exim4 Ubuntu 25.10
- Versions
- 4.98.1-1ubuntu2
- 4.98.2-1ubuntu1
- 4.98.2-1ubuntu2
- 4.98.2-1ubuntu2.1
- 4.98.2-1ubuntu2.2
- 4.98.2-1ubuntu2.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libspf2 Ubuntu 25.10
- Versions
- 1.2.10-8.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published