CVE-2023-42118

published 3 May 2024 · updated 20 Oct 2026

Exim libspf2 Integer Underflow Remote Code Execution Vulnerability

7.5HighCVSS 7.5EPSS 8%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 8%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Eximlibspf2=exim 4.96-RC0-14-24b8ed847-XX

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Exim, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-42118 severity on Zeptric[![CVE-2023-42118](https://zeptric.io/badge/cve/CVE-2023-42118.svg)](https://zeptric.io/cve/CVE-2023-42118)