CVE-2023-42118
HIGH 8.8CVSS 3.1Exim 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
- 3 May 2024
- Last modified
- 17 Jun 2026
- Assigned by
- zdi-disclosures@trendmicro.com
- NVD status
- Analyzed
- Weakness
- CWE-191
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | zdi-disclosures@trendmicro.com (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | libspf2_project | libspf2cpe:2.3:a:libspf2_project:libspf2:-:*:*:*:*:*:*:* |
(no version) |
References
- https://www.zerodayinitiative.com/advisories/ZDI-23-1472/ · Third Party Advisory
- http://www.openwall.com/lists/oss-security/2025/03/28/1 · Mailing List
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 3 May 2024)