CVE-2023-42118

Exim libspf2 Integer Underflow Remote Code Execution Vulnerability

State
Published
Severity
7.5 High
Published
May 3, 2024
Updated
Mar 28, 2025
Reserved
Sep 6, 2023

Read the record on cve.org

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.

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.

Scores

CVSSScoreVectorSource
3.07.5 HighCVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hzdi

Weaknesses

  • CWE-191 Integer Underflow (Wrap or Wraparound)

Affected Products

ProductVersions
libspf2Exim
  • exim 4.96-RC0-14-24b8ed847-XXAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.