Description
The Libreswan IKEv2 state machine did not verify that an IKE_INTERMEDIATE exchange was required to satisfy the addke= PostQuantum algorithm component of the exchange. A connecting client could (maliciously or by implementation error) skip the IKE_INTERMEDIATE exchange and start an IKE_AUTH exchange prematurely. The result is as if the addke= option had not been specified, and such connections are only protected by the classic key exchange algorithm (such as P-256 or Curve25519), allowing "store now, decrypt later" attacks once a quantum computer becomes available. Only connections with the addke= keyword in the ike= and/or esp= configuration option are affected. PostQuantum Hybrid Key Exchange support was added in version 5.4.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The Libreswan Project | libreswan | 5.4 – ≤ 5.4.1 | 5.4.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libreswan | No fix yet | — |
| Ubuntu 26.04 LTS | libreswan | No fix yet | — |
| Ubuntu 24.04 LTS | libreswan | No fix yet | — |
| Ubuntu 22.04 LTS | libreswan | No fix yet | — |
| Ubuntu 20.04 LTS | libreswan | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libreswan | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | libreswan +1 | 5.4.2-1.0.1.el10_3 | ELSA-2026-104955 |
Advisories 2
- WID-SEC-2026-4896 Red Hat Enterprise Linux (perl-Net-DNS, libmodulemd, json-glib, libreswan, idna): Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 1, 2026
- ELSA-2026-104955 Moderate: libreswan security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Dec 1, 2026
References
- Libreswan Security Advisory CVE-2026-115846 vendor-advisory
- Libreswan CVE-2026-115846 Patches patch