CVE-2020-28010
Exim vulnerability analysis and mitigation

Overview

CVE-2020-28010 affects Exim 4 versions before 4.94.2. The vulnerability is an Out-of-bounds Write issue that occurs when the main function, while running with setuid root privileges, attempts to copy the current working directory pathname into a buffer that is too small on some common platforms (NVD, CVE).

Technical details

The vulnerability stems from a code change introduced in Exim 4.92 where the main function copies the current working directory (initialcwd) into a heap-based bigbuffer. While the strncpy() operation itself cannot overflow bigbuffer, on Linux systems initialcwd can exceed bigbuffersize (16KB), leading to potential out-of-bounds writes. The issue occurs because the pointer arithmetic can increase p past big_buffer's end, resulting in writes beyond the buffer's bounds (Qualys Advisory). The vulnerability has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow an unprivileged local attacker to obtain full root privileges on affected systems. This is particularly severe as Exim runs with setuid root privileges, meaning a successful exploit could lead to complete system compromise (Qualys Advisory).

Mitigation and workarounds

The vulnerability was fixed in Exim version 4.94.2. System administrators are advised to upgrade to this version or later to mitigate the risk. The fix addresses the underlying issue with the buffer handling in the main function (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-2023-42118HIGH8.8
  • EximExim
  • libspf2
NoYesMay 03, 2024
CVE-2025-30232HIGH7.8
  • EximExim
  • exim-clamav
NoYesMar 28, 2025
CVE-2024-39929MEDIUM5.4
  • EximExim
  • exim-mysql
NoYesJul 04, 2024
CVE-2023-42119LOW3.1
  • EximExim
  • exim4
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