{"id":"CVE-2018-6789","state":"PUBLISHED","title":"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 exec","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.","publishedAt":"2018-02-08T23:00:00.000Z","updatedAt":"2025-10-21T23:45:56.260Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://exim.org/static/doc/security/CVE-2018-6789.txt","http://www.openwall.com/lists/oss-security/2018/02/07/2","https://usn.ubuntu.com/3565-1/","http://openwall.com/lists/oss-security/2018/02/10/2","http://www.securitytracker.com/id/1040461","https://www.debian.org/security/2018/dsa-4110","https://www.exploit-db.com/exploits/44571/","https://lists.debian.org/debian-lts-announce/2018/02/msg00009.html","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/","http://www.securityfocus.com/bid/103049","https://www.exploit-db.com/exploits/45671/","http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-6789"],"weaknesses":["CWE-120"],"ingestedAt":"2026-10-29T19:44:58.277Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/6xxx/CVE-2018-6789.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-6789","state":"PUBLISHED","datePublished":"2018-02-08T23:00:00.000Z","dateUpdated":"2025-10-21T23:45:56.260Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-02-06T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://exim.org/static/doc/security/CVE-2018-6789.txt","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2018/02/07/2","name":"[oss-security] 20180207 CVE-2018-6789 Exim 4.90 and earlier: buffer overflow","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/3565-1/","name":"USN-3565-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://openwall.com/lists/oss-security/2018/02/10/2","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1040461","name":"1040461","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://www.debian.org/security/2018/dsa-4110","name":"DSA-4110","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.exploit-db.com/exploits/44571/","name":"44571","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/02/msg00009.html","name":"[debian-lts-announce] 20180210 [SECURITY] [DLA 1274-1] exim4 security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1","tags":["x_refsource_CONFIRM"]},{"url":"https://devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/103049","name":"103049","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.exploit-db.com/exploits/45671/","name":"45671","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-06-03T17:06:14.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-02-07T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-6789","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://exim.org/static/doc/security/CVE-2018-6789.txt","refsource":"CONFIRM","url":"https://exim.org/static/doc/security/CVE-2018-6789.txt"},{"name":"[oss-security] 20180207 CVE-2018-6789 Exim 4.90 and earlier: buffer overflow","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2018/02/07/2"},{"name":"USN-3565-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3565-1/"},{"name":"http://openwall.com/lists/oss-security/2018/02/10/2","refsource":"CONFIRM","url":"http://openwall.com/lists/oss-security/2018/02/10/2"},{"name":"1040461","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1040461"},{"name":"DSA-4110","refsource":"DEBIAN","url":"https://www.debian.org/security/2018/dsa-4110"},{"name":"44571","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/44571/"},{"name":"[debian-lts-announce] 20180210 [SECURITY] [DLA 1274-1] exim4 security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/02/msg00009.html"},{"name":"https://git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1","refsource":"CONFIRM","url":"https://git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1"},{"name":"https://devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/","refsource":"MISC","url":"https://devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/"},{"name":"103049","refsource":"BID","url":"http://www.securityfocus.com/bid/103049"},{"name":"45671","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/45671/"},{"name":"http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://exim.org/static/doc/security/CVE-2018-6789.txt","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2018/02/07/2","name":"[oss-security] 20180207 CVE-2018-6789 Exim 4.90 and earlier: buffer overflow","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://usn.ubuntu.com/3565-1/","name":"USN-3565-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2018/02/10/2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securitytracker.com/id/1040461","name":"1040461","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://www.debian.org/security/2018/dsa-4110","name":"DSA-4110","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/44571/","name":"44571","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/02/msg00009.html","name":"[debian-lts-announce] 20180210 [SECURITY] [DLA 1274-1] exim4 security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.securityfocus.com/bid/103049","name":"103049","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/45671/","name":"45671","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T06:10:11.343Z"}},{"title":"CISA ADP Vulnrichment","references":[{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-6789","tags":["government-resource"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2018-6789","role":"CISA Coordinator","options":[{"Exploitation":"active"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-02-07T14:03:40.827397Z"}}},{"other":{"type":"kev","content":{"dateAdded":"2021-11-03","reference":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-6789"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-120","lang":"en","type":"CWE","description":"CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-21T23:45:56.260Z"},"timeline":[{"time":"2021-11-03T00:00:00.000Z","lang":"en","value":"CVE-2018-6789 added to CISA KEV"}]}]}}}