CVE-2019-12312 Null dereference in n/a
An attacker can cause a denial of service by triggering a NULL pointer dereference in the Libreswan IKE daemon, leading to a service restart.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-12312?
CVE-2019-12312 is a high-severity vulnerability in n/a, published on 24 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2019-12312?
It affects 1 product.
Products include Libreswan Libreswan.
How do I fix CVE-2019-12312?
Upgrade to a fixed version.
Is CVE-2019-12312 being exploited?
There is no known exploitation of CVE-2019-12312 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2013-7283 Race condition in n/a
- CVE-2026-12413 IKEv2 Denial of Service via malformed fragmentation
- CVE-2026-50721 IKEv1 Denial of Service via RSA-SHA1 (PKCS#1 Version 1.5 Encrypted) authentication payload
- CVE-2026-50722 IKEv2 Denial of Service via RSA-SHA1 (PKCS#1 RSASSA-PKCS1-v1_5) authentication payload
- CVE-2023-30570 Denial of service in n/a
Sources
Also known as DEBIAN-CVE-2019-12312, GHSA-mg44-55g8-hfpm.