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-2023-42119

CVE-2023-42119: Exim dnsdb Information Disclosure Flaw

CVE-2023-42119 is an out-of-bounds read flaw in Exim's dnsdb that enables attackers to disclose sensitive information. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 4, 2026

CVE-2023-42119 Overview

CVE-2023-42119 is an out-of-bounds read vulnerability in Exim's dnsdb lookup functionality that enables network-adjacent attackers to disclose sensitive information from affected mail server installations. The vulnerability does not require authentication to exploit, making it accessible to any attacker with network adjacency to the target system.

The specific flaw exists within the SMTP service, which listens on TCP port 25 by default. The issue results from the lack of proper validation of user-supplied data, which can result in a read past the end of an allocated buffer. An attacker can leverage this vulnerability in conjunction with other vulnerabilities to potentially execute arbitrary code in the context of the service account.

Critical Impact

Network-adjacent attackers can exploit this out-of-bounds read vulnerability to disclose sensitive information from Exim mail servers without authentication, potentially chaining with other vulnerabilities for code execution.

Affected Products

  • Exim Mail Transfer Agent (all versions prior to patch)
  • Systems running SMTP service on TCP port 25
  • Linux distributions using Exim as the default MTA (including Debian)

Discovery Timeline

  • 2024-05-03 - CVE-2023-42119 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2023-42119

Vulnerability Analysis

This vulnerability is classified as CWE-125 (Out-of-Bounds Read), a memory corruption issue that occurs when the software reads data beyond the boundaries of an allocated memory buffer. In Exim's case, the flaw manifests in the dnsdb lookup mechanism, which handles DNS-related queries within the mail transfer agent.

The vulnerability requires network adjacency to exploit, meaning an attacker must be on the same network segment or have a position that allows them to interact directly with the vulnerable SMTP service. While no authentication is required, the attack complexity is high due to the specific conditions needed for successful exploitation.

The information disclosure aspect of this vulnerability could expose sensitive memory contents, which may include configuration data, authentication tokens, or other privileged information processed by the mail server. When chained with additional vulnerabilities, this information leak could facilitate more severe attacks including arbitrary code execution within the service account context.

Root Cause

The root cause of CVE-2023-42119 is improper validation of user-supplied data within the dnsdb lookup functionality. The code fails to perform adequate boundary checks before reading from memory buffers, allowing read operations to extend beyond allocated buffer limits. This lack of bounds checking is a common pattern in C-based applications where manual memory management is required.

Attack Vector

The attack vector is Adjacent Network, requiring the attacker to have network-level access to the target Exim server. The attacker sends specially crafted requests to the SMTP service on TCP port 25, targeting the dnsdb lookup functionality. By manipulating input parameters, the attacker can trigger an out-of-bounds read condition that returns memory contents beyond the intended buffer boundaries.

The disclosed information could include adjacent memory structures, potentially revealing sensitive data that the service processes. This vulnerability is particularly concerning when combined with other flaws, as the leaked information could provide the necessary primitives for developing a complete exploitation chain leading to code execution.

Detection Methods for CVE-2023-42119

Indicators of Compromise

  • Unusual or malformed DNS lookup queries in Exim logs targeting the dnsdb functionality
  • Anomalous SMTP traffic patterns from network-adjacent hosts
  • Memory access violations or crashes in the Exim service
  • Unexpected information in SMTP responses that may indicate memory disclosure

Detection Strategies

  • Monitor Exim logs for unusual dnsdb lookup patterns or errors
  • Deploy network intrusion detection rules to identify malformed SMTP requests targeting port 25
  • Implement memory protection mechanisms that can detect out-of-bounds read attempts
  • Use SentinelOne's behavioral analysis to identify exploitation attempts against mail services

Monitoring Recommendations

  • Enable verbose logging for Exim's DNS lookup functionality
  • Monitor network traffic for suspicious activity originating from adjacent network segments
  • Implement alerting for repeated connection attempts to SMTP services from unusual sources
  • Review Exim service health and crash reports for potential exploitation indicators

How to Mitigate CVE-2023-42119

Immediate Actions Required

  • Update Exim to the latest patched version available from your distribution
  • Restrict network access to SMTP services from untrusted network segments
  • Implement network segmentation to limit adjacent network attack surface
  • Review and harden Exim configuration to disable unnecessary features

Patch Information

Security patches addressing CVE-2023-42119 are available through distribution-specific channels. Debian has released a security announcement for Long Term Support versions. Administrators should consult the Zero Day Initiative Advisory ZDI-23-1473 for detailed vulnerability information and the Debian LTS Security Announcement for patch availability on Debian systems.

Organizations should prioritize updating their Exim installations through their standard package management systems and verify the patch has been successfully applied.

Workarounds

  • Implement strict firewall rules to limit SMTP access to only trusted network segments
  • Use network segmentation to isolate mail servers from potentially hostile adjacent networks
  • Consider disabling dnsdb lookups if not required for your mail configuration
  • Deploy a Web Application Firewall or mail security gateway in front of Exim servers
bash
# Configuration example - Restrict SMTP access via iptables
# Limit SMTP connections to specific trusted network ranges
iptables -A INPUT -p tcp --dport 25 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j DROP

# Verify Exim version after patching
exim -bV | grep version

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechExim

  • SeverityLOW

  • CVSS Score3.1

  • EPSS Probability0.73%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-125
  • Technical References
  • Zero Day Initiative Advisory ZDI-23-1473

  • Debian LTS Security Announcement
  • Related CVEs
  • CVE-2023-42114: Exim NTLM Information Disclosure Flaw

  • CVE-2025-67896: Exim Buffer Overflow Vulnerability

  • CVE-2025-26794: Exim Mail Server SQLi Vulnerability

  • CVE-2023-42116: Exim SMTP Buffer Overflow RCE Vulnerability
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