Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2018-6789: An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1.

CriticalCVSS 9.8 · v3.1KEVWeaponized Fix available

Noroxi assessment

Priority: Now (action score 94/100)

  • CISA has confirmed exploitation in the wild (Nov 3, 2021); it is known to be used in ransomware campaigns. Remediation deadline for US federal agencies: May 3, 2022.
  • Probability of exploitation in the next 30 days: 82.1% (FIRST EPSS); higher than 99.6% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: exim (Alpine:v3.10) 4.90.1-r0; exim4 (Debian:12) 4.90.1-1; exim4 (Debian:7) 4.80-7+deb7u6.

Patch today or shut off access. Upgrade to exim (Alpine:v3.10) 4.90.1-r0; exim4 (Debian:12) 4.90.1-1; exim4 (Debian:7) 4.80-7+deb7u6 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · CISA KEV · FIRST EPSS

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
Feb 8, 2018
Updated
Jun 16, 2026
EPSS
82.1% · 99th percentile

Report tools

JSON

Action score

94

Now

Patch today or shut off access.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
30 / 30 · Listed
EPSS
25 / 30 · 82.1%

CISA SSVC decision

Exploitation
active
Automatable
yes
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

Actively exploited in the wild

CISA added this to its Known Exploited Vulnerabilities catalog on Nov 3, 2021. That signals real attacks, not theory.

Remediation deadline for US federal agencies: May 3, 2022.

Known to be used in ransomware campaigns.

Get told when this record changes

  • In CISA KEV: exploitation in the wild confirmed
  • Weaponized exploit exists
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2018-6789

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
eximexim
debiandebian linux
canonicalubuntu linux

Using exim? Add it to your stack and be the first to know about CVEs like this one. (Email server)

Watch new CVEs for exim

When you'll hear from us

  • when a new CVE affecting this product is published
  • when a record in your stack enters KEV or is weaponized

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • exim eximbefore 4.90.1

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10eximbefore 4.90.1-r04.90.1-r0
Debian:12exim4before 4.90.1-14.90.1-1
Debian:7exim4before 4.80-7+deb7u64.80-7+deb7u6
Debian:8exim4before 4.84.2-2+deb8u54.84.2-2+deb8u5
Debian:9exim4before 4.89-2+deb9u34.89-2+deb9u3
openSUSE:Leap 15.2eximbefore 4.94.2-lp152.8.3.14.94.2-lp152.8.3.1
openSUSE:Tumbleweedeximbefore 4.94.2-4.24.94.2-4.2
SUSE:Package Hub 15 SP1eximbefore 4.94.2-bp151.2.4.14.94.2-bp151.2.4.1
SUSE:Package Hub 15 SP1libspf2before 1.2.10-bp151.4.11.2.10-bp151.4.1
SUSE:Package Hub 15 SP2eximbefore 4.94.2-bp152.6.4.14.94.2-bp152.6.4.1
SUSE:Package Hub 15 SP2libspf2before 1.2.10-bp152.5.11.2.10-bp152.5.1

Same product

exim: all records

Other highest-scoring records for the same primary product.

  • CVE-2019-10149A flaw was found in Exim versions 4.87 to 4.91 (inclusive).KEV
    99Now
  • CVE-2010-4344Heap-based buffer overflow in the string_vformat function in string.c in Exim before 4.70 allows remote attackers to execute arbitrary code…KEV
    91Now
  • CVE-2019-16928Exim 4.92 through 4.92.2 allows remote code execution, a different vulnerability than CVE-2019-15846.KEV
    81Now

Published before and after this one in the same product

  • ← EarlierCVE-2017-16943Nov 25, 2017 · The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitrary code or cause a…
    53Plan
  • ← EarlierCVE-2017-16944Nov 25, 2017 · The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to cause a denial of service…
    49Plan
  • Later →CVE-2019-13917Jul 25, 2019 · Exim 4.85 through 4.92 (fixed in 4.92.1) allows remote code execution as root in some unusual configurations that use the ${sort }…
    42Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:exim4.90.1-r0 · Alpine:v3.10Package registry (OSV)
debian:exim44.90.1-1 · Debian:12Package registry (OSV)
opensuse:exim4.94.2-lp152.8.3.1 · openSUSE:Leap 15.2Package registry (OSV)
suse:exim4.94.2-bp151.2.4.1 · SUSE:Package Hub 15 SP1Package registry (OSV)
suse:libspf21.2.10-bp151.4.1 · SUSE:Package Hub 15 SP1Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Exploit-DB entry ×2
  • Proof-of-concept repository on GitHub ×5

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHub5 repositories2018-03-16 → 2023-08-05
Exploit-DB entryremote2018-10-24
Exploit-DB entryremote2018-05-02

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+35 d
  3. CISA KEV+1363 d
  4. TodayNov 13, 2026+3200 d

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

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

nvd-primary

Root cause

When data is copied, the source length is not compared with the size of the destination buffer. Excess data overwrites adjacent memory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
char buf[256];memcpy(buf, pkt->data, pkt->len);

Fixed

c
char buf[256];if (pkt->len > sizeof(buf)) {  return -EINVAL;}memcpy(buf, pkt->data, pkt->len);

References

All records