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.
History

Thu, 07 Aug 2025 18:30:00 +0000

Type Values Removed Values Added
First Time appeared Exim exim
Libspf2 Project
Libspf2 Project libspf2
CPEs cpe:2.3:a:exim:exim:-:*:*:*:*:*:*:*
cpe:2.3:a:libspf2_project:libspf2:-:*:*:*:*:*:*:*
Vendors & Products Exim exim
Libspf2 Project
Libspf2 Project libspf2
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Wed, 28 May 2025 16:30:00 +0000

Type Values Removed Values Added
References

Thu, 22 May 2025 02:15:00 +0000


Fri, 28 Mar 2025 12:45:00 +0000

Type Values Removed Values Added
References

Wed, 18 Sep 2024 18:45:00 +0000

Type Values Removed Values Added
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. 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.

cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published: 2024-05-03T02:13:26.055Z

Updated: 2025-03-28T12:04:20.804Z

Reserved: 2023-09-06T21:14:24.436Z

Link: CVE-2023-42118

cve-icon Vulnrichment

Updated: 2025-03-28T12:04:20.804Z

cve-icon NVD

Status : Analyzed

Published: 2024-05-03T03:15:50.643

Modified: 2025-08-07T18:17:31.450

Link: CVE-2023-42118

cve-icon Redhat

Severity : Important

Publid Date: 2023-09-27T00:00:00Z

Links: CVE-2023-42118 - Bugzilla