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.)
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Exim | Exim | 4.98 – < 4.98.1 | 4.98.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | exim4 | 4.98-4 | — |
| Debian 13 | exim4 | 4.98-4 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | exim | 4.98.2-1.1 | openSUSE-SU-2025:14935-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 3 repositories
-
OscarBataille/CVE-2025-26794 ★ 14 · Feb 22, 2025
CVE-2025-26794: Blind SQL injection in Exim 4.98 (SQLite DBM)- exploit writeup
-
XploitGh0st/CVE-2025-26794-exploit ★ 2 · Oct 31, 2025
SQL injection exploit for CVE-2025-26794 in Exim 4.98. Automated data extraction via time-based blind SQLi. For authorized penetration testing only.
-
ishwardeepp/CVE-2025-26794-Exim-Mail-SQLi ★ 0 · Mar 5, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- WID-SEC-2025-0413 Exim: Schwachstelle ermöglicht SQL-Injection BSI CERT-Bund (WID) · May 21, 2026
- openSUSE-SU-2025:14935-1 exim-4.98.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2025-0067 Kwetsbaarheid verholpen in Exim NCSC-NL (Netherlands) · Feb 21, 2025
References
- https://exim.org
- https://github.com/Exim/exim/wiki/EximSecurity
- https://www.exim.org/static/doc/security/CVE-2025-26794.txt
- https://code.exim.org/exim/exim/commit/bfe32b5c6ea033736a26da8421513206db9fe305
- https://bugzilla.suse.com/show_bug.cgi?id=1237424
- https://github.com/NixOS/nixpkgs/pull/383926
- https://github.com/openbsd/ports/commit/584d2c49addce9ca0ae67882cc16969104d7f82d
- https://exim.org/static/doc/security/EXIM-Security-2025-12-09.1/report.txt