An 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.
Loading...
Loading...
Score elevated to 9.8 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2021-11-03), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 9.8 retained for reference. Confidence: HIGH.
An 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.
February 8, 2018
November 7, 2025
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | eximon4 (4.86.2-2ubuntu2.3) @ xenial | 2026-06-04 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Every time one of our enrichment pipelines (NVD, MITRE cvelistV5, EPSS, CISA KEV, GHSA, OSV, vendor advisories) ran against this CVE. Most recent first.
Working exploit code is in the public domain (4 GitHub PoCs) (2 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
Exim < 4.90.1 RCE Vulnerability remake for Python3 with arguments passed from CLI
Open source ↗This repository provides a learning environment to understand how an Exim RCE exploit for CVE-2018-6789 works.
Open source ↗PoC materials to exploit CVE-2018-6789
Open source ↗exim 4.90 - Remote Code Execution
Open source ↗Exim < 4.90.1 - 'base64d' Remote Code Execution
Open source ↗See which npm, PyPI, Go, and Maven packages are affected by CVE-2018-6789
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.
ubuntu
CWE-119 · CWE-120