Remote code execution in Exim

Published: 2019-06-05
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-10149
Exploitation vector Network
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
Server applications / Mail servers

Vendor Exim

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU18686

Risk: High


CVE-ID: CVE-2019-10149


Exploit availability:


The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to insufficient validation of email address within the deliver_message() function in /src/deliver.c. A remote unauthenticated attacker can send an email containing a specially crafted email address and execute arbitrary OS commands on the target system via execv() call with superuser privileges.

This vulnerability can be also exploited by authenticated local users to escalate privileges on the system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Install updates from vendor's website.

Vulnerable software versions

Exim: 4.87 - 4.91

Fixed software versions

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?