
CVE catalog
CVE-2023-42118
libspf2: CVE-2023-42118
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 8.42% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libspf2 | sid | 1.2.10-11 | vulnerable |
| Debian | libspf2 | forky | 1.2.10-11 | vulnerable |
| Debian | libspf2 | trixie | 1.2.10-8.3 | vulnerable |
| Debian | libspf2 | bookworm | 1.2.10-7.2 | vulnerable |
| Alpine | libspf2 | 3.18 | 1.2.11-r3 | fixed |
| Alpine | libspf2 | 3.19 | 1.2.11-r3 | fixed |
| Alpine | libspf2 | 3.20 | 1.2.11-r3 | fixed |
| Alpine | libspf2 | 3.21 | 1.2.11-r3 | fixed |
| Alpine | libspf2 | 3.22 | 1.2.11-r3 | fixed |
| Alpine | libspf2 | 3.23 | 1.2.11-r3 | fixed |
| Alpine | libspf2 | 3.24 | 1.2.11-r3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libspf2 | source | sid | (unfixed) | not yet assigned | Not reported | [1053870] |
| Debian | libspf2 | source | forky | (unfixed) | not yet assigned | Not reported | [1053870] |
| Debian | libspf2 | source | trixie | (unfixed) | not yet assigned | Not reported | [1053870] |
| Debian | libspf2 | source | bookworm | (unfixed) | not yet assigned | Not reported | [1053870] |
| Alpine | libspf2 | apk | 3.18 | 1.2.11-r3 | Not reported | ALPINE-CVE-2023-42118 | Not reported |
| Alpine | libspf2 | apk | 3.19 | 1.2.11-r3 | Not reported | ALPINE-CVE-2023-42118 | Not reported |
| Alpine | libspf2 | apk | 3.20 | 1.2.11-r3 | Not reported | ALPINE-CVE-2023-42118 | Not reported |
| Alpine | libspf2 | apk | 3.21 | 1.2.11-r3 | Not reported | ALPINE-CVE-2023-42118 | Not reported |
| Alpine | libspf2 | apk | 3.22 | 1.2.11-r3 | Not reported | ALPINE-CVE-2023-42118 | Not reported |
| Alpine | libspf2 | apk | 3.23 | 1.2.11-r3 | Not reported | ALPINE-CVE-2023-42118 | Not reported |
| Alpine | libspf2 | apk | 3.24 | 1.2.11-r3 | Not reported | ALPINE-CVE-2023-42118 | Not reported |
Notes
[trixie] libspf2: Revisit once upstream and ZDI status is clarfied [bookworm] libspf2: Revisit once upstream and ZDI status is clarfied
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://osv.dev/vulnerability/ALPINE-CVE-2023-42118]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-42118]
- [https://security-tracker.debian.org/tracker/CVE-2023-42118]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2505.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]