Vulnerability record · CVE-2025-26794 · published 21 February 2025
CVE-2025-26794: Exim SQL injection via SQLite hints and ETRN serialization
Exim · Exim
Exim 4.98 before 4.98.1 allows remote SQL injection when SQLite hints and ETRN serialization are used. The flaw is a CWE-89 SQL injection reachable over the network without authentication, and the record notes that resolving it requires an update to 4.99.1 in certain non-default rate-limit configurations.
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.)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.8 with network, no-auth, no-interaction reachability and a very high EPSS probability, though exploitation is constrained to specific non-default configurations.
What it is
Exim 4.98 before 4.98.1 allows remote SQL injection when SQLite hints and ETRN serialization are used. The flaw is a CWE-89 SQL injection reachable over the network without authentication, and the record notes that resolving it requires an update to 4.99.1 in certain non-default rate-limit configurations.
Impact
An unauthenticated remote attacker can inject SQL into the Exim SQLite-backed hint database, with CVSS 3.1 scoring 9.8 (C:H/I:H/A:H), meaning full loss of confidentiality, integrity and availability of the affected component.
Attack surface
Reachable over the network (AV:N) with no privileges (PR:N) and no user interaction (UI:N), per the CVSS vector. Exploitation depends on the deployment using SQLite hints together with ETRN serialization, which the description frames as a non-default configuration.
Exploitation
Not listed in CISA KEV and no ransomware usage is documented. EPSS is very high at 0.77173 (99.528th percentile), and the references include vendor advisories and patches but no public exploit tag.
What to do
- Upgrade Exim to 4.98.1 or later; if you run the affected non-default rate-limit configuration, upgrade to 4.99.1 as the description states.
- If immediate patching is not possible, disable SQLite hints and/or ETRN serialization where the configuration allows, since the flaw requires both.
- Apply the vendor patch commit referenced in the Exim repository or the equivalent distribution patch (SUSE, OpenBSD ports, NixOS).
- Review Exim configurations for use of SQLite hint databases and ETRN, and treat those hosts as highest priority for patching.
- Monitor vendor advisories for any follow-up guidance on the 4.99.1 requirement.
Detection
- Inspect Exim logs for anomalous ETRN commands and unusual SQL-like strings in SMTP session data.
- Audit SQLite hint database contents and query logs for injected SQL or unexpected schema/table access.
- Alert on Exim versions below 4.98.1 (and below 4.99.1 in rate-limit configurations) present in the environment.
- Correlate network connections to Exim SMTP ports with ETRN usage from untrusted sources.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugzilla.suse.com/show_bug.cgi?id=1237424 | Issue TrackingThird Party Advisory |
| https://code.exim.org/exim/exim/commit/bfe32b5c6ea033736a26da8421513206db9fe305 | Patch |
| https://exim.org | Product |
| https://exim.org/static/doc/security/EXIM-Security-2025-12-09.1/report.txt | |
| https://github.com/Exim/exim/wiki/EximSecurity | Vendor Advisory |
| https://github.com/NixOS/nixpkgs/pull/383926 | Release Notes |
| https://github.com/openbsd/ports/commit/584d2c49addce9ca0ae67882cc16969104d7f82d | Patch |
| https://www.exim.org/static/doc/security/CVE-2025-26794.txt | Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2025/02/19/1 | Mailing ListThird Party Advisory |
| http://www.openwall.com/lists/oss-security/2025/02/21/4 | Mailing ListThird Party Advisory |
| http://www.openwall.com/lists/oss-security/2025/02/21/5 | Mailing ListThird Party Advisory |
Track CVE-2025-26794 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2025-26794), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.