CVE-2026-115846 PUBLISHED

IKEv2: IKE_INTERMEDIATE exchange bypass error

Assigner: libreswan
Reserved: 23.10.2026 Published: 16.11.2026 Updated: 16.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS Score: 3.7

Product Status

Vendor The Libreswan Project
Product libreswan
Versions Default: unaffected
  • affected from 5.4 to 5.4.1 (incl.)
  • Version 5.4.2 is unaffected

Workarounds

There is no workaround. Apply the patch or upgrade to version 5.4.2 or later.

Solutions

Upgrade to libreswan 5.4.2 or later. Patches are available at https://libreswan.org/security/CVE-2026-115846/

Credits

  • Astrid Passot finder

References

Problem Types

  • CWE-757: Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade') CWE
  • CWE-841: Improper Enforcement of Behavioral Workflow CWE

Impacts

  • Downgrade of a PostQuantum hybrid key exchange to a classic-only key exchange by skipping the IKE_INTERMEDIATE exchange