CVE-2020-28015
Exim vulnerability analysis and mitigation

Overview

CVE-2020-28015 is a local privilege escalation vulnerability in Exim mail server versions before 4.94.2. The vulnerability allows local users to alter the behavior of root processes by injecting newline characters into recipient addresses, which can lead to improper neutralization of line delimiters (Exim Doc, NVD).

Technical details

The vulnerability exists in Exim's spool header file handling mechanism. When Exim receives a mail, it creates two files in the input subdirectory of its spool directory: a data file containing the mail body and a header file containing headers and metadata. An unprivileged local attacker can send mail to a recipient whose address contains '\n' characters, allowing them to inject new lines into the spool header file and manipulate Exim's behavior (Exim Doc).

Impact

The vulnerability allows local users to escalate privileges to root when deliverdropprivilege is set to false (the default configuration). By exploiting this vulnerability, attackers can execute arbitrary commands with root privileges, potentially leading to complete system compromise (Exim Doc).

Mitigation and workarounds

The vulnerability was fixed in Exim version 4.94.2. Users are strongly advised to upgrade to this version or later. Multiple Linux distributions have released security updates to address this vulnerability, including Debian and Ubuntu (Debian Tracker, Ubuntu Notice).

Additional resources


SourceThis report was generated using AI

Related Exim vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26794CRITICAL9.8
  • EximExim
  • exim4
NoYesFeb 21, 2025
CVE-2023-42118HIGH8.8
  • EximExim
  • perl-Mail-SPF_XS-debuginfo
NoYesMay 03, 2024
CVE-2025-30232HIGH7.8
  • EximExim
  • exim-mon
NoYesMar 28, 2025
CVE-2024-39929MEDIUM5.4
  • EximExim
  • eximstats-html
NoYesJul 04, 2024
CVE-2023-42119LOW3.1
  • EximExim
  • eximon
NoYesMay 03, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management