CVE-2020-28010 Memory corruption in n/a

High 7.8 Published Updated

A local attacker can exploit an out-of-bounds write in Exim's setuid root main function to execute arbitrary code with root privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-28010?

CVE-2020-28010 is a high-severity memory corruption vulnerability in Exim Exim, published on 6 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Exim 4 before 4.94.2 allows Out-of-bounds Write because the main function, while setuid root, copies the current working directory pathname into a buffer that is too small (on some common platforms).

Weakness: CWE-787

Which versions are affected by CVE-2020-28010?

It affects 1 product.

Products include Exim Exim.

How do I fix CVE-2020-28010?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-28010 being exploited?

There is no known exploitation of CVE-2020-28010 in the wild and no public exploit code.

All Exim Exim vulnerabilities

Sources

Also known as CLEANSTART-2025-BU86059, DEBIAN-CVE-2020-28010, GHSA-w3gp-2mmc-9mvh, UBUNTU-CVE-2020-28010.

Is CVE-2020-28010 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free