IKE_INTERMEDIATE bypass in Libreswan IKEv2 weakens post-quantum key exchange
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Libreswan versions from 5.4 through 5.4.1 do not verify that an IKE_INTERMEDIATE exchange is completed when the addke= PostQuantum algorithm is configured. A remote client can skip that exchange and start IKE_AUTH early, so the connection falls back to classic key exchange only (CWE-757). Connections with addke= in the ike= or esp= options are affected, and an attacker who records this traffic could later decrypt it once a quantum computer is available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-17
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| The Libreswan Project | libreswan | 5.4 – 5.4.1 | 5.4.2 | Patch available | CNA |
- libreswan VendorThe Libreswan Project Affected 5.4 – 5.4.1 Fixed in 5.4.2 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:* | — | — | The Libreswan Project |
- cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:* Versions — — ·The Libreswan Project
Remediation
Upgrade libreswan to version 5.4.2, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-17
- Fix · CNA libreswan (The Libreswan Project) Fixed in 5.4.2
Timeline
- 2026-11-16 Threatist record created from CVE-2026-115846
- 2026-11-17 Alias added: GHSA-cmwp-vq46-rxqr
References
More The Libreswan Project vulnerabilities
- TI-2023-09114 Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and… CVSS 3.1MEDIUM 6.5
- TI-2013-05949 Race condition in the libreswan.spec files for Red Hat Enterprise Linux (RHEL) and Fedora… CVSS 2.0HIGH 9.3
- TI-2023-02152 Uncontrolled resource consumption in libreswan CVSS 3.1HIGH 7.5
- TI-2026-37395 IKEv2 Denial of Service via RSA-SHA1 (PKCS#1 RSASSA-PKCS1-v1_5) authentication payload CVSS 3.1HIGH 8.1
- TI-2026-37394 IKEv1 Denial of Service via RSA-SHA1 (PKCS#1 Version 1.5 Encrypted) authentication payload CVSS 3.1HIGH 8.1
- TI-2023-14401 pluto in Libreswan before 4.11 allows a denial of service (responder SPI mishandling and… CVSS 3.1HIGH 7.5
Sources
- CVE-2026-115846 · CVE Program
- CVE-2026-115846 · NVD
- GHSA-cmwp-vq46-rxqr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences