CVE-2018-5389: The Internet Key Exchange v1 main mode is vulnerable to offline dictionary or brute force attacks
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 score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.1% (top 12%) |
| CISA exploited list | No |
| Weakness | CWE-521 |
| Published | 2018-09-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
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
- CVE-2006-2298 MEDIUM 5.0 DOWNGRADE The Internet Key Exchange version 1 (IKEv1) implementation in the libike library in Solaris 9 and 10 allows re
- CVE-2006-1646 MEDIUM 5.0 DOWNGRADE The Internet Key Exchange version 1 (IKEv1) implementation (isakmp_agg.c) in the Shoichi Sakane KAME Project r
- CVE-2005-3668 MEDIUM 5.0 DOWNGRADE Multiple buffer overflows in multiple unspecified implementations of Internet Key Exchange version 1 (IKEv1) h
- CVE-2005-3667 MEDIUM 5.0 DOWNGRADE Multiple unspecified vulnerabilities in multiple unspecified implementations of Internet Key Exchange version
- CVE-2005-3666 HIGH 10.0 DOWNGRADE Multiple unspecified format string vulnerabilities in multiple unspecified implementations of Internet Key Exc