14/11/2026

Ubuntu Bionic patches arbitrary code execution flaw in SA-Exim

CVE-2019-19920

Ubuntu has patched CVE-2019-19920 in SA-Exim on Ubuntu Bionic. The flaw could allow arbitrary code execution when an attacker can write SpamAssassin configuration or rule files; the fixed package is available in the esm-apps pocket.

Ubuntu Bionic patches arbitrary code execution flaw in SA-Exim

At a glance

  • Ubuntu patched CVE-2019-19920 in SA-Exim on Ubuntu Bionic.
  • The flaw could allow arbitrary code execution if an attacker can write SpamAssassin configuration or rule files.
  • The fixed package is sa-exim 4.2.1-16ubuntu0.1~esm1 in the esm-apps pocket.
  • Prioritize updates on Bionic systems matching the stated file-write condition.
In this article

Ubuntu published an advisory for CVE-2019-19920 in SA-Exim on Ubuntu Bionic. The fix is available in the esm-apps pocket; administrators should check the package version and service status before updating. View Ubuntu advisory USN-9086-1.

Overview and technical details

SA-Exim integrates Exim with SpamAssassin to process spam. Ubuntu reports that SA-Exim does not safely evaluate parameters of SpamAssassin greylisting rules.

FieldDetails
ProductSA-Exim
VulnerabilityCVE-2019-19920
SourceUbuntu USN-9086-1

Affected systems

ProductAffected versionFixed version
Ubuntu Bionic, sa-exim packageVersions earlier than 4.2.1-16ubuntu0.1~esm14.2.1-16ubuntu0.1~esm1 in the esm-apps pocket

Mechanism and impact

An attacker who can write SpamAssassin configuration or rule files could exploit unsafe handling of greylisting parameters to execute arbitrary code. The ability to write these files is a relevant condition when prioritizing updates.

System checks

  1. Check the installed sa-exim version. The comparison command returns success if the installed version is earlier than the fixed version.

    dpkg-query -W -f='${Version}\n' sa-exim
    dpkg --compare-versions "$(dpkg-query -W -f='${Version}' sa-exim)" lt 4.2.1-16ubuntu0.1~esm1
  2. Check Ubuntu Pro status to confirm access to the esm-apps pocket.

    pro status

Remediation and mitigation

  1. Perform a standard system update to apply the necessary changes. The fixed sa-exim version for Ubuntu Bionic is 4.2.1-16ubuntu0.1~esm1 in the esm-apps pocket.

  2. Prioritize updates on systems where untrusted users can write SpamAssassin configuration or rule files.

References