CVE-2023-42118
published high CVSS 3.0 · 7.5Exim libspf2 Integer Underflow Remote Code Execution Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Exim | — | libspf2exim 4.96-RC0-14-24b8ed847-XX · Other versions: unknown | Affected | Not stated | zdi |
| exim | — | libspf20 and later · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Alpine Linux | edge | libspf2 | Fixed | 1.2.11-r3 | Package fix record |
| Alpine Linux | v3.18 | libspf2 | Fixed | 1.2.11-r3 | Package fix record |
| Alpine Linux | v3.19 | libspf2 | Fixed | 1.2.11-r3 | Package fix record |
| Alpine Linux | v3.20 | libspf2 | Fixed | 1.2.11-r3 | Package fix record |
| Alpine Linux | v3.21 | libspf2 | Fixed | 1.2.11-r3 | Package fix record |
| Alpine Linux | v3.22 | libspf2 | Fixed | 1.2.11-r3 | Package fix record |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.23 | libspf2 | Fixed | 1.2.11-r3 | Package fix record |
| Alpine Linux | v3.24 | libspf2 | Fixed | 1.2.11-r3 | Package fix record |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- zdi · cna
- Vector string
- CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Exim | libspf2 | exim 4.96-RC0-14-24b8ed847-XX (affected)Default: unknown | zdi · cna |
| exim | libspf2 | 0 and later (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-191 CWE-191: Integer Underflow (Wrap or Wraparound)
References
2- http://www.openwall.com/lists/oss-security/2025/03/28/1
- ZDI-23-1472 https://www.zerodayinitiative.com/advisories/ZDI-23-1472/
Provider assertions
3zdi · cna
Exim libspf2 Integer Underflow Remote Code Execution Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 88e4f745aab6b1d1d3671e0ead7daf66f69ff1169ce1e4a68c6a576e443ba395
- Ingested
- 23 Sep 2026, 08:11:47 UTC
- Source record
- Official CVE record