Advisory Published
CVE Published
Updated

CVE-2019-15846

First published: Fri Sep 06 2019(Updated: )

Exim before 4.92.2 allows remote attackers to execute arbitrary code as root via a trailing backslash.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Exim Exim<4.92.2
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
ubuntu/exim4<4.90.1-1ubuntu1.4
4.90.1-1ubuntu1.4
ubuntu/exim4<4.92-4ubuntu1.3
4.92-4ubuntu1.3
ubuntu/exim4<4.82-3ubuntu2.4+
4.82-3ubuntu2.4+
ubuntu/exim4<4.86.2-2ubuntu2.5
4.86.2-2ubuntu2.5
debian/exim4
4.94.2-7+deb11u2
4.94.2-7+deb11u3
4.96-15+deb12u4
4.96-15+deb12u5
4.98-1

Remedy

Add - as part of the mail ACL (the ACL referenced by the main config option "acl_smtp_mail"): deny condition = ${if eq{\\}{${substr{-1}{1}{$tls_in_sni}}}} deny condition = ${if eq{\\}{${substr{-1}{1}{$tls_in_peerdn}}}}

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2019-15846?

    CVE-2019-15846 is a vulnerability in Exim, a popular mail transfer agent, that allows remote attackers to execute arbitrary code as root.

  • What is the severity of CVE-2019-15846?

    The severity of CVE-2019-15846 is critical with a CVSS score of 9.8.

  • Which software versions are affected by CVE-2019-15846?

    The affected software versions are Exim versions before 4.92.2.

  • How can I fix CVE-2019-15846?

    To fix CVE-2019-15846, you should update Exim to version 4.92.2 or higher.

  • Where can I find more information about CVE-2019-15846?

    You can find more information about CVE-2019-15846 on the following references: [1] http://exim.org/static/doc/security/CVE-2019-15846.txt [2] http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00024.html [3] http://www.openwall.com/lists/oss-security/2019/09/06/2

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203