Skip to content
Server Security Center
KEVcritical9.8

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

Exim Mail Transfer Agent (MTA) · listed in the CISA catalog of actively exploited vulnerabilities since 2022-01-10.

CVSS v3.1 (CVE record)
9.8
critical
EPSS (exploit probability, 30 days)
>99.9%
among the highest 0.1% of all CVEs
Added to CISA KEV
2022-01-10
US federal due date 2022-07-10
Ubuntu priority
medium

CVE-2019-10149 explained

CVE-2019-10149 is an improper input validation flaw in the Exim Mail Transfer Agent, versions 4.87 to 4.91 inclusive. Improper validation of the recipient address in the deliver_message() function may lead to remote command execution. CISA lists it as a known exploited vulnerability, so affected mail servers should be patched promptly.

Impact

According to the CVSS components, an attacker can exploit this flaw over the network with low complexity, without privileges and without user interaction. Successful exploitation may lead to remote command execution on the mail server. This can cause a high impact on confidentiality, integrity and availability of the affected system. CISA has added the flaw to its catalog of known exploited vulnerabilities. Known ransomware use is listed as unknown.

Who is affected

The facts list one affected release: Ubuntu 18.04 LTS, source package exim4. A fixed version, 4.90.1-1ubuntu1.2, is published in the standard archive. Standard support for Ubuntu 18.04 LTS has ended, and further fixes for that release are only available with Ubuntu Pro (ESM). The upstream description covers Exim versions 4.87 to 4.91 inclusive.

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

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.

CISA required action: Apply updates per vendor instructions.

CISA notes

Upstream versions (CVE record)

From the CVE record published by the vendor or CVE numbering authority.

  • exim
    Affected
    • 4.92
    Fixed in
    not stated

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

What to do

  1. Check whether exim4 is installed on your Ubuntu 18.04 LTS systems and which version is running.
  2. Update exim4 to 4.90.1-1ubuntu1.2 or later from the standard archive.
  3. Restart the Exim service so it stops running the old code.
  4. Enable Ubuntu Pro (ESM) or upgrade to a supported release to keep receiving security fixes for 18.04 systems.
  5. Review mail servers for signs of compromise, since this flaw is known to be exploited.

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

Check and fix on a server

Run on each Ubuntu or Debian server. Replace exim4 with the source package from the table above.

1. Show installed packages built from the source package, with their versions

dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="exim4"'

2. Compare each installed version with the fixed version for your release from the table

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the fix

sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="exim4"{print $1}')

Services keep running the old code until they are restarted – restart the affected service or check with needrestart.

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-78

Questions about CVE-2019-10149

Is CVE-2019-10149 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-01-10. The required action is to apply updates per vendor instructions. Known ransomware use is listed as unknown.
Which package version fixes it on Ubuntu 18.04 LTS?
The fixed version of exim4 for Ubuntu 18.04 LTS is 4.90.1-1ubuntu1.2, published in the standard archive. Restart Exim after updating.
Why does Ubuntu rate it medium when the CVSS severity is critical?
The CVSS score from the CVE record rates it critical, while Ubuntu assigns a priority of medium. The facts do not explain the difference. Given the active exploitation, treat the update as urgent.

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-21. Always confirm with the vendor's or distribution's advisory before patching.