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
| Vector | AV: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 👾
Related Identifiers
Affected Products
Alt Linux
Exim
Suse
Ubuntu