Home / Exim / libspf2 / CVE-2023-42118
CVE-2023-42118: is it exploited, and which versions of Exim libspf2 are affected and fixed?
CVE-2023-42118 is an integer underflow vulnerability in Exim libspf2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: libspf2 exim 4.96-RC0-14-24b8ed847-XX (CVE record by zdi). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 3.0, from zdi).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:30 UTC.
What is CVE-2023-42118?
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.
From the CVE record by zdi, last updated March 28, 2025, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Exim | libspf2 | exim 4.96-RC0-14-24b8ed847-XX |
As the CVE record by zdi states it, last updated March 28, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| libspf2 project | libspf2 | all versions | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 06:23 UTC.
How severe is CVE-2023-42118?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.0 | CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | zdi |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-42118 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, July 3, 2024)
- EPSS
- 8.35% probability of exploitation activity in the next 30 days, percentile 95.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-191 Integer Underflow (Wrap or Wraparound)
Where are the vendor advisories and references?
- ZDI-23-1472 x_research-advisory
- http://www.openwall.com/lists/oss-security/2025/03/28/1
When was it published, and where is the official record?
- Reserved
- September 6, 2023
- Published
- May 3, 2024, 02:13 UTC
- CVE record updated
- March 28, 2025, 12:04 UTC by zdi
- NVD
- Analyzed, last modified June 17, 2026, 06:23 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:30 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2023-42118
Is CVE-2023-42118 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 8.35% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Exim libspf2 are affected by CVE-2023-42118?
libspf2 exim 4.96-RC0-14-24b8ed847-XX, per the CVE record by zdi. The tables above give every range the sources list.
Which version fixes CVE-2023-42118?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2023-42118?
High (7.5, CVSS 3.0, from zdi). The severity table above shows each score with its source.
Where is the official record of CVE-2023-42118?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.