← Vulnerability feed

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.

9.8 CVSS 3.1 Critical EPSS 77% · top 0.5% CWE-89 · SQL injection
9.8CVSS 3.1 base score
77%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
11References
17 Jun 2026Last modified by NVD

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

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

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

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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-16928Exim heap buffer overflow in string_vformat via long EHLO commandExim 4.92 through 4.92.2 contains a heap-based buffer overflow in string_vformat in string.c triggered by a long EHLO command, allowing remote code e…KEVEPSS 42%analysed9.8CVE-2019-10149Exim MTA improper recipient validation leads to remote command executionExim versions 4.87 through 4.91 fail to properly validate recipient addresses in the deliver_message() function in /src/deliver.c, allowing command i…KEVEPSS 100%analysed9.8CVE-2018-6789Exim SMTP base64d buffer overflow allows remote code executionExim before 4.90.1 contains a buffer overflow in the base64d function of its SMTP listener. A handcrafted message can trigger the overflow, and the f…KEVEPSS 82%analysed9.8CVE-2010-4344Exim SMTP heap buffer overflow enables remote code executionExim before 4.70 has a heap-based buffer overflow in string_vformat in string.c. A remote SMTP session that sends two MAIL commands plus a large mess…KEVEPSS 72%analysed7.8CVE-2010-4345Exim local privilege escalation via alternate config file command injectionExim 4.72 and earlier lets the exim user account specify an alternate configuration file whose directives can contain arbitrary commands, as shown wi…KEVEPSS 18%analysed9.8CVE-2026-45185Exim use after free vulnerabilityExim before 4.99.3, in certain GnuTLS configurations, has a remotely reachable use-after-free in the BDAT body parsing path. It is triggered when a c…EPSS 0.94%9.8CVE-2026-40685Exim out-of-bounds write vulnerabilityIn Exim before 4.99.2, when JSON lookup is enabled, an out-of-bounds heap write can occur when a JSON operator encounters malformed JSON in an untrus…EPSS 0.58%9.8CVE-2025-67896Exim heap-based buffer overflow vulnerabilityExim before 4.99.1, with certain non-default rate-limit configurations, allows a remote heap-based buffer overflow because database records are cast …EPSS 0.47%

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.