# CVE-2018-5389: CVE-2018-5389

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-09-06 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-5389, DEBIAN-CVE-2018-5389
- Record: https://cvemate.com/vulnerability/CVE-2018-5389 · JSON: https://cvemate.com/vulnerability/CVE-2018-5389/json

## Description

```text
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 vulnerability could allow an attacker to recover a weak Pre-Shared Key or enable the impersonation of a victim host or network.
```

## Signals

- CVSS: 5.9 medium (v3.0, NVD) CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 3.09%, percentile 88.133%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian libreswan (Debian): All versions (No fix recorded)
- debian strongswan (Debian): All versions (No fix recorded)
- ubuntu ipsec-tools (Ubuntu): All versions (No fix recorded)
- ubuntu isakmpd (Ubuntu): All versions (No fix recorded)
- ubuntu libreswan (Ubuntu): All versions (No fix recorded)
- ubuntu strongswan (Ubuntu): All versions (No fix recorded)
- ietf internet\_key\_exchange: 1.0
- strongswan strongswan: 5.5.1

## References

- <https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-felsch.pdf>
- <https://www.kb.cert.org/vuls/id/857035>
- <https://web-in-security.blogspot.com/2018/08/practical-dictionary-attack-on-ipsec-ike.html>
- <https://blogs.cisco.com/security/great-cipher-but-where-did-you-get-that-key>
- <https://my.f5.com/manage/s/article/K42378447>
- <https://ubuntu.com/security/CVE-2018-5389>
- <https://www.usenix.org/conference/usenixsecurity18/presentation/felsch>
- <https://www.usenix.org/sites/default/files/conference/protected-files/security18_slides_felsch.pdf>
- <https://www.cve.org/CVERecord?id=CVE-2018-5389>
- <https://security-tracker.debian.org/tracker/CVE-2018-5389>

---

Data as of 2026-12-05T04:46:48.314Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
