Skip to content
Server Security Center
KEVhigh7.8

CVE-2010-4345: Exim Privilege Escalation

Exim · listed in the CISA catalog of actively exploited vulnerabilities since 2022-03-25.

CVSS v3.1 (CISA ADP)
7.8
high
EPSS (exploit probability, 30 days)
18%
higher than 97.2% of all CVEs
Added to CISA KEV
2022-03-25
US federal due date 2022-04-15
Automatable (CISA SSVC)
no
technical impact: total

CVE-2010-4345 explained

CVE-2010-4345 is a privilege escalation vulnerability in Exim, the mail transfer agent, on Linux. Local users can gain privileges because the exim user account can specify an alternate configuration file containing a directive with arbitrary commands, such as the spool_directory directive. CISA lists it as known to be exploited by attackers.

Impact

An attacker with local access and low privileges, specifically through the exim user account, can run arbitrary commands and gain elevated privileges. No user interaction is needed and attack complexity is low. Confidentiality, integrity and availability impacts are all high. CISA rates the technical impact as total, meaning full control of the affected component. CISA rates exploitation as not automatable. Attackers are known to exploit this vulnerability.

Who is affected

The description names Exim 4.72 and earlier as affected. The CVE record itself lists no structured affected versions. The CVE record names no fixed version. Check the vendor advisory to identify the release that contains the fix, and treat any Exim installation at 4.72 or earlier as vulnerable.

Written with AI from the data on this page and checked against it automatically.

Official description

Exim 4.72 and earlier allows local users to gain privileges by leveraging the ability of the exim user account to specify an alternate configuration file with a directive that contains arbitrary commands, as demonstrated by the spool_directory directive.

CISA required action: Apply updates per vendor instructions.

CISA notes

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: lists.exim.org/lurker/message/20101209.172233.abcba158.en…
  • CISA's deadline for US federal agencies: 2022-04-15 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Identify all systems running Exim and check their installed version.
  2. Apply updates per vendor instructions, as CISA requires, moving off Exim 4.72 and earlier.
  3. Restrict local shell access on mail servers to trusted administrators only.
  4. Review the exim user account and alternate configuration files for unexpected directives.
  5. Check affected hosts for signs of compromise, such as unexpected privileged processes or modified configuration.

The CVE record names no fixed version, but this does not mean none exists. Follow the vendor advisory to find the corrected Exim release and apply updates per vendor instructions, as CISA requires. Until updated, limit local access to mail servers, review Exim configuration files for unexpected commands, and monitor for privilege escalation attempts.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')

Questions about CVE-2010-4345

Is CVE-2010-4345 exploitable remotely?
According to the CVSS data, the attack vector is local. An attacker needs low-privileged local access, involving the exim user account, to gain elevated privileges.
Is this vulnerability being exploited?
Yes. CISA added CVE-2010-4345 to its Known Exploited Vulnerabilities catalog on 2022-03-25, with a US federal due date of 2022-04-15. Whether it is used in ransomware is unknown.
Which Exim versions are affected?
The description states Exim 4.72 and earlier are affected. The CVE record lists no structured version data and names no fixed version, so consult the vendor advisory.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.