CVE-2018-6789 · mitre
CVE-2018-6789
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.
Published 2018-02-08, last changed 2026-06-17. Weakness: CWE-120.
CISA KEV
Exim Buffer Overflow Vulnerability. Added 2021-11-03, federal due date 2022-05-03, ransomware use: Known.
Public exploits
| Source | Kind | Reference |
|---|---|---|
| exploit-db | proof-of-concept | EDB-44571 |
| exploit-db | proof-of-concept | EDB-45671 |
Where the flaw is in the code
Fixed in exim/exim by 062990cc1b. Functions changed by the fix: b64decode. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2018-02-08 | Published |
| 2021-11-03 | Added to CISA KEV: exploited in the wild |
| 2022-05-03 | CISA KEV due date for US federal agencies |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 82.1% |
| 2026-11-30 | Code-level analysis added |
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-106804 | 2026-11-02 | 7.5 | same weakness (CWE-120) from the same CNA (mitre) |
| CVE-2026-26846 | 2026-10-16 | 9.8 | same weakness (CWE-120) from the same CNA (mitre) |
| CVE-2026-95124 | 2026-10-13 | 7.5 | same weakness (CWE-120) from the same CNA (mitre) |
| CVE-2026-88409 | 2026-09-21 | 8.8 | same weakness (CWE-120) from the same CNA (mitre) |
| CVE-2023-24291 | 2026-09-14 | 2.9 | same weakness (CWE-120) from the same CNA (mitre) |
| CVE-2023-24287 | 2026-09-14 | 2.9 | same weakness (CWE-120) from the same CNA (mitre) |
| CVE-2023-24286 | 2026-09-14 | 2.9 | same weakness (CWE-120) from the same CNA (mitre) |
| CVE-2023-24285 | 2026-09-14 | 2.9 | same weakness (CWE-120) from the same CNA (mitre) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2018-6789, or call /api/v1/vulnerabilities/CVE-2018-6789. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.