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.
{
"unresolved_ranges": [
{
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "14.04"
}
]
},
{
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "16.04"
}
]
},
{
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "17.10"
}
]
},
{
"cpe": "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "7.0"
}
]
},
{
"cpe": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "8.0"
}
]
},
{
"cpe": "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "9.0"
}
]
}
]
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-6789.json"
"2026-04-11T21:33:04Z"
[
{
"signature_type": "Line",
"id": "CVE-2018-6789-73a6114c",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"122224066439306498454973631177314728388",
"210469213499539750685364841753279363702",
"310130664126710556834765260497258691414",
"6805203262403384879653734729276640848",
"305471110171980478227503339989024839730",
"96132330816761905364820075878497895364",
"67183745914449294531187667849448072066"
],
"threshold": 0.9
},
"target": {
"file": "src/src/base64.c"
},
"source": "https://github.com/exim/exim/commit/062990cc1b2f9e5d82a413b53c8f0569075de700"
},
{
"signature_type": "Function",
"id": "CVE-2018-6789-ab775a72",
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "277874649775681361413437847669575739043",
"length": 1076.0
},
"target": {
"file": "src/src/base64.c",
"function": "b64decode"
},
"source": "https://github.com/exim/exim/commit/062990cc1b2f9e5d82a413b53c8f0569075de700"
}
]