Skip to main content
CVE Radar
CISA KEVRansomwarecriticalMemory Corruptionpublic exploit

CVE-2018-6789

CVE-2018-6789 — Exim Buffer Overflow Vulnerability

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 Updated Sources: NVD, CISA, FIRST EPSS, SOCRadar CTI

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Confirmed

CISA KEV, listed Nov 3, 2021

EPSS

82%

ahead of 99.8% of scored CVEs

Affects

Exim

3 products listed

CVSS base

9.8

critical · 2 sources

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

Active

none · proof-of-concept · active

Automatable

Yes

can an attacker script all four kill-chain steps

Technical impact

Total

partial · total control of the vulnerable component

Remediation

The vendor's own words where we have them.

Upgrade Exim to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.

CISA required action

Apply updates per vendor instructions.

Federal deadline May 3, 2022 — passed 1,676 days ago

First 24 hours

Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.

  • Identify exposed assets running affected vendor/product/version combinations.
  • Treat as emergency remediation because CISA KEV status is present.
  • Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.

Affected scope

Vendor, product and version as the advisories word them.

Affected vendors, products and versions
VendorProductVersionsStatus
Eximeximn/aVulnerable
Canonicalubuntu linux14.04Vulnerable
Debiandebian linux7.0Vulnerable

Attack characteristics

The CVSS vector, decoded. It describes the attack, not your exposure to it.

Availability

High

Confidentiality

High

Integrity

High

Scope

Unchanged

Attack Complexity

Low

Attack Vector

Network

Privileges Req

None

User Interaction

None

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
9.8CVSS 3.1critical3.95.9NVD, CNA
7.5CVSS 2.0high106.4NVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What this weakness leads to

MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.

MITRE

CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • Modify Memory
  • Execute Unauthorized Code or Commands
  • DoS: Crash, Exit, or Restart
  • DoS: Resource Consumption (CPU)

Mitigation: Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.

CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer

  • Execute Unauthorized Code or Commands
  • Modify Memory
  • Read Memory
  • DoS: Crash, Exit, or Restart

Mitigation: Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.

Weakness & attack patterns

  • CWE-120Classic Buffer Overflow

Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.

CAPEC-100 · Overflow BuffersCAPEC-8 · Buffer Overflow in an API CallCAPEC-92 · Forced Integer OverflowCAPEC-67 · String Format Overflow in syslog()CAPEC-24 · Filter Failure through Buffer OverflowCAPEC-10 · Buffer Overflow via Environment VariablesCAPEC-47 · Buffer Overflow via Parameter ExpansionCAPEC-44 · Overflow Binary Resource FileCAPEC-42 · MIME ConversionCAPEC-14 · Client-side Injection-induced Buffer OverflowCAPEC-9 · Buffer Overflow in Local Command-Line UtilitiesCAPEC-45 · Buffer Overflow via Symbolic Links

CISA KEV details

CISA lists a CVE here once it has evidence of exploitation against real targets.

Listed

Nov 3, 2021

Federal deadline

May 3, 2022

passed 1,676 days ago

Ransomware use

Known

CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.

Public exploit

Capability, not use: code existing is a different claim from anyone running it.

PoC repos

15

1 of the 5 sampled are weaponized

Exploit entries

13

Exploit-DB and CTI exploit indexes

Social mentions

Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.

Detection

Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.

  • Prioritize edge telemetry for network-reachable Exim, Ubuntu Linux, Debian Linux.
  • Monitor for scanner or exploit-pattern traffic after 28 public PoC repositories were reported.
web/proxy/WAF logsapplication logsnetwork IDS/IPS

Groups associated with this CVE

Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.

KinsingTeamTNTAPT Iran
  • ip185.86.78.6182

    Public Attackers · Nov 11, 2026

  • ip188.143.232.129

    Zonefiles · Aug 26, 2020

  • ip178.128.21.5756

    Zonefiles · Sep 28, 2020

  • ip165.232.102.20051

    Blocklist.de-Firehol-iMAP · Sep 25, 2024

  • ip207.180.202.21491

    AbuseIPDB Hourly Update · Oct 20, 2026

SOCRadar5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock free

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Added · CVSS 3.1 9.8 (AV:N)

    Jun 17, 2026 · NVD

  3. 2025
  4. Bulletin released on NIST.

    Oct 16, 2025 · SOCRadar CTI

  5. Bulletin released on NIST.

    Oct 16, 2025 · SOCRadar CTI

  6. Bulletin released on Mitre.

    Jul 28, 2025 · SOCRadar CTI

  7. Bulletin released on NIST.

    Jan 28, 2025 · SOCRadar CTI

  8. 2024
  9. Bulletin released on NIST.

    Jul 25, 2024 · SOCRadar CTI

  10. 2023
  11. CVE is exploited. "Ostorlab/KEV"

    Dec 26, 2023 · SOCRadar CTI

  12. CVE is exploited. "0xT11/CVE-POC"

    Dec 15, 2023 · SOCRadar CTI

  13. CVE is exploited. "ARPSyndicate/cvemon"

    Dec 15, 2023 · SOCRadar CTI

  14. CVE is exploited. "Ostorlab/known_exploited_vulnerbilities_detectors"

    Dec 15, 2023 · SOCRadar CTI

  15. CVE is exploited. "c0llision/exim-vuln-poc"

    Dec 15, 2023 · SOCRadar CTI

  16. CVE is exploited. "hectorgie/PoC-in-GitHub"

    Dec 15, 2023 · SOCRadar CTI

  17. CVE is exploited. "martinclauss/exim-rce-cve-2018-6789"

    Dec 15, 2023 · SOCRadar CTI

  18. CVE is exploited. "qazbnm456/awesome-cve-poc"

    Dec 15, 2023 · SOCRadar CTI

  19. CVE is exploited. "synacktiv/Exim-CVE-2018-6789"

    Dec 15, 2023 · SOCRadar CTI

  20. CVE is exploited. "xbl3/awesome-cve-poc_qazbnm456"

    Dec 15, 2023 · SOCRadar CTI

  21. 2021
  22. Added to CISA KEV catalog

    Nov 3, 2021 · CISA

  23. 2018
  24. Initial · CVE published

    Feb 8, 2018 · NVD

Source activity

Readings a source repeats on a schedule, counted rather than listed.

  • 5×SvrsAug 10, 2023 – Jan 7, 2026 · SOCRadar CTI
  • 4×ModifiedJul 25, 2024 – Feb 7, 2025 · SOCRadar CTI
  • 2×TweetsFeb 7, 2023 – Dec 16, 2025 · SOCRadar CTI
  • 2×Github ReposApr 21, 2023 – Aug 5, 2023 · SOCRadar CTI

References

15 on the record

Coverage

1 story from the feeds we poll

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1

What should defenders know first?

CVE-2018-6789 is Exim Buffer Overflow Vulnerability, a critical vulnerability affecting Exim, Ubuntu Linux, Debian Linux from Exim, Canonical, Debian. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 28 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 82% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.