SQL injection in Exim - CVE-2025-26794
Published: February 21, 2025 / Updated: October 31, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary SQL queries in application's database.
The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can send a specially crafted email to the affected server and execute arbitrary SQL commands within the application's database.
Note, the vulnerability exists only when the build time option _USE_SQLITE_ was set (it enables the use of SQLite for the hints databases), runtime config enables ETRN and enforces ETRN serialization.
Affected software
Fedora
exim
How to mitigate CVE-2025-26794
exim - addressed in versions 4.98.1-1.el8, 4.98.1-1.el9, 4.98.1-1.fc40, 4.98.1-1.fc41, 4.98.1-1.fc42, 4.98.2-1.fc42