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-2020-28017

CVE-2020-28017: Exim Buffer Overflow Vulnerability

CVE-2020-28017 is an integer overflow to buffer overflow vulnerability in Exim mail server that can be triggered via messages with excessive recipients. This article covers technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-28017 Overview

CVE-2020-28017 is an Integer Overflow vulnerability in Exim mail transfer agent versions prior to 4.94.2 that can lead to a Buffer Overflow condition. The vulnerability exists in the receive_add_recipient function and can be triggered via an e-mail message with an extremely large number of recipients (approximately fifty million). While the vulnerability is remotely exploitable over the network without authentication, practical exploitation may be difficult due to the significant resource consumption required to trigger the condition.

Critical Impact

This Integer Overflow to Buffer Overflow vulnerability in Exim's recipient handling could potentially allow remote attackers to execute arbitrary code or cause denial of service on vulnerable mail servers.

Affected Products

  • Exim versions before 4.94.2

Discovery Timeline

  • 2021-05-06 - CVE-2020-28017 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-28017

Vulnerability Analysis

This vulnerability is classified as CWE-190 (Integer Overflow or Wraparound). The flaw resides in Exim's receive_add_recipient function, which handles the processing of email recipients during message reception. When an attacker sends an email with an extraordinarily large number of recipients (approximately fifty million), an integer overflow condition occurs during recipient counting or memory allocation calculations.

The integer overflow subsequently leads to a buffer overflow condition, where insufficient memory is allocated to hold the recipient data. This memory corruption can potentially be leveraged for arbitrary code execution, though the practical exploitation difficulty is noted due to the extreme resource requirements needed to deliver fifty million recipients to trigger the vulnerability.

Root Cause

The root cause is improper handling of integer arithmetic when processing recipient counts in the receive_add_recipient function. The code fails to properly validate or check for integer overflow conditions when calculating buffer sizes or recipient counts, allowing values to wrap around and result in undersized buffer allocations.

Attack Vector

The attack is conducted over the network (SMTP protocol) without requiring authentication or user interaction. An attacker would need to:

  1. Establish an SMTP connection to a vulnerable Exim server
  2. Construct a specially crafted email message with approximately fifty million recipients
  3. Transmit this message to trigger the integer overflow condition in receive_add_recipient
  4. The integer overflow leads to buffer overflow, potentially enabling code execution or denial of service

The attack complexity is considered low from a technical standpoint, though the practical requirements of transmitting such a large message present challenges. For detailed technical analysis, refer to the Exim Security Advisory CVE-2020-28017.

Detection Methods for CVE-2020-28017

Indicators of Compromise

  • Unusually large SMTP sessions with excessive RCPT TO commands
  • Abnormal memory consumption on Exim mail server processes
  • Exim process crashes or unexpected restarts potentially indicating exploitation attempts
  • Log entries showing rejected messages with extremely high recipient counts

Detection Strategies

  • Monitor SMTP traffic for sessions with abnormally high recipient counts (threshold alerting for messages exceeding reasonable recipient limits)
  • Implement rate limiting on RCPT TO commands per session to detect and block abuse
  • Deploy network intrusion detection signatures targeting excessive SMTP recipient enumeration patterns
  • Audit Exim version information across infrastructure to identify vulnerable installations

Monitoring Recommendations

  • Enable verbose SMTP logging to capture recipient counts per message
  • Configure alerting for Exim process memory usage anomalies
  • Monitor for Exim service crashes or unexpected restarts that may indicate exploitation attempts
  • Track SMTP connection duration and command counts for statistical anomaly detection

How to Mitigate CVE-2020-28017

Immediate Actions Required

  • Upgrade Exim to version 4.94.2 or later immediately
  • Review and implement recipient limits in Exim configuration to restrict maximum recipients per message
  • Consider deploying network-level controls to rate-limit SMTP traffic
  • Audit systems for evidence of exploitation attempts in mail logs

Patch Information

The vulnerability has been addressed in Exim version 4.94.2 and later releases. Organizations should upgrade to the latest stable version of Exim to remediate this vulnerability. Additional details and technical analysis are available in the Exim Security Advisory CVE-2020-28017.

Workarounds

  • Configure Exim's recipients_max option to enforce a reasonable limit on recipients per message
  • Implement SMTP-level rate limiting to restrict the number of RCPT TO commands per connection
  • Deploy upstream firewall or mail gateway rules to drop connections exhibiting abnormal recipient patterns
  • Consider running Exim in a sandboxed or containerized environment to limit potential impact
bash
# Exim configuration example - Add to exim.conf
# Limit maximum recipients per message to prevent exploitation
recipients_max = 100

# Enable stricter SMTP controls
smtp_accept_max_per_host = 10
smtp_receive_timeout = 5m

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechExim

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability5.00%

  • 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-190
  • Vendor Resources
  • Exim Security Advisory CVE-2020-28017
  • Related CVEs
  • CVE-2025-67896: Exim Buffer Overflow Vulnerability

  • CVE-2022-37452: 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