CVE-2019-12312Libreswan
High 7.5 No auth needed
Follow: this CVE · Libreswan · Libreswan We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- May 24, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Libreswan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libreswan | libreswan | < 3.28 |
Official sources
References
Links published by the sources. Open them with care.
- www.iwantacve.cn Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- libreswan.org
- libreswan.org