CVE-2023-42118

Severity CVSS v4.0:
Pending analysis
Type:
CWE-191 Integer Underflow (Wrap or Wraparound)
Publication date:
03/05/2024
Last modified:
07/08/2025

Description

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. <br /> <br /> 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.<br /> . Was ZDI-CAN-17578.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:libspf2_project:libspf2:-:*:*:*:*:*:*:*
cpe:2.3:a:exim:exim:-:*:*:*:*:*:*:*