The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-26794

CVE-2025-26794: Exim Mail Server SQLi Vulnerability

CVE-2025-26794 is a SQL injection vulnerability in Exim mail server affecting versions before 4.98.1. Attackers can exploit SQLite hints and ETRN serialization to execute malicious SQL queries remotely.

Updated: January 22, 2026

CVE-2025-26794 Overview

CVE-2025-26794 is a critical SQL injection vulnerability affecting Exim mail transfer agent version 4.98 before 4.98.1. When SQLite hints and ETRN serialization features are enabled, the vulnerability allows remote attackers to perform SQL injection attacks against the underlying database. The vulnerability requires an update to version 4.99.1 in certain non-default rate-limit configurations to fully resolve the SQL injection risk.

Critical Impact

This vulnerability allows unauthenticated remote attackers to inject arbitrary SQL commands through the network, potentially leading to complete compromise of confidentiality, integrity, and availability of the affected mail server and its data.

Affected Products

  • Exim versions 4.98 before 4.98.1
  • Exim installations using SQLite hints feature
  • Exim configurations with ETRN serialization enabled

Discovery Timeline

  • February 21, 2025 - CVE-2025-26794 published to NVD
  • December 18, 2025 - Last updated in NVD database

Technical Details for CVE-2025-26794

Vulnerability Analysis

This SQL injection vulnerability (CWE-89) exists in Exim's handling of SQLite hints combined with ETRN serialization functionality. The vulnerability enables remote attackers to manipulate SQL queries executed by the mail server without requiring authentication. When exploited, attackers can potentially read, modify, or delete database contents, execute administrative operations, and in some cases, issue commands to the operating system.

The attack surface is exposed over the network, requiring no privileges or user interaction. Successful exploitation can result in complete compromise of the mail server's data confidentiality through unauthorized data access, data integrity through malicious modifications, and system availability through destructive queries or resource exhaustion.

Root Cause

The root cause is improper neutralization of special elements used in SQL commands (CWE-89). User-supplied input processed through the SQLite hints and ETRN serialization code paths is not properly sanitized before being incorporated into SQL queries. This allows attackers to break out of the intended query structure and inject malicious SQL statements.

Attack Vector

The attack is conducted remotely over the network against Exim servers running vulnerable configurations. An attacker can craft malicious SMTP requests that, when processed by the ETRN serialization feature with SQLite hints enabled, inject arbitrary SQL commands. The attack requires no authentication and no user interaction, making it highly exploitable in exposed environments.

The vulnerability specifically targets the interplay between SQLite database operations and the ETRN (Extended Turn) command serialization mechanism, where input validation failures allow SQL metacharacters to pass through unchecked.

Detection Methods for CVE-2025-26794

Indicators of Compromise

  • Unusual SQL error messages in Exim log files indicating malformed queries
  • Unexpected database modifications or data extraction patterns in SQLite hint databases
  • Anomalous ETRN command activity from external sources
  • Signs of data exfiltration or unauthorized administrative actions on the mail server

Detection Strategies

  • Monitor Exim logs for SQL-related error messages or unusual query patterns
  • Implement network intrusion detection rules for malformed SMTP commands targeting ETRN functionality
  • Deploy database activity monitoring on SQLite databases used by Exim
  • Use web application firewall rules to detect SQL injection patterns in mail traffic

Monitoring Recommendations

  • Enable verbose logging for Exim SMTP transactions and database operations
  • Configure alerts for repeated failed SQL operations or syntax errors
  • Monitor for unusual ETRN command usage patterns from external IP addresses
  • Track database file access and modification times for SQLite hint databases

How to Mitigate CVE-2025-26794

Immediate Actions Required

  • Update Exim to version 4.98.1 or later immediately
  • For non-default rate-limit configurations, update to version 4.99.1
  • Review Exim configuration to identify if SQLite hints and ETRN serialization are enabled
  • Consider temporarily disabling ETRN serialization if patching cannot be performed immediately

Patch Information

The Exim development team has released security patches addressing this vulnerability. The primary fix is available in Exim 4.98.1, with additional fixes for certain rate-limit configurations in version 4.99.1. The patch addresses the SQL injection by properly sanitizing input before database operations.

The fix can be reviewed in the Exim Commit bfe32b5. The official security advisory is available at the Exim CVE-2025-26794 Report. Additional security information is maintained on the GitHub Exim Security Wiki.

Operating system vendors have begun distributing patched packages:

  • OpenBSD ports updated via OpenBSD Ports Commit 584d2c49
  • NixOS package updates tracked in NixOS Pull Request #383926
  • SUSE tracking via SUSE Bug Report #1237424

Workarounds

  • Disable SQLite hints feature if not required for operations
  • Disable ETRN serialization functionality until patching is complete
  • Implement network-level access controls to limit SMTP access to trusted sources
  • Deploy application-layer filtering to block potential SQL injection payloads
text
# OpenBSD ports patch updating Exim to 4.98.1
# Source: https://github.com/openbsd/ports/commit/584d2c49addce9ca0ae67882cc16969104d7f82d

 COMMENT-main =		flexible mail transfer agent
 COMMENT-eximon =	X11 monitor tool for Exim MTA
 
-VERSION =		4.98
+VERSION =		4.98.1
 DISTNAME =		exim-${VERSION}
 PKGNAME-main =		exim-${VERSION}
 FULLPKGNAME-eximon =	exim-eximon-${VERSION}
 FULLPKGPATH-eximon =	${PKGPATH},-eximon
 
-REVISION =		0
-
 CATEGORIES =		mail
 
 HOMEPAGE =		https://www.exim.org/

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechExim

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability72.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • SUSE Bug Report #1237424

  • Exim Official Website

  • Exim Security Report 2025-12-09.1

  • NixOS Pull Request #383926

  • Openwall OSS-Security Discussion 2025-02-19

  • Openwall OSS-Security Discussion 2025-02-21

  • Openwall OSS-Security Discussion 2025-02-21
  • Vendor Resources
  • Exim Commit bfe32b5

  • GitHub Exim Security Wiki

  • OpenBSD Ports Commit 584d2c49

  • Exim CVE-2025-26794 Report
  • Related CVEs
  • CVE-2025-67896: Exim Buffer Overflow Vulnerability

  • CVE-2023-42116: Exim SMTP Buffer Overflow RCE Vulnerability

  • CVE-2023-42114: Exim NTLM Information Disclosure Flaw

  • CVE-2023-51766: Exim SMTP Smuggling Auth Bypass Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English