CVE-2019-12312: Libreswan
High severity, CVSS 7.5. EPSS: 2.7% chance of exploitation in the next 30 days.
In Libreswan 3.27 an assertion failure can lead to a pluto IKE daemon restart. An attacker can trigger a NULL pointer dereference by initiating an IKEv2 IKE_SA_INIT exchange, followed by a bogus INFORMATIONAL exchange instead of the normallly expected IKE_AUTH exchange. This affects send_v2N_spi_response_from_state() in programs/pluto/ikev2_send.c that will then trigger a NULL pointer dereference leading to a restart of libreswan.
Affected products
- Libreswan Libreswan: before 3.28 (fixed in 3.28)
Published 2019-05-24. Last modified 2026-06-17.