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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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, impact, and mitigation steps.

Updated: May 15, 2026

CVE-2023-42119 Overview

CVE-2023-42119 is an out-of-bounds read vulnerability [CWE-125] in the Exim mail transfer agent. The flaw resides in the dnsdb lookup component used by the SMTP service that listens on TCP port 25. Network-adjacent attackers can exploit the issue without authentication to disclose sensitive memory contents from the Exim process. The vulnerability was reported through the Zero Day Initiative as ZDI-CAN-17643 and published as ZDI-23-1473.

Critical Impact

Unauthenticated network-adjacent attackers can read memory beyond an allocated buffer in the Exim SMTP service and chain this primitive with other vulnerabilities to execute arbitrary code in the context of the service account.

Affected Products

  • Exim mail transfer agent (all versions prior to the fixed release)
  • Debian LTS distributions packaging vulnerable Exim builds
  • Linux mail server deployments exposing Exim SMTP on TCP/25

Discovery Timeline

  • 2024-05-03 - CVE-2023-42119 published to the National Vulnerability Database
  • 2024-10 - Debian LTS issues security announcement for affected Exim packages
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2023-42119

Vulnerability Analysis

The vulnerability exists in the dnsdb lookup mechanism inside the Exim SMTP service. Exim processes attacker-influenced DNS data without correctly validating buffer boundaries before reading from memory. As a result, the parser reads past the end of an allocated heap buffer.

The primitive yields information disclosure on its own. Attackers can combine the leaked memory contents with a separate memory corruption flaw to defeat address space layout randomization and achieve arbitrary code execution as the Exim service user. The vulnerability is classified under [CWE-125] Out-of-Bounds Read.

The issue carries an EPSS probability of 0.731% at the 72.869 percentile, indicating moderate community interest relative to other published CVEs. No public proof-of-concept has been observed, and CISA has not added the CVE to the Known Exploited Vulnerabilities catalog.

Root Cause

The root cause is missing or insufficient bounds validation on user-supplied data processed by the dnsdb lookup. Exim trusts size or length metadata derived from network input when computing read offsets, allowing reads to extend past the allocated buffer boundary into adjacent heap memory.

Attack Vector

Exploitation requires network adjacency to a host running a vulnerable Exim instance with SMTP exposed on TCP port 25. The attacker connects to the SMTP service and submits crafted input that triggers a dnsdb lookup, causing the out-of-bounds read. Authentication is not required. Successful exploitation returns memory contents that can include credentials, configuration data, or pointers useful for chaining with a second vulnerability.

No verified public exploit code is available. Refer to the Zero Day Initiative Advisory ZDI-23-1473 for additional technical context.

Detection Methods for CVE-2023-42119

Indicators of Compromise

  • Unexpected SMTP sessions originating from adjacent network segments targeting TCP/25 on Exim hosts.
  • Exim process crashes, segmentation faults, or abnormal restarts recorded in mainlog or paniclog.
  • Anomalous dnsdb lookup activity or malformed DNS-style query strings in Exim logs.

Detection Strategies

  • Inspect Exim logs in /var/log/exim4/ or /var/spool/exim/log/ for repeated parser errors and abnormal termination events.
  • Deploy network intrusion detection signatures targeting malformed SMTP payloads that invoke dnsdb lookups.
  • Correlate SMTP connection patterns with process telemetry to identify probing followed by crashes.

Monitoring Recommendations

  • Forward Exim logs and host telemetry to a centralized SIEM for correlation against SMTP traffic.
  • Baseline normal SMTP connection volume and alert on bursts from internal or adjacent network ranges.
  • Monitor for Exim worker processes consuming unusual memory or terminating unexpectedly.

How to Mitigate CVE-2023-42119

Immediate Actions Required

  • Apply vendor-supplied Exim updates from your distribution maintainer without delay.
  • Restrict TCP/25 access to trusted networks using host or perimeter firewall rules.
  • Audit Exim configuration for unnecessary use of dnsdb lookups in ACLs and routers.

Patch Information

Debian LTS issued package updates documented in the Debian LTS Security Announcement. Administrators running upstream Exim should upgrade to the fixed release referenced in the Zero Day Initiative Advisory ZDI-23-1473. Verify package versions after upgrade with exim -bV and confirm the running binary matches the patched build.

Workarounds

  • Disable or remove dnsdb lookups from Exim configuration files where operationally feasible.
  • Limit inbound SMTP exposure to authenticated relays or trusted upstream mail gateways.
  • Run Exim under a least-privilege service account with mandatory access controls such as AppArmor or SELinux.
bash
# Verify installed Exim version and confirm patched build
exim -bV

# Restrict SMTP exposure with iptables to a trusted CIDR
iptables -A INPUT -p tcp --dport 25 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j DROP

# Search Exim configuration for dnsdb usage
grep -RIn 'dnsdb' /etc/exim4/ /etc/exim/

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-2026-45185: Exim Use-After-Free Vulnerability

  • CVE-2025-67896: Exim Buffer Overflow Vulnerability

  • CVE-2025-26794: Exim Mail Server SQLi Vulnerability
Default Legacy - Prefooter | 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