PostQuantum Algorithm Vulnerability in Libreswan IKEv2 by Libreswan
CVE-2026-115846
What is CVE-2026-115846?
In Libreswan's IKEv2 implementation, a flaw exists in the state machine that fails to require an IKE_INTERMEDIATE exchange when using the addke= PostQuantum algorithm. This misconfiguration allows a malicious client, or one with implementation issues, to bypass this essential step and prematurely initiate an IKE_AUTH exchange. Consequently, connections may lack the enhanced security intended by the addke= parameter, relying instead on traditional key exchange methods like P-256 or Curve25519, thus increasing vulnerability to potential future quantum computing attacks. Notably, only those connections configured to use the addke= option are impacted, intensifying the need for proper setup in version 5.4 and later.
Affected Version(s)
libreswan 5.4 <= 5.4.1
libreswan 5.4.2
