CVE-2018-6789
- State
- Published
- Severity
- 9.8 Critical
- Published
- Feb 8, 2018
- Updated
- Oct 21, 2025
- Reserved
- Feb 6, 2018
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://exim.org/static/doc/security/CVE-2018-6789.txt
- [oss-security] 20180207 CVE-2018-6789 Exim 4.90 and earlier: buffer overflowmailing-list
- USN-3565-1vendor-advisory
- http://openwall.com/lists/oss-security/2018/02/10/2
- 1040461vdb-entry
- DSA-4110vendor-advisory
- 44571exploit
- [debian-lts-announce] 20180210 [SECURITY] [DLA 1274-1] exim4 security updatemailing-list
- https://git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1
- https://devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/
- 103049vdb-entry
- 45671exploit
- http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-6789government-resource
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.