CVE-2018-6789

Summary

CVECVE-2018-6789
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-02-08 23:29:00 UTC
Updated2021-06-03 18:15:00 UTC
DescriptionAn issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1. By sending a handcrafted message, a buffer overflow may happen. This can be used to execute code remotely.

Risk And Classification

EPSS: 0.864390000 probability, percentile 0.994130000 (date 2026-04-17)

CISA KEV: Listed on 2021-11-03; due 2022-05-03; ransomware use Known

Problem Types: CWE-119

CISA Known Exploited Vulnerability

VendorExim
ProductExim
NameExim Buffer Overflow Vulnerability
Required ActionApply updates per vendor instructions.
Noteshttps://nvd.nist.gov/vuln/detail/CVE-2018-6789

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 17.10 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 17.10 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Exim Exim All All All All
Application Exim Exim All All All All

References

ReferenceSourceLinkTags
oss-security - Exim 4.90.1 released. (Was: CVE-2018-6789 Exim 4.90 and earlier: buffer overflow) CONFIRM openwall.com Mailing List, Third Party Advisory
[SECURITY] [DLA 1274-1] exim4 security update MLIST lists.debian.org Mailing List, Third Party Advisory
Exim base64d Buffer Overflow ≈ Packet Storm MISC packetstormsecurity.com
Exim 'base64d()' Function Buffer Overflow Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
oss-security - CVE-2018-6789 Exim 4.90 and earlier: buffer overflow MLIST www.openwall.com Mailing List, Third Party Advisory
Exim Buffer Overflow in base64d() Lets Remote Users Execute Arbitrary Code - SecurityTracker SECTRACK www.securitytracker.com Third Party Advisory, VDB Entry
USN-3565-1: Exim vulnerability | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
Exim Off-by-one RCE: Exploiting CVE-2018-6789 with Fully Mitigations Bypassing | DEVCORE MISC devco.re Technical Description, Third Party Advisory
git.exim.org Git - exim.git/commit CONFIRM git.exim.org Patch, Vendor Advisory
exim 4.90 - Remote Code Execution - Linux remote Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
Exim < 4.90.1 - 'base64d' Remote Code Execution - Linux remote Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
Debian -- Security Information -- DSA-4110-1 exim4 DEBIAN www.debian.org Third Party Advisory
exim.org/static/doc/security/CVE-2018-6789.txt CONFIRM exim.org Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
CISA Known Exploited Vulnerabilities catalog CISA www.cisa.gov kev

Legacy QID Mappings

  • 500887 Alpine Linux Security Update for exim
  • 504720 Alpine Linux Security Update for exim
  • 710286 Gentoo Linux Exim Multiple Vulnerabilities (GLSA 201803-01)
  • 750227 OpenSUSE Security Update for exim (openSUSE-SU-2021:0677-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report