CVE-2023-42118: (0Day) Exim libspf2 Integer Underflow Remote Code Execution Vulnerability

Published May 3, 2024
·
Updated

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 Software

3 affected components
Exim libspf2
All of the following
Libspf2 Project Libspf2
Exim Exim

Event History

May 3, 2024
CVE Published
via MITRE·02:13 AM
Data Sourced
via MITRE·02:13 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeaknessAffected Software
Jan 29, 2025
Advisory Published
via ZDI·03:12 AM

Frequently Asked Questions

1

What is the severity of CVE-2023-42118?

CVE-2023-42118 is classified as a high severity vulnerability that allows remote code execution.

2

How do I fix CVE-2023-42118?

To address CVE-2023-42118, you should update Exim libspf2 to the latest patched version as recommended by the vendor.

3

Who is affected by CVE-2023-42118?

CVE-2023-42118 affects all installations of Exim libspf2 that are vulnerable to the integer underflow flaw.

4

What type of attack can exploit CVE-2023-42118?

CVE-2023-42118 can be exploited by network-adjacent attackers to execute arbitrary code without requiring authentication.

5

When was CVE-2023-42118 disclosed?

CVE-2023-42118 was disclosed publicly in 2023, detailing its impact on Exim libspf2 installations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203