CVE-2019-10149 Exim Mail Transfer Agent (MTA) Improper Input Validation

Exploited in the wild Critical 9.0 Published Updated

Remote attackers can execute arbitrary commands on Exim mail servers due to improper validation of recipient addresses.

Exploited in the wild
Since 10 Jan 2022
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-10149?

CVE-2019-10149 is a critical command injection vulnerability in Canonical Ubuntu Linux, published on 5 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in Exim versions 4.87 to 4.91 (inclusive). Improper validation of recipient address in deliver_message() function in /src/deliver.c may lead to remote command execution.

Weakness: CWE-78

Which versions are affected by CVE-2019-10149?

It affects 3 products.

Linux distribution packages (2)
exim openSUSE:Leap 15.0All versions4.88-lp151.4.3.1
exim openSUSE:Leap 15.1All versions4.88-lp151.4.3.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Exim Exim.

How do I fix CVE-2019-10149?

Apply the vendor's patch. US federal agencies must fix it by 10 Jul 2022.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2019-10149 being exploited?

Yes. Attackers have exploited CVE-2019-10149 in the wild since at least 10 Jan 2022.

Public exploit code: 1 Metasploit module, 4 Exploit-DB entries and 19 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as CLEANSTART-2025-SL34234, DEBIAN-CVE-2019-10149, DSA-4456-1, GHSA-5r7w-xvrp-rg22, UBUNTU-CVE-2019-10149, USN-4010-1 and 1 more.

Is CVE-2019-10149 in your software?

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

Check your SBOMs for free