Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2018-5389: The Internet Key Exchange v1 main mode is vulnerable to offline dictionary or brute force attacks

53
This week
MEDIUM 5.9REMOTEDOWNGRADE

CVE-2018-5389 is a medium-severity flaw (CVSS 5.9) affecting internet key exchange. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

The Internet Key Exchange v1 main mode is vulnerable to offline dictionary or brute force attacks. Reusing a key pair across different versions and modes of IKE could lead to cross-protocol authentication bypasses. It is well known, that the aggressive mode of IKEv1 PSK is vulnerable to offline dictionary or brute force attacks. For the main mode, however, only an online attack against PSK authentication was thought to be feasible. This vulnerabi

Why this priority

  • Public exploit reference
  • Remotely exploitable, no login, no user action

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score5.9 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance3.1% (top 12%)
CISA exploited listNo
WeaknessCWE-521
Published2018-09-06
Last modified2026-06-17
Publisher (CNA): CERT/CC · Vendor: ietf

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ietf internet key exchange DOWNGRADE
Affected: 1.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 1.0
1. Check installed version
apt-cache policy internet-key-exchange || rpm -q internet-key-exchange || internet-key-exchange --version
2. No fixed release: DOWNGRADE to a release before 1.0 (Debian / Ubuntu)
apt-cache madison internet-key-exchange sudo apt install internet-key-exchange=<VERSION_BEFORE_1.0> sudo apt-mark hold internet-key-exchange
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list internet-key-exchange sudo dnf downgrade internet-key-exchange-<VERSION_BEFORE_1.0> sudo dnf versionlock add internet-key-exchange
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2018-5389?

internet key exchange: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2018-5389 being exploited?

CVE-2018-5389 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2018-5389 affect?

CVE-2018-5389 affects internet key exchange. Severity is medium (CVSS 5.9). The Internet Key Exchange v1 main mode is vulnerable to offline dictionary or brute force attacks. Reusing a key pair across different versions and modes of IKE could lead to cross-protocol authentication bypasses. It is well known, that th

How urgent is CVE-2018-5389?

Priority 53/100. Public exploit reference; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.