{"api_version":"1","generated_at":"2026-04-18T17:36:45+00:00","cve":"CVE-2018-6789","urls":{"html":"https://cve.report/CVE-2018-6789","api":"https://cve.report/api/cve/CVE-2018-6789.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-6789","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-6789"},"summary":{"title":"CVE-2018-6789","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2018-02-08 23:29:00","updated_at":"2021-06-03 18:15:00"},"problem_types":["CWE-119"],"metrics":[],"references":[{"url":"http://openwall.com/lists/oss-security/2018/02/10/2","name":"http://openwall.com/lists/oss-security/2018/02/10/2","refsource":"CONFIRM","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Exim 4.90.1 released. (Was: CVE-2018-6789 Exim 4.90 and earlier:\n buffer overflow)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2018/02/msg00009.html","name":"[debian-lts-announce] 20180210 [SECURITY] [DLA 1274-1] exim4 security update","refsource":"MLIST","tags":["Mailing List","Third Party Advisory"],"title":"[SECURITY] [DLA 1274-1] exim4 security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html","name":"http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html","refsource":"MISC","tags":[],"title":"Exim base64d Buffer Overflow ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.securityfocus.com/bid/103049","name":"103049","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Exim 'base64d()' Function Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"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","refsource":"MLIST","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - CVE-2018-6789 Exim 4.90 and earlier: buffer overflow","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securitytracker.com/id/1040461","name":"1040461","refsource":"SECTRACK","tags":["Third Party Advisory","VDB Entry"],"title":"Exim Buffer Overflow in base64d() Lets Remote Users Execute Arbitrary Code - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/3565-1/","name":"USN-3565-1","refsource":"UBUNTU","tags":["Third Party Advisory"],"title":"USN-3565-1: Exim vulnerability | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/","name":"https://devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/","refsource":"MISC","tags":["Technical Description","Third Party Advisory"],"title":"Exim Off-by-one RCE: Exploiting CVE-2018-6789 with Fully Mitigations Bypassing | DEVCORE","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1","name":"https://git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1","refsource":"CONFIRM","tags":["Patch","Vendor Advisory"],"title":"git.exim.org Git - exim.git/commit","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/45671/","name":"45671","refsource":"EXPLOIT-DB","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"exim 4.90 - Remote Code Execution - Linux remote Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/44571/","name":"44571","refsource":"EXPLOIT-DB","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"Exim < 4.90.1 - 'base64d' Remote Code Execution - Linux remote Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.debian.org/security/2018/dsa-4110","name":"DSA-4110","refsource":"DEBIAN","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-4110-1 exim4","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exim.org/static/doc/security/CVE-2018-6789.txt","name":"https://exim.org/static/doc/security/CVE-2018-6789.txt","refsource":"CONFIRM","tags":["Vendor Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6789","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6789","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"16.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"17.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"16.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"17.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"exim","cpe5":"exim","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6789","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"exim","cpe5":"exim","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":{"cve_year":"2018","cve_id":"6789","cve":"CVE-2018-6789","vendorProject":"Exim","product":"Exim","vulnerabilityName":"Exim Buffer Overflow Vulnerability","dateAdded":"2021-11-03","shortDescription":"Exim contains a buffer overflow vulnerability in the base64d function part of the SMTP listener that may allow for remote code execution.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Known","notes":"https://nvd.nist.gov/vuln/detail/CVE-2018-6789","cwes":"CWE-119","catalogVersion":"2026.04.16","updated_at":"2026-04-16 13:54:09"},"epss":{"cve_year":"2018","cve_id":"6789","cve":"CVE-2018-6789","epss":"0.864390000","percentile":"0.994130000","score_date":"2026-04-17","updated_at":"2026-04-18 00:07:17"},"legacy_qids":[{"cve":"CVE-2018-6789","qid":"500887","title":"Alpine Linux Security Update for exim"},{"cve":"CVE-2018-6789","qid":"504720","title":"Alpine Linux Security Update for exim"},{"cve":"CVE-2018-6789","qid":"710286","title":"Gentoo Linux Exim Multiple Vulnerabilities (GLSA 201803-01)"},{"cve":"CVE-2018-6789","qid":"750227","title":"OpenSUSE Security Update for exim (openSUSE-SU-2021:0677-1)"}]},"source_records":{"cve_program":{"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/"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html","url":"http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html"}]}},"nvd":{"publishedDate":"2018-02-08 23:29:00","lastModifiedDate":"2021-06-03 18:15:00","problem_types":["CWE-119"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:*","versionEndExcluding":"4.90.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"6789","Ordinal":"122998","Title":"CVE-2018-6789","CVE":"CVE-2018-6789","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"6789","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"6789","Ordinal":"2","NoteData":"2018-02-08","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"6789","Ordinal":"3","NoteData":"2021-06-03","Type":"Other","Title":"Modified"}]}}}