Exim · Exim · CWE-119 · published 2018-02-08
CVE-2018-6789Exim Buffer Overflow Vulnerability
Patch today Known exploited and used in ransomware campaigns.
CVE-2018-6789 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2021-11-03, and it is known to be used in ransomware campaigns. EPSS estimates an 82.1% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This Exim vulnerability: CVSS 9.8 (v3.1), attacks can be automated, a successful attack gives total control of the component. Patched packages are out for Debian and Ubuntu. US federal agencies must remediate by 2022-05-03. Patch today.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA required action: Apply updates per vendor instructions. (federal due date 2022-05-03)
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | exim4 | Fixed in 4.90.1-1 |
| 12 bookworm | exim4 | Fixed in 4.90.1-1 | |
| Ubuntu | 16.04 LTS | exim4 | Fixed in 4.86.2-2ubuntu2.3 |
| 14.04 LTS | exim4 | Fixed in 4.82-3ubuntu2.4 | |
| Red Hat Enterprise Linux | RHEL 5 | exim | Won’t fix |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
Mail & collaborationExim
Buffer OverflowCVE-2018-6789
Why: Known exploited and used in ransomware campaigns.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2021-11-03 | CISA KEV |
| Ransomware use | Known | CISA KEV |
| EPSS (30-day exploitation probability) | 82% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 9.8 (v3.1)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
More from this vendor: all Exim vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- Product
n/a(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.