Affected versions
Ubuntu18.04:LTS/libreswan
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu20.04:LTS/libreswan
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu22.04:LTS/libreswan
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/libreswan
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/libreswan
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/libreswan
- Affected versions
- *
- Fixed version
- Not reported
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.

