CVEvulnerability
CVE-2018-6789
CISA Known Exploited Vulnerability
Exim Buffer Overflow Vulnerability — Exim Exim
Exim contains a buffer overflow vulnerability in the base64d function part of the SMTP listener that may allow for remote code execution.
- Added to KEV
- 2021-11-03
- Remediation due
- 2022-05-03
- Ransomware use
- Known
- Required action
- Apply updates per vendor instructions.
- Notes
- https://nvd.nist.gov/vuln/detail/CVE-2018-6789
- Status
- Analyzed
- Published
- 2018-02-08
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-120
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.
Affected configurations
• exim exim (< 4.90.1)
• debian debian linux 7.0
• debian debian linux 8.0
• debian debian linux 9.0
• canonical ubuntu linux 14.04
• canonical ubuntu linux 16.04
• canonical ubuntu linux 17.10
Related
Weakness · CWE (1)
- CWE-120 Buffer Copy without Checking Size of Input weakness
References
- http://openwall.com/lists/oss-security/2018/02/10/2 Mailing List, Third Party Advisory
- http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html Exploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2018/02/07/2 Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/103049 Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040461 Broken Link, Third Party Advisory, VDB Entry
- https://devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/ Exploit, Third Party Advisory
- https://exim.org/static/doc/security/CVE-2018-6789.txt Vendor Advisory
- https://git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1 Patch
- https://lists.debian.org/debian-lts-announce/2018/02/msg00009.html Mailing List, Third Party Advisory
- https://usn.ubuntu.com/3565-1/ Third Party Advisory
- https://www.debian.org/security/2018/dsa-4110 Mailing List, Third Party Advisory
- https://www.exploit-db.com/exploits/44571/ Exploit, Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/45671/ Exploit, Third Party Advisory, VDB Entry
- http://openwall.com/lists/oss-security/2018/02/10/2 Mailing List, Third Party Advisory
- http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html Exploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2018/02/07/2 Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/103049 Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040461 Broken Link, Third Party Advisory, VDB Entry
- https://devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/ Exploit, Third Party Advisory
- https://exim.org/static/doc/security/CVE-2018-6789.txt Vendor Advisory
- https://git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1 Patch
- https://lists.debian.org/debian-lts-announce/2018/02/msg00009.html Mailing List, Third Party Advisory
- https://usn.ubuntu.com/3565-1/ Third Party Advisory
- https://www.debian.org/security/2018/dsa-4110 Mailing List, Third Party Advisory
- https://www.exploit-db.com/exploits/44571/ Exploit, Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/45671/ Exploit, Third Party Advisory, VDB Entry
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-6789 US Government Resource