CVE-2020-28008
Exim vulnerability analysis and mitigation

Overview

Exim 4 before 4.94.2 contains a privilege escalation vulnerability identified as CVE-2020-28008. The vulnerability exists because Exim operates as root in the spool directory (owned by a non-root user), allowing an attacker to write to a /var/spool/exim4/input spool header file, where a crafted recipient address can indirectly lead to command execution (Vendor Advisory, NVD).

Technical details

The vulnerability stems from Exim's operational model where it runs with root privileges in a spool directory owned by a non-root user. This creates a security issue where an attacker with 'exim' user privileges can manipulate files in the spool directory. The vulnerability has a CVSS v3.1 Base Score of 7.8 HIGH (Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) and is classified under CWE-269 (Improper Privilege Management) (NVD).

Impact

The vulnerability allows an attacker who has obtained the privileges of the 'exim' user to escalate to full root privileges. This can be achieved through various attack vectors, including direct writing to spool header files and manipulation of files in the spool directory (Vendor Advisory).

Mitigation and workarounds

The vulnerability was fixed in Exim version 4.94.2. Organizations should upgrade to this version or later to mitigate the risk. The fix prevents the privilege escalation attack vector in the spool directory (NVD).

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-2025-30232HIGH7.8
  • EximExim
  • exim-pgsql-debuginfo
NoYesMar 28, 2025
CVE-2025-53881MEDIUM6.9
  • EximExim
  • exim
NoYesOct 02, 2025
CVE-2025-67896MEDIUM6.4
  • EximExim
  • cpe:2.3:a:exim:exim
NoYesDec 14, 2025
CVE-2024-39929MEDIUM5.4
  • EximExim
  • exim
NoYesJul 04, 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