CVE-2018-6789

CRITICAL CVSS 3.1: 9.8 EPSS 82.1% ACTIVE EXPLOIT
Updated Jun 17, 2026
Canonical

CISA Known Exploited Vulnerability (KEV)

This vulnerability is actively exploited in the wild. Immediate patching is strongly recommended.

Due Date: May 03, 2022

Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions before 4.90.1
Fixed In 4.90.1
Type CWE-120 (Buffer Copy without Checking Size)
Vendor Canonical
Public PoC Yes

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 7

Configuration From (including) Up to (excluding)
Exim Exim
cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:*
— 4.90.1
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
— —