ZDI-23-1472: (0Day) Exim libspf2 Integer Underflow Remote Code Execution Vulnerability

Published Sep 27, 2023
·
Updated

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.

Other sources

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 ZDI has assigned a CVSS rating of 7.5. The following CVEs are assigned: CVE-2023-42118.

Affected Software

1 affected component
Exim libspf2

Event History

Sep 27, 2023
Advisory Published
05:00 AM
Data Sourced
05:00 AM
Description
Jan 29, 2025
Advisory Published
via ZDI·03:12 AM

Frequently Asked Questions

1

What is the severity of ZDI-23-1472?

The severity of ZDI-23-1472 is critical due to the potential for arbitrary code execution without authentication.

2

How do I fix ZDI-23-1472?

To fix ZDI-23-1472, it is recommended to update Exim libspf2 to the latest patched version.

3

Who is affected by ZDI-23-1472?

ZDI-23-1472 affects installations of Exim libspf2 that utilize SPF macros.

4

Can ZDI-23-1472 be exploited remotely?

Yes, ZDI-23-1472 can be exploited remotely by network-adjacent attackers without requiring authentication.

5

What mechanisms in ZDI-23-1472 are vulnerable?

The specific flaw in ZDI-23-1472 lies within the parsing of SPF macros, which can be manipulated for malicious code execution.

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