#VU104137 SQL injection in Exim - CVE-2025-26794


Vulnerability identifier: #VU104137

Vulnerability risk: Medium

CVSSv4.0: 1.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-26794

CWE-ID: CWE-89

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Exim
Server applications / Mail servers

Vendor: Exim

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Exim: 4.98


External links
https://www.exim.org/static/doc/security/CVE-2025-26794.txt


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability