PT-2018-1057 · Exim+3 · Exim+3

Hackk.Gr

·

Published

2018-02-05

·

Updated

2025-08-04

·

CVE-2018-6789

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Exim versions prior to 4.90.1
Description An issue in the base64d function in the SMTP listener of Exim can cause a buffer overflow when processing handcrafted messages. This can be exploited to execute code remotely. The vulnerability is triggered by sending specially crafted data in the AUTH command and manipulating the sender's hostname in the EHLO command. The issue arises when handling data with a size not divisible by 4.
Recommendations For versions prior to 4.90.1, update to version 4.90.1 or later to resolve the issue. As a temporary workaround, consider restricting access to the SMTP listener or disabling the base64d function until a patch is applied. Avoid using the AUTH command with untrusted input and restrict manipulation of the sender's hostname in the EHLO command to minimize the risk of exploitation.

Exploit

Fix

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2018-1409
ALT-PU-2020-2318
ALT-PU-2021-1764
ALT-PU-2022-2269
BDU:2018-00395
CVE-2018-6789
DLA-1274-1
DSA-4110-1
OPENSUSE-SU-2018_0468-1
OPENSUSE-SU-2021:0677-1
OPENSUSE-SU-2021:0753-1
OPENSUSE-SU-2021:0754-1
OPENSUSE-SU-2021_0677-1
OPENSUSE-SU-2024:10746-1
USN-3565-1

Affected Products

Alt Linux
Exim
Suse
Ubuntu