CVE-2025-26794 SQL injection in Exim

High 7.5 Published Updated

Remote attackers can perform SQL injection in Exim mail server when SQLite hints and ETRN serialization are enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-26794?

CVE-2025-26794 is a high-severity SQL injection vulnerability in Exim Exim, published on 21 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Exim 4.98 before 4.98.1, when SQLite hints and ETRN serialization are used, allows remote SQL injection. (Resolving SQL injection requires an update to 4.99.1 in certain non-default rate-limit configurations.)

Weakness: CWE-89

Which versions are affected by CVE-2025-26794?

It affects 1 product.

Products include Exim Exim.

How do I fix CVE-2025-26794?

Upgrade to a fixed version.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-26794 being exploited?

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

Public exploit code: 3 proofs of concept on GitHub.

All Exim Exim vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-26794, GHSA-v8m7-99rg-xp5c.

Is CVE-2025-26794 in your software?

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

Check your SBOMs for free