PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2025-30232: 
Exim vulnerability analysis and mitigation

Overview

A use-after-free vulnerability was discovered in Exim mail server versions 4.96 through 4.98.1. The vulnerability was reported by Trend Micro on March 13, 2025, and was assigned CVE-2025-30232 on March 19, 2025. The vulnerability affects systems running specific versions of Exim with command-line access enabled (Exim Security).

Technical details

The vulnerability is classified as a use-after-free (CWE-416) issue that could lead to privilege escalation. According to the CVSS 3.1 scoring, it received a base score of 8.1 (HIGH) with the following vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H. This indicates that while local access is required, the vulnerability requires no privileges or user interaction to exploit, and can result in high impacts to confidentiality, integrity, and availability (NVD).

Impact

The vulnerability could allow users with command-line access to escalate privileges on affected systems. This poses a significant security risk as it could potentially allow attackers to gain elevated access to the system (MITRE CVE).

Exploitability

The vulnerability requires command-line access to be exploited. The issue was introduced in version 4.96 and affects all versions up to 4.98.1. The vulnerable code was introduced after commit 19fdbfb4a2b6ca4a6a96ef52be848f0a23e2414f (exim-4.96-RC0) (Debian Tracker).

Mitigation and workarounds

The vulnerability has been fixed in various distributions. Ubuntu has released fixes in versions 4.98-1ubuntu2.1 for 24.10 and 4.97-4ubuntu4.3 for 24.04 LTS. Debian has addressed the issue with version 4.96-15+deb12u7 for bookworm and 4.98.2-1 for sid and trixie. Systems running versions prior to 4.96 are not affected by this vulnerability (Ubuntu Security).

Community reactions

The vulnerability was responsibly disclosed by Trend Micro (ZDI-CAN-26250). The Exim project coordinated with distribution maintainers, providing early access to security fixes before public disclosure. A coordinated release timeline was followed, with distribution notifications on March 19, 2025, and public disclosure on March 26, 2025 (OSS Security).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

exim4: 4.96-15+deb12u7

Fixed

sid

exim4: 4.98.1-2

Fixed

trixie

exim4: 4.98.1-2

Fixed

Alpine

Fixed

edge

exim: 4.98.2-r0

Fixed

v3.21

exim: 4.98.2-r0

Fixed

v3.22

exim: 4.98.2-r0

Fixed

v3.23

exim: 4.98.2-r0

Fixed

Source: This report was generated using AI

Related Exim vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-66141HIGH7.8
  • Exim logoExim
  • cpe:2.3:a:exim:exim
NoYesJul 24, 2026
CVE-2026-94056HIGH7.5
  • Exim logoExim
  • exim-pgsql
NoYesSep 19, 2026
CVE-2026-94057MEDIUM5.3
  • Exim logoExim
  • exim4
NoYesSep 19, 2026
CVE-2026-94055MEDIUM5.3
  • Exim logoExim
  • cpe:2.3:a:exim:exim
NoYesSep 19, 2026
CVE-2026-94054MEDIUM5.3
  • Exim logoExim
  • exim-pgsql
NoYesSep 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management