Live threats

All CVEs / Libreswan

CVE-2019-12312Libreswan

High 7.5 No auth needed

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
Weakness (CWE)
CWE-476, CWE-617
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libreswan.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libreswanlibreswan< 3.28

Official sources

References

Links published by the sources. Open them with care.