CVE-2019-10149: Remote Command Execution in Exim 4.87–4.91
- Vendors
- Debian ProjectEximCanonical
CVE-2019-10149 is an OS command injection vulnerability affecting Exim versions 4.87 through 4.91 inclusive. Improper validation of recipient addresses in deliver_message() allows attacker-controlled input to trigger arbitrary command execution through execv(), potentially with root privileges. Local exploitation is immediately possible, while remote exploitation depends on the server configuration and exploitation method. The flaw has been actively exploited by state-sponsored actors and cryptomining malware, including WatchBog, and is listed in CISA's Known Exploited Vulnerabilities catalog.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can result in complete compromise of the mail server through arbitrary command execution as root. This permits access to mail, credentials, and other sensitive information; modification or destruction of system data; installation of malware and persistent access mechanisms; and use of the server for subsequent network attacks. Observed exploitation has included cryptomining infections and persistent root access through SSH.
Mitigation
If you can’t patch tonight, do this now.
Until the security update is installed, restrict network access to the Exim SMTP service wherever operationally feasible and monitor for suspicious activity. Isolate internet-facing mail services in a segmented environment with robust logging to limit downstream exposure. Network restrictions do not address exploitation by an attacker who already has local access and are not a substitute for patching.
Remediation
Patch, then assume compromise.
Upgrade to a supported Exim release containing the fix, first included in Exim 4.92, or install the operating-system vendor's backported security update. For Debian stretch, the fixed exim4 package is 4.89-2+deb9u4 or later. Update affected cPanel-managed installations through the vendor's supported update mechanism. Because exploitation is established, inspect affected servers for compromise, including backdoors and unauthorized SSH keys; patching alone does not remove existing attacker access.
Exploits
11 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2019-10149 exploited in the wild?
- Yes. As of Oct 27, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jan 10, 2022.
- Is there a public exploit for CVE-2019-10149?
- Yes. Mallory tracks 11 public exploits or proofs of concept for CVE-2019-10149, the earliest disclosed Jun 5, 2019.
- Is there a patch for CVE-2019-10149?
- Upgrade to a supported Exim release containing the fix, first included in Exim 4.92, or install the operating-system vendor's backported security update. For Debian stretch, the fixed exim4 package is 4.89-2+deb9u4 or later.
- What products are affected by CVE-2019-10149?
- Exim, Debian Project Debian Linux, and Canonical Ubuntu Linux.
- How severe is CVE-2019-10149?
- CVE-2019-10149 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 100.0% (100th percentile) as of Oct 27, 2026.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.