CVE catalog

CVE-2023-42118

libspf2: CVE-2023-42118

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianlibspf2sid1.2.10-11vulnerable
Debianlibspf2forky1.2.10-11vulnerable
Debianlibspf2trixie1.2.10-8.3vulnerable
Debianlibspf2bookworm1.2.10-7.2vulnerable
Alpinelibspf23.181.2.11-r3fixed
Alpinelibspf23.191.2.11-r3fixed
Alpinelibspf23.201.2.11-r3fixed
Alpinelibspf23.211.2.11-r3fixed
Alpinelibspf23.221.2.11-r3fixed
Alpinelibspf23.231.2.11-r3fixed
Alpinelibspf23.241.2.11-r3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibspf2sourcesid(unfixed)not yet assignedNot reported[1053870]
Debianlibspf2sourceforky(unfixed)not yet assignedNot reported[1053870]
Debianlibspf2sourcetrixie(unfixed)not yet assignedNot reported[1053870]
Debianlibspf2sourcebookworm(unfixed)not yet assignedNot reported[1053870]
Alpinelibspf2apk3.181.2.11-r3Not reportedALPINE-CVE-2023-42118Not reported
Alpinelibspf2apk3.191.2.11-r3Not reportedALPINE-CVE-2023-42118Not reported
Alpinelibspf2apk3.201.2.11-r3Not reportedALPINE-CVE-2023-42118Not reported
Alpinelibspf2apk3.211.2.11-r3Not reportedALPINE-CVE-2023-42118Not reported
Alpinelibspf2apk3.221.2.11-r3Not reportedALPINE-CVE-2023-42118Not reported
Alpinelibspf2apk3.231.2.11-r3Not reportedALPINE-CVE-2023-42118Not reported
Alpinelibspf2apk3.241.2.11-r3Not reportedALPINE-CVE-2023-42118Not reported

[Debian bug #1053870]

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