CVE-2025-30232 Use after free in Exim

High 8.1 Published Updated

A use-after-free flaw in Exim allows local users with command-line access to escalate privileges.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-30232?

CVE-2025-30232 is a high-severity use after free vulnerability in Exim Exim, published on 27 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A use-after-free in Exim 4.96 through 4.98.1 could allow users (with command-line access) to escalate privileges.

Weakness: CWE-416

Which versions are affected by CVE-2025-30232?

It affects 1 product.

Products include Exim Exim.

How do I fix CVE-2025-30232?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-30232 being exploited?

There is no known exploitation of CVE-2025-30232 in the wild and no public exploit code.

All Exim Exim vulnerabilities

Sources

Also known as CLSA-2026-1783707452, DEBIAN-CVE-2025-30232, DSA-5887-1, GHSA-qw8f-786p-mp4v, UBUNTU-CVE-2025-30232, USN-7373-1.

Is CVE-2025-30232 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free