Advisory Details

April 7th, 2025

Exim Use-After-Free Local Privilege Escalation Vulnerability

ZDI-25-200
ZDI-CAN-26250

CVE ID CVE-2025-30232
CVSS SCORE 7.8, AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Exim
AFFECTED PRODUCTS Exim
VULNERABILITY DETAILS

This vulnerability allows local attackers to escalate privileges on affected installations of Exim. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the handling of the dp command line parameter. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root.

ADDITIONAL DETAILS Exim has issued an update to correct this vulnerability. More details can be found at:
https://www.exim.org/static/doc/security/CVE-2025-30232.txt
DISCLOSURE TIMELINE
  • 2025-03-13 - Vulnerability reported to vendor
  • 2025-04-07 - Coordinated public release of advisory
  • 2025-04-07 - Advisory Updated
CREDIT Oliver Ford
BACK TO ADVISORIES