CVE-2023-42118: high-severity vulnerability in Exim libspf2
Exim libspf2 Integer Underflow Remote Code Execution Vulnerability
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Exim's SPF macro parser has an integer underflow flaw that allows remote attackers to execute arbitrary code without authentication. Attackers can send specially crafted SPF records that exploit improper validation to write malicious data into memory and take control of the mail service.
An integer underflow vulnerability exists in libspf2's SPF macro parsing routine due to insufficient input validation. A network-adjacent attacker can send crafted SPF data to trigger the underflow, leading to out-of-bounds memory writes and arbitrary code execution with service account privileges; no authentication required.