Skip to content
Noroxi
CVE-2018-6789· NVD / CVE Program· CNA mitre

An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1.

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.

CriticalCVSS 9.8 · v3.1KEVWeaponized Fix available
Published
Feb 8, 2018
Updated
Jun 16, 2026
EPSS
82.1% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

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 government agencies: May 3, 2022.

Known to be used in ransomware campaigns.

Affected systems

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)

Add to my stack

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
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
  • CVE-2010-4345Exim 4.72 and earlier allows local users to gain privileges by leveraging the ability of the exim user account to specify an alternate confiKEV
    66This week
  • CVE-2025-26794Exim 4.98 before 4.98.1, when SQLite hints and ETRN serialization are used, allows remote SQL injection.
    62This week
  • CVE-2020-28018Exim 4 before 4.94.2 allows Use After Free in smtp_reset in certain situations that may be common for builds with OpenSSL.
    56Plan

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
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
Exploit-DB entryremote2018-10-24
Exploit-DB entryremote2018-05-02
Proof-of-concept repository on GitHubstars:02018-03-16
Proof-of-concept repository on GitHubstars:32018-11-08
Proof-of-concept repository on GitHubstars:102019-10-10
Proof-of-concept repository on GitHubstars:112020-03-02
Proof-of-concept repository on GitHubstars:22023-08-05

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. TodaySep 29, 2026+3155 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

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

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

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);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records